Commit Graph
425 Commits
Author SHA1 Message Date
hai007 00a2999269 Format all the files in CL786733783
PiperOrigin-RevId: 786873870
2025-07-24 16:25:18 -07:00
hai007 71cdf84236 Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
hai007 7480977c58 Automated Code Change
PiperOrigin-RevId: 786349659
2025-07-23 11:07:56 -07:00
Guogang Li bddc6b4309 Removing to use MSG_WAITALL
PiperOrigin-RevId: 783827297
2025-07-16 11:17:25 -07:00
Guogang Li 2e94870593 Cleanup unused files
PiperOrigin-RevId: 783094630
2025-07-14 16:59:26 -07:00
Guogang Li f2f95ef48c Add more test cases to windows utils
PiperOrigin-RevId: 781235840
2025-07-09 15:32:37 -07:00
Guogang Li 8f14bd10fc Update WinRT to new version 2.0.250303.1
PiperOrigin-RevId: 781075193
2025-07-09 08:58:00 -07:00
Guogang Li 4d8a018b0e Add more unit test for thread pool
PiperOrigin-RevId: 780348093
2025-07-07 18:57:22 -07:00
Guogang Li b8246abbe4 Fixed the potential advertising issue in Wi-Fi LAN
PiperOrigin-RevId: 774961389
2025-06-23 16:05:39 -07:00
hai007 3f8e7774c2 Automated Code Change
PiperOrigin-RevId: 770709504
2025-06-12 10:23:57 -07:00
Francis Tsui 56d7ca1c2e Remove unnecessary conversion from FilePath to string.
PiperOrigin-RevId: 768137824
2025-06-06 10:53:33 -07:00
Guogang Li 18bfd5dffa Update illegal characters in file name for Windows
PiperOrigin-RevId: 767794731
2025-06-05 15:43:27 -07:00
Francis Tsui 703c0fd2b5 Remove std::filesystem from third_party/nearby.
PiperOrigin-RevId: 764953786
2025-05-29 17:42:05 -07:00
Francis Tsui 09cdc14fb6 Fix files.cc.
PiperOrigin-RevId: 764926334
2025-05-29 16:17:09 -07:00
Francis Tsui 96a274a58f Ban use of std::filesystem from nearby/sharing.
PiperOrigin-RevId: 762119139
2025-05-22 14:09:49 -07:00
Guogang Li e822493662 Fixed file issue when user name includes unicode
PiperOrigin-RevId: 761710897
2025-05-21 16:22:02 -07:00
Francis Tsui eec16048f4 Fix handling of unicode paths in preferences_repository.
PiperOrigin-RevId: 761661104
2025-05-21 14:05:21 -07:00
Francis Tsui 151ba03d0f Create nearby::FilePath class to replace use of std::filesystem::path.
- Replace filesystem::path in DeviceInfo.

PiperOrigin-RevId: 761224912
2025-05-20 14:12:07 -07:00
Francis Tsui 1f46e33a7a Stop maintaining a peripheral map in Windows BLE medium.
PiperOrigin-RevId: 757925397
2025-05-12 15:01:18 -07:00
Francis Tsui b48b943275 Remove reference to BlePeripheral.
PiperOrigin-RevId: 757830081
2025-05-12 10:55:38 -07:00
Francis Tsui acc5f1b0d8 Remove BlePeripheral reference from BleSocket.
PiperOrigin-RevId: 757797557
2025-05-12 09:38:22 -07:00
Francis Tsui 16839afa18 Switch Connect() to use BlePeripheral::UniqueId.
PiperOrigin-RevId: 756821680
2025-05-09 10:36:24 -07:00
Francis Tsui 99458be820 Change ConnectToGattServer to take BlePeripheral::UniqueId.
PiperOrigin-RevId: 756498100
2025-05-08 16:10:04 -07:00
Francis Tsui 59e527dbe3 Remove unused methods.
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -07:00
Francis Tsui 4beed5b72a Remove unused method.
PiperOrigin-RevId: 756045245
2025-05-07 16:11:41 -07:00
Francis Tsui 866b3fa9e1 Make api::ble_v2::BlePeripheral into a concrete class.
PiperOrigin-RevId: 753745108
2025-05-01 15:11:08 -07:00
Francis Tsui 541bffc858 Cleanup BLEv2Medium
PiperOrigin-RevId: 753288576
2025-04-30 13:24:55 -07:00
Francis Tsui 467e64c812 Deprecate mac address manipulation functions in favor or MacAddress class.
PiperOrigin-RevId: 752952529
2025-04-29 17:59:57 -07:00
Francis Tsui 83ec6bcece Create MacAddress class for MAC address manipulation.
PiperOrigin-RevId: 752503841
2025-04-28 17:22:45 -07:00
hai007 0e79a06bd8 Automated Code Change
PiperOrigin-RevId: 752263247
2025-04-28 05:09:29 -07:00
Francis Tsui 1c27910064 Cleanup
PiperOrigin-RevId: 749148733
2025-04-18 14:30:46 -07:00
Guogang Li e047aeb341 Handle failure to stop mDNS
PiperOrigin-RevId: 748865989
2025-04-17 17:36:13 -07:00
Francis Tsui ce71a47291 internal changes
PiperOrigin-RevId: 748852719
2025-04-17 16:42:12 -07:00
Guogang Li eeedf9f9c4 Cleanup platform flag
PiperOrigin-RevId: 748062326
2025-04-15 16:18:43 -07:00
Guogang Li 8270e0548c Cleanup platform flag
PiperOrigin-RevId: 748043641
2025-04-15 15:22:10 -07:00
Guogang Li addb71ddfa Fix medium enable/disable issue during advertising
PiperOrigin-RevId: 747593380
2025-04-14 15:35:23 -07:00
Guogang Li 681284c576 Cleanup enable_wifi_hotspot_native flag
PiperOrigin-RevId: 747546014
2025-04-14 13:30:38 -07:00
Guogang Li 380154d0ba Properly release objects when stopping BTC advertising.
PiperOrigin-RevId: 746593323
2025-04-11 14:35:04 -07:00
hai007 190bb141cc Implement AWDL in connection layer (part 1)
PiperOrigin-RevId: 742925127
2025-04-01 19:11:20 -07:00
Guogang Li a36f3dd52e Refactor thread pool
PiperOrigin-RevId: 742919232
2025-04-01 18:53:13 -07:00
Guogang Li 9e23624fba Run scheduled executor callback on executor thread
PiperOrigin-RevId: 738998896
2025-03-20 17:51:16 -07:00
Guogang Li cc4a13ac26 Fix the bug to stop scanning when adapter is disabled
PiperOrigin-RevId: 738949740
2025-03-20 14:54:48 -07:00
Francis Tsui 1750168761 Cleanup enable_task_scheduler flag.
PiperOrigin-RevId: 738938572
2025-03-20 14:21:05 -07:00
Francis Tsui 528ae4c4e2 Fix infinite loop if GATT server fails to start initially.
PiperOrigin-RevId: 736972233
2025-03-14 13:43:45 -07:00
Guogang Li f168d0c91b Call deferal complete when characteristic_data
PiperOrigin-RevId: 736669127
2025-03-13 16:03:18 -07:00
Guogang Li e59e94655a Fixed a crash in blocking socket
PiperOrigin-RevId: 736274234
2025-03-12 14:49:44 -07:00
Francis Tsui b62b56c75e Move Bluetooth UUID16 conversion into Uuid class.
PiperOrigin-RevId: 735496175
2025-03-10 13:41:37 -07:00
Francis Tsui e3302b720b Improve Gatt advertising reliability.
PiperOrigin-RevId: 734925395
2025-03-08 11:03:31 -08:00
Francis Tsui 7e758061ac Allow setting of alternate service UUID on StartDiscovery.
PiperOrigin-RevId: 733850300
2025-03-05 13:34:29 -08:00
Francis Tsui 5322b66b8e Add support for alternate BLE service uuid.
PiperOrigin-RevId: 733821780
2025-03-05 12:08:33 -08:00