Commit Graph
842 Commits
Author SHA1 Message Date
Francis Tsui 60d0c85d53 Add flag for DHCP renewal
PiperOrigin-RevId: 817413881
2025-10-09 18:18:02 -07:00
Francis Tsui 0d207bc95b Renew DHCP lease on hotspot connection.
PiperOrigin-RevId: 817375675
2025-10-09 16:11:58 -07:00
Guogang Li 9eca355226 Internal cleanup
PiperOrigin-RevId: 817215477
2025-10-09 09:17:07 -07:00
Francis Tsui 7145975cd4 Add NetworkInfo class to maintain network interface details.
PiperOrigin-RevId: 817210384
2025-10-09 09:06:56 -07:00
Francis Tsui 2143967802 Remove need to request precise location permission to get original wifi network profile name.
PiperOrigin-RevId: 816807149
2025-10-08 12:09:58 -07:00
Guogang Li 6383b6e7d1 Remove unused files
PiperOrigin-RevId: 816483171
2025-10-07 19:24:12 -07:00
Francis Tsui ed4e00cbfb Refactor hotspot to keep profile name in hotspot_native.
PiperOrigin-RevId: 816404349
2025-10-07 15:30:15 -07:00
Francis Tsui f915b01b75 Remove unused hotspot ssid file.
PiperOrigin-RevId: 816396622
2025-10-07 15:11:11 -07:00
Francis Tsui 417e1ba714 Use well-known wifi profile name for hotspot peer profile.
PiperOrigin-RevId: 816379652
2025-10-07 14:28:10 -07:00
Francis Tsui faecdcc205 Remove EnableIpAddressesNative flag.
PiperOrigin-RevId: 815783697
2025-10-06 10:25:00 -07:00
Guogang Li cce45b745e Internal refactor
PiperOrigin-RevId: 815749899
2025-10-06 09:03:08 -07:00
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
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
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
Edwin Wu 5865ae7496 [NC Apple coverage] Add unit tests for nearby::apple::BlePeripheral.
PiperOrigin-RevId: 807925024
2025-09-16 18:14:24 -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
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