Commit Graph
204 Commits
Author SHA1 Message Date
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
Edwin Wu cbf3e429b5 [NC Apple coverage] Create GNCUtilsTest.m.
PiperOrigin-RevId: 791173846
2025-08-05 05:46:31 -07:00
Edwin Wu 2830705ba9 [NC Apple coverage] Adding iOS unit tests cases for GNCFeatureFlags
PiperOrigin-RevId: 791167785
2025-08-05 05:23:15 -07:00
Edwin Wu d4edb7663d Added the apple implementation to the platform implementation
PiperOrigin-RevId: 788246739
2025-07-28 18:59:47 -07:00
Edwin Wu bcc34ee7b6 Make timer queue run on background queue
PiperOrigin-RevId: 788236523
2025-07-28 18:21:49 -07:00
Edwin Wu f487377f5c Fix Segmentation fault on TimerImpl.TestFireNow
PiperOrigin-RevId: 788087990
2025-07-28 11:25:37 -07:00
Edwin Wu 76a9af2441 Enabled unit tests in GNSCentralManager.m
PiperOrigin-RevId: 787352883
2025-07-25 21:36:23 -07:00
Edwin Wu cbbdb85df2 Update Unit Test for GNSSocket and GNSWeavePacket in Shared folder.
PiperOrigin-RevId: 787348545
2025-07-25 21:19:59 -07:00
Edwin Wu b587364fec Fix failed to shutdown running task in scheduled executor.
PiperOrigin-RevId: 787348234
2025-07-25 21:14:38 -07:00
Edwin Wu 4b41512543 Fix Apple Cancelable.Cancel() method sending back the wrong signal.
PiperOrigin-RevId: 786906340
2025-07-24 18:17:27 -07:00
hai007 7480977c58 Automated Code Change
PiperOrigin-RevId: 786349659
2025-07-23 11:07:56 -07:00
Guogang Li 771904b707 Make Wi-Fi LAN and AWDL could coexist
PiperOrigin-RevId: 784242267
2025-07-17 10:59:17 -07:00
Guogang Li 2df88546be Fixed MD5 and SHA256 bug in apple platform implementation
PiperOrigin-RevId: 776303688
2025-06-26 15:26:17 -07:00
hai007 2426f3e174 Check the Location Permission Status before Get Current SSID
PiperOrigin-RevId: 775385875
2025-06-24 14:35:44 -07:00
Guogang Li 0c0a59d8a1 Add API to retrieve BLE peripheral ID from native BLE ID
PiperOrigin-RevId: 773373972
2025-06-19 09:54:00 -07:00
Edwin Wu 6a5daffb87 [iOS] Fix the l2cap transfer cache issue by adpoting l2cap packet_acknowledgement proto message.
PiperOrigin-RevId: 770251990
2025-06-11 11:50:24 -07:00
Mingshiou Wu 75c94db1f8 Refactor the logic of L2CAP packet handling.
- Refactor the logic of L2CAP packet handling.
- Add a way to response empty advertisement to fail the L2CAP request immediately.
- Reduce unnessary logs.

PiperOrigin-RevId: 769506649
2025-06-10 01:24:50 -07:00
Edwin Wu 18637b63fa Fix missing getter for cbManagerState.
PiperOrigin-RevId: 767898848
2025-06-05 21:34:25 -07:00
Edwin Wu 6892dc3495 Update CBCentralManagerState to CBManagerState.
PiperOrigin-RevId: 767405761
2025-06-04 20:46:48 -07:00
Guogang Li 2f07f1ceee Remove dependents on GTMLogger
PiperOrigin-RevId: 766849674
2025-06-03 15:42:07 -07:00
Guogang Li 46d7270fdc Replace GTMLogger with GNCLogger
PiperOrigin-RevId: 766419599
2025-06-02 18:11:23 -07:00
Guogang Li d7a688f415 Create GNCLogger for apple platform
PiperOrigin-RevId: 766393388
2025-06-02 16:45:00 -07:00
Guogang Li 67beb46d45 don't log message as private
PiperOrigin-RevId: 765410309
2025-05-30 18:26:50 -07:00
Edwin Wu bbc56c10ec [iOS] Fix L2CAP crash issue.
PiperOrigin-RevId: 765077236
2025-05-30 01:11:20 -07:00