Commit Graph
227 Commits
Author SHA1 Message Date
Edwin Wu 3878ce99c8 [NC Apple coverage]Add more comprehensive tests for BLE L2CAP components.
PiperOrigin-RevId: 821886071
2025-10-20 18:22:03 -07:00
Edwin Wu 3569a9c17a [NC Apple coverage] Add tests for WifiHotspotMedium.
PiperOrigin-RevId: 820488585
2025-10-16 19:37:00 -07:00
Edwin Wu d08ca79b89 [NC Apple coverage] Add unit tests for Nearby Apple's BleMedium.
PiperOrigin-RevId: 820484319
2025-10-16 19:18:27 -07:00
Edwin Wu 866651e7c9 [NC Apple coverage] Add fakes and tests for Apple Hotspot mediums.
PiperOrigin-RevId: 820357736
2025-10-16 12:50:58 -07:00
Francis Tsui 8a88a78f25 Remove unused platform interface method.
PiperOrigin-RevId: 819236789
2025-10-14 08:35:31 -07:00
Guogang Li cce45b745e Internal refactor
PiperOrigin-RevId: 815749899
2025-10-06 09:03:08 -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
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
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
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
Guogang Li 3c9f6ecdd3 Improve BLE Peripheral Management and Socket Closure on Apple.
PiperOrigin-RevId: 805438865
2025-09-10 11:14:14 -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
Edwin Wu dca5a4b6ec [NC Apple coverage] Added unit tests for GNCNWFrameworkSocket in WiFiCommon
PiperOrigin-RevId: 803485731
2025-09-05 09:10:16 -07:00
Guogang Li 6c80cc39e9 Adjust BLE advertisement length check for macOS.
PiperOrigin-RevId: 803170812
2025-09-04 14:15:55 -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
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 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
Edwin Wu da266c0025 [NC Apple coverage] Enable WiFiCommon tests.
PiperOrigin-RevId: 799130702
2025-08-25 08:24:11 -07:00
Guogang Li 9087989a42 [iOS]Serialize API calls and improve error handling in GATT client
PiperOrigin-RevId: 797433462
2025-08-20 13:12:26 -07:00
Edwin Wu 09a7dc8eb3 [NC Apple coverage] Add GNCDeviceInfoTest unit test to cover the device info APIs for Nearby.
PiperOrigin-RevId: 794643095
2025-08-13 10:41:05 -07:00
Edwin Wu eed03c7158 [NC Apple coverage] Add more tests for GNCPlatformTest.
PiperOrigin-RevId: 794624452
2025-08-13 09:59:19 -07:00
Edwin Wu a4314b3168 Added a timeout for each operation that block the thread.
PiperOrigin-RevId: 794517029
2025-08-13 04:36:33 -07:00
Nick Bourdakos bff02013c9 Add implementation for log file path
PiperOrigin-RevId: 794256202
2025-08-12 13:52:47 -07:00
Nick Bourdakos 4c5637203b Dispatch FireNow to a background queue to avoid blocking UI
PiperOrigin-RevId: 793875585
2025-08-11 18:28:04 -07:00
Johnson Lu aaa1a35b62 Create iOS MH snippet
PiperOrigin-RevId: 793871634
2025-08-11 18:10:18 -07:00
Edwin Wu 31a15dc938 [NC Apple coverage] Implement iOS preferences in tests.
PiperOrigin-RevId: 792370292
2025-08-07 17:24:00 -07:00
Edwin Wu e95b44cf61 Fixes a potential crash when shutting down a BleMedium.
PiperOrigin-RevId: 792365629
2025-08-07 17:08:04 -07:00
Guogang Li fc37f9b9f0 Internal bug fix
PiperOrigin-RevId: 792253206
2025-08-07 12:01:37 -07:00
Guogang Li ddd4f922b9 Fixed deadlock during stop scanning on iOS
PiperOrigin-RevId: 791998760
2025-08-06 22:47:41 -07:00
Guogang Li 0640a9c13c Add cancel support for hotspot connection
PiperOrigin-RevId: 791394599
2025-08-05 15:33:33 -07:00
Edwin Wu 8990edee33 [NC Apple coverage] Add test for GNCLogger
PiperOrigin-RevId: 791250955
2025-08-05 09:35:54 -07:00