1209 Commits
Author SHA1 Message Date
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
Francis Tsui 96040b49aa Migrate NetworkMonitor to use native APIs.
PiperOrigin-RevId: 802185742
2025-09-02 09:59:29 -07:00
hai007 91721c3dbb Automated Code Change
PiperOrigin-RevId: 801577756
2025-08-31 14:38:48 -07:00
hai007 d44997d16d Automated Code Change
PiperOrigin-RevId: 801555798
2025-08-31 12:23:34 -07:00
Edwin Wu eff9d2d50b [NC Apple coverage] Reorganize BLE medium and test files
PiperOrigin-RevId: 800719731
2025-08-28 20:26:08 -07:00
Francis Tsui a4ce4b1781 Cleanup unused code.
PiperOrigin-RevId: 800660305
2025-08-28 16:35:01 -07:00
Francis Tsui 000e12da8e Migrate platform to use MacAddress class.
PiperOrigin-RevId: 800631540
2025-08-28 15:14:16 -07:00
Francis Tsui ab94af291f Create compatibility for moving platform API to use MacAddress class.
PiperOrigin-RevId: 800533547
2025-08-28 10:58:22 -07:00
Nick Bourdakos 0bad8b0c98 Ensure parent directories exist before creating output files on Apple
PiperOrigin-RevId: 800443625
2025-08-28 06:40:05 -07:00
Francis Tsui b255a7c63f Remove unnecessary log statements.
PiperOrigin-RevId: 800233284
2025-08-27 17:34:58 -07:00
hai007 fe81c82e88 Automated Code Change
PiperOrigin-RevId: 800196135
2025-08-27 15:32:05 -07:00
Francis Tsui dd2832d8b1 Move to Win32 APIs for network interface enumeration.
PiperOrigin-RevId: 799739002
2025-08-26 15:16:22 -07:00