Commit Graph
1220 Commits
Author SHA1 Message Date
Guogang Li c65dc1abbb Change the method to check Wi-Fi access.
PiperOrigin-RevId: 814337357
2025-10-02 12:23:47 -07:00
Edwin Wu a211c5b527 [NC Apple coverage] Add tests for CBPeripheralManager category methods.
PiperOrigin-RevId: 814030295
2025-10-01 19:53:53 -07:00
Edwin Wu bbd6bbb9b9 [NC Apple coverage] Add tests for CBPeripheral category methods and update GNCFakePeripheral.
PiperOrigin-RevId: 814026340
2025-10-01 19:37:12 -07:00
Francis Tsui 2c7f4de3e6 Make TimerImpl thread-safe.
PiperOrigin-RevId: 813938502
2025-10-01 15:25:21 -07:00
hai007 a80e4be352 Automated Code Change
PiperOrigin-RevId: 813575740
2025-09-30 21:59:13 -07:00
Guogang Li c2b1ceb192 Check Wi-Fi access before enumerating interfaces.
PiperOrigin-RevId: 813470707
2025-09-30 16:17:33 -07:00
Guogang Li 04f9204855 Update medium log.
PiperOrigin-RevId: 813305935
2025-09-30 09:41:22 -07:00
hai007 4fc7c4f93c Automated Code Change
PiperOrigin-RevId: 813120005
2025-09-30 00:09:32 -07:00
hai007 fd30f45530 Remove the prefix for the generalization.
PiperOrigin-RevId: 811432704
2025-09-25 11:32:44 -07:00
Guogang Li 799027bdc9 Improve Hotspot connection retry logic.
PiperOrigin-RevId: 811370302
2025-09-25 09:01:43 -07:00
Guogang Li 5fbef9e11e Remove BLE V1 codes
PiperOrigin-RevId: 811369802
2025-09-25 08:56:51 -07:00
Francis Tsui 72088b7fe2 Remove Timer::FireNow.
PiperOrigin-RevId: 811123106
2025-09-24 18:44:41 -07:00
Edwin Wu d429a8e42d [NC Apple coverage] Add unit tests for GNCMBleConnection.
PiperOrigin-RevId: 810761287
2025-09-24 00:53:29 -07:00
Edwin Wu 19dc77a78f Fix threading issues in GNCTimerTest.
PiperOrigin-RevId: 810693891
2025-09-23 20:57:23 -07:00
Edwin Wu 56148e3b86 [NC Apple coverage] Add tests for GNCMConnectionHandlers.
PiperOrigin-RevId: 810655020
2025-09-23 18:24:47 -07:00
Francis Tsui 6d9122c4eb Reuse the same wifi lan listening port number if endpoint ID stays the same.
PiperOrigin-RevId: 810534040
2025-09-23 12:16:23 -07:00
Francis Tsui a43adfb93c Stop setting IPAddress field in NsdServiceInfo on advertising.
PiperOrigin-RevId: 810516970
2025-09-23 11:35:20 -07:00
Edwin Wu 8ded7ccfca [NC Apple coverage] Add unit tests for GNCMBleUtils.
PiperOrigin-RevId: 808614106
2025-09-18 09:26:32 -07:00
Edwin Wu 961e73d7c9 [NC Apple coverage] Add unit tests for BleSocket on Apple.
PiperOrigin-RevId: 808378919
2025-09-17 20:51:46 -07:00
Francis Tsui 3f4e2a6ca0 Add flag to enable async grpc client.
PiperOrigin-RevId: 808220477
2025-09-17 10:57:43 -07:00
Guogang Li 8f7afa358f Internal cleanup
PiperOrigin-RevId: 808179180
2025-09-17 09:10:52 -07:00
Edwin Wu 5865ae7496 [NC Apple coverage] Add unit tests for nearby::apple::BlePeripheral.
PiperOrigin-RevId: 807925024
2025-09-16 18:14:24 -07:00
Guogang Li 5c9df28342 Internal cleanup
PiperOrigin-RevId: 807715725
2025-09-16 09:05:17 -07:00
Ivo Ristovski List ebdcfbdf3c Automated Code Change
PiperOrigin-RevId: 807654392
2025-09-16 05:23:02 -07:00
Edwin Wu 21f7e51635 [NC Apple coverage] add initial unit tests for BluetoothAdapterV2.
PiperOrigin-RevId: 807650119
2025-09-16 05:06:44 -07:00
Edwin Wu c52edc9bae [NC Apple coverage] Refactor Apple CountDownLatch to use idiomatic absl::Mutex patterns.
PiperOrigin-RevId: 807644485
2025-09-16 04:46:51 -07:00
Edwin Wu 9e050cc73a [NC Apple coverage] Add tests for timer.mm.
PiperOrigin-RevId: 807639173
2025-09-16 04:26:11 -07:00
Edwin Wu 9f678bc441 [NC Apple coverage] Add unit tests for Nearby's Apple PreferencesManager.
PiperOrigin-RevId: 807633546
2025-09-16 04:06:00 -07:00
hai007 bbecf44a56 Refactor WifiLanBwuHandler test to improve test coverage.
PiperOrigin-RevId: 807379771
2025-09-15 14:17:54 -07:00
Francis Tsui 70bb114778 Set HTTP timeout.
PiperOrigin-RevId: 806439483
2025-09-12 15:04:40 -07:00
hai007 b56d18d577 Refactor WifiLanBwuHandler test to improve test coverage.
PiperOrigin-RevId: 806350972
2025-09-12 11:01:53 -07:00
hai007 04a516f5a7 Automated Code Change
PiperOrigin-RevId: 806200253
2025-09-12 02:39:11 -07:00
Guogang Li 3c9f6ecdd3 Improve BLE Peripheral Management and Socket Closure on Apple.
PiperOrigin-RevId: 805438865
2025-09-10 11:14:14 -07:00
Guogang Li 1093ee2794 Avoid discovering itself on Wi-Fi
PiperOrigin-RevId: 805093445
2025-09-09 15:49:05 -07:00
Francis Tsui 1d6f44e6b5 Internal changes.
PiperOrigin-RevId: 804560917
2025-09-08 13:23:27 -07:00
Edwin Wu 6cd1575a64 [NC Apple coverage] Added unit tests for GNCNWFrameworkServerSocket in WiFiCommon
PiperOrigin-RevId: 803705843
2025-09-05 20:36:01 -07:00
Guogang Li 4e684adac9 Add macOS support to GNCHotspotMedium.
PiperOrigin-RevId: 803641968
2025-09-05 16:22:16 -07:00
Francis Tsui b17a83ae34 Fix IP address in wifi lan upgrade path info.
PiperOrigin-RevId: 803636066
2025-09-05 16:06:41 -07:00
Francis Tsui 822ce6caf9 Add nullability annotations.
PiperOrigin-RevId: 803587404
2025-09-05 13:46:01 -07:00
Francis Tsui 296b135f54 Cleanup AuthenticationManager and AccoutManager interface.
PiperOrigin-RevId: 803516888
2025-09-05 10:36:09 -07:00
Edwin Wu dca5a4b6ec [NC Apple coverage] Added unit tests for GNCNWFrameworkSocket in WiFiCommon
PiperOrigin-RevId: 803485731
2025-09-05 09:10:16 -07:00
Francis Tsui beaab63d4b Cleanup blocking socket flag.
PiperOrigin-RevId: 803211100
2025-09-04 16:06:01 -07:00
Francis Tsui d25872b2e0 Listen to incoming lan connection on all interfaces.
PiperOrigin-RevId: 803177100
2025-09-04 14:31:15 -07:00
Guogang Li 6c80cc39e9 Adjust BLE advertisement length check for macOS.
PiperOrigin-RevId: 803170812
2025-09-04 14:15:55 -07:00
Francis Tsui ec4cc9338c Fix mDNS registration using wrong hostname.
PiperOrigin-RevId: 803100146
2025-09-04 11:13:05 -07:00
Edwin Wu b90f1d3719 [NC Apple coverage] Add unit tests for nearby::apple::AwdlMedium.
PiperOrigin-RevId: 802840092
2025-09-03 21:18:51 -07:00
Edwin Wu f0d164fc40 [NC Apple coverage] Test implementation for Wifi LAN medium.
PiperOrigin-RevId: 802829901
2025-09-03 20:39:01 -07:00
Edwin Wu 6e1fd931b7 [NC Apple coverage] Refactor CBManagerStateString and add tests for BLE
Sockets utilities and Weave packets.

PiperOrigin-RevId: 802825276
2025-09-03 20:23:01 -07:00
Edwin Wu 1b169516cb [NC Apple coverage]add unit tests for Hotspot Medium.
PiperOrigin-RevId: 802798810
2025-09-03 18:55:15 -07:00
Ivo Ristovski List 038c73520d Automated Code Change
PiperOrigin-RevId: 802282871
2025-09-02 14:04:04 -07:00