Commit Graph
387 Commits
Author SHA1 Message Date
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
Francis Tsui 8d9d310a07 Refactor BleAdvertisementWatcher.
PiperOrigin-RevId: 732976572
2025-03-03 10:39:48 -08:00
hai007 97690c6996 [cpp23] Remove usage of std::aligned_storage in nearby
Deprecated in C++23. Details in https://crbug.com/388068052.

PiperOrigin-RevId: 722745132
2025-02-03 12:02:21 -08:00
Guogang Li 0575cbd155 Make sure got IP from hotspot
PiperOrigin-RevId: 721907499
2025-01-31 14:39:59 -08:00
Francis Tsui 79b99ae0a9 Fix build breakage from toolchain option changes.
PiperOrigin-RevId: 721433123
2025-01-30 10:15:29 -08:00
Guogang Li b0be56bec8 Support blocking socket in Wi-Fi hotspot medium
PiperOrigin-RevId: 718006644
2025-01-21 11:42:56 -08:00
Guogang Li 4b8ea5db74 Support blocking socket in Wi-Fi LAN medium
PiperOrigin-RevId: 717979860
2025-01-21 10:40:00 -08:00
Guogang Li 5bceb997c8 Fixed the transfer speed issue from Android to Windows
PiperOrigin-RevId: 716297509
2025-01-16 10:55:32 -08:00
Guogang Li 07db16d351 blocking socket implementation
PiperOrigin-RevId: 715617508
2025-01-14 19:40:36 -08:00
Francis Tsui 912d12b101 Remove file flush.
PiperOrigin-RevId: 715239362
2025-01-13 22:32:39 -08:00
Guogang Li 877a2d3e5b Register MDNS service using Win32 API
PiperOrigin-RevId: 714283635
2025-01-10 17:38:50 -08:00
Guogang Li 694a722d2c Keep existing Wi-Fi hotspot device when having new connection comes in
PiperOrigin-RevId: 714130787
2025-01-10 12:09:02 -08:00
hai007 f64004643f Automated Code Change
PiperOrigin-RevId: 713912995
2025-01-09 22:06:50 -08:00
Janusz Sobczak 949c035446 Clean up build rules
PiperOrigin-RevId: 712669082
2025-01-06 15:02:15 -08:00
Janusz Sobczak f9292be707 Remove unused fastpair C++ implementation to streamline the codebase
PiperOrigin-RevId: 712639309
2025-01-06 13:26:55 -08:00
Guogang Li e907d82d9d Handle socket error when sending data
PiperOrigin-RevId: 706886939
2024-12-16 17:25:29 -08:00
Guogang Li 7a6e0b325f Internal bug fix
PiperOrigin-RevId: 706787229
2024-12-16 12:06:14 -08:00
Francis Tsui eae28d3a45 Increase socket send buffer size.
PiperOrigin-RevId: 705225169
2024-12-11 13:46:31 -08:00
Guogang Li 0d05883b76 Internal refactor
PiperOrigin-RevId: 705210963
2024-12-11 13:08:18 -08:00
Guogang Li 8979083e31 internal bug fix
PiperOrigin-RevId: 704819636
2024-12-10 13:16:13 -08:00
Guogang Li 0a69343ca1 Support Wi-Fi hotspot client using native API
PiperOrigin-RevId: 703131016
2024-12-05 08:56:06 -08:00
Nick Bourdakos 3caae8d58d Remove compatible_with from Bazel targets
PiperOrigin-RevId: 698102508
2024-11-19 12:19:39 -08:00
Francis Tsui 7a02d2f888 Fix folder transfer.
PiperOrigin-RevId: 698044680
2024-11-19 09:26:49 -08:00
Guogang Li f391af8e47 Enhance on Bluetooth discovery check
PiperOrigin-RevId: 691947459
2024-10-31 15:05:16 -07:00
Francis Tsui b4d11ecbda Use machine name for advertisement when user not logged in.
PiperOrigin-RevId: 690479544
2024-10-27 22:52:21 -07:00
Guogang Li 9aa2510055 Internal changes
PiperOrigin-RevId: 689614191
2024-10-24 20:11:07 -07:00
Francis Tsui 43aa565f14 Fix GetOsDeviceName returns string with trailing \0.
PiperOrigin-RevId: 688673080
2024-10-22 13:37:14 -07:00
Francis Tsui 5840369ce6 Remove unused deviceInfo methods.
PiperOrigin-RevId: 688334273
2024-10-21 17:46:16 -07:00
Anay Wadhera b02ba01346 internal change
PiperOrigin-RevId: 687133353
2024-10-17 19:58:24 -07:00
Edwin Wu 77a75f4389 Add WEB_RTC_NON_CELLULAR enum, III
PiperOrigin-RevId: 686391802
2024-10-16 00:07:37 -07:00
Edwin Wu 7b2eddc458 Add WEB_RTC_NON_CELLULAR enum, II
PiperOrigin-RevId: 685103930
2024-10-12 00:28:58 -07:00
Guogang Li 37d7dc19de Change the method to stop Wi-Fi LAN advertising
PiperOrigin-RevId: 684905306
2024-10-11 11:40:34 -07:00
Guogang Li 1255f6a800 Internal fix
PiperOrigin-RevId: 684640919
2024-10-10 18:04:17 -07:00
Guogang Li 45e297cc93 Reduce GATT read during discovery
PiperOrigin-RevId: 684175246
2024-10-09 14:36:44 -07:00
Eiden Kim 81148a8b72 Update wstring converter
PiperOrigin-RevId: 684119260
2024-10-09 11:54:27 -07:00
Eiden Kim 25d4aca219 Update wstring converter
PiperOrigin-RevId: 682112846
2024-10-03 18:32:59 -07:00
hai007 9b4a4da7d2 [Nearby Windows][Hotspot] Store the Hotspot SSID to a file in case the APP get close unexpected.
PiperOrigin-RevId: 676945569
2024-09-20 13:10:21 -07:00
Guogang Li 6707efeed8 internal refactor
PiperOrigin-RevId: 676552917
2024-09-19 13:58:21 -07:00
Guogang Li 47f2dfec28 Removed platform types dependency from windows platform codes
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00