Commit Graph
777 Commits
Author SHA1 Message Date
Edwin Wu fdffc105e0 Wait for peripheral discovered callback in test.
PiperOrigin-RevId: 830666384
2025-11-10 17:45:09 -08:00
Edwin Wu 3968f3275c [BLEREFACTOR]: Implement refactored Ble/L2CAP flow in P2pClusterPcpHandler and mediums Ble_v2 class.
PiperOrigin-RevId: 830654999
2025-11-10 17:02:41 -08:00
Francis Tsui e49fe76dc5 Make use of address candidates in Hotspot credentials.
PiperOrigin-RevId: 830572287
2025-11-10 13:17:43 -08:00
Francis Tsui 48ddaf0a95 Remove deprecated methods.
PiperOrigin-RevId: 829640164
2025-11-07 17:54:11 -08:00
Francis Tsui 4f2f9146cb Add address candidates to WifiHotspotCredentials.
PiperOrigin-RevId: 829628783
2025-11-07 17:07:15 -08:00
Edwin Wu 3dcd449984 [BLEREFACTOR]: Implement mediums::BleSocket to handle both Ble and BleL2cap socket
PiperOrigin-RevId: 829190852
2025-11-06 18:21:59 -08:00
Francis Tsui 57a607f162 Fix proto spelling error.
PiperOrigin-RevId: 829189864
2025-11-06 18:17:06 -08:00
Edwin Wu d7a3d13fe2 [BLEREFACTOR]: Add refactor flow for Ble/L2CAP in Apple platform layer.
PiperOrigin-RevId: 829179079
2025-11-06 17:51:10 -08:00
Francis Tsui ab0aa8653c Move hotspot connection retry out of Windows platform impl.
PiperOrigin-RevId: 828286966
2025-11-04 21:57:20 -08:00
Francis Tsui b85719eae5 Extend bandwidth negotiation frame to support multiple IP addresses.
PiperOrigin-RevId: 828031732
2025-11-04 10:26:32 -08:00
Francis Tsui ca1ab209b7 Move hotspot credential construction into each platform.
PiperOrigin-RevId: 826272274
2025-10-30 18:58:19 -07:00
Francis Tsui 8622fe7bf5 Provide IP address candidate list for LAN upgrade.
PiperOrigin-RevId: 825584250
2025-10-29 09:37:19 -07:00
Francis Tsui be3e658d75 Remove unused methods.
PiperOrigin-RevId: 823958211
2025-10-25 12:52:27 -07:00
Francis Tsui e99faba5fc Remove unused field from HotspotCredentials.
PiperOrigin-RevId: 823606909
2025-10-24 11:38:45 -07:00
Guogang Li e37b501e37 Handle App lifecycle in Nearby Connections.
PiperOrigin-RevId: 822749438
2025-10-22 14:53:33 -07:00
hai007 75865fffbc Automated Code Change
PiperOrigin-RevId: 821702542
2025-10-20 10:23:24 -07:00
Francis Tsui 520223f3b9 Add IS_VLOG_ON macro to platform logging.
PiperOrigin-RevId: 820402805
2025-10-16 14:47:30 -07:00
Guogang Li 4c37f90965 Persist advertising endpoint ID.
PiperOrigin-RevId: 820267327
2025-10-16 09:25:06 -07:00
Guogang Li bffe543e49 Add PreferencesManager into ClientProxy.
PiperOrigin-RevId: 819896910
2025-10-15 13:47:29 -07:00
Guogang Li 7250a1f21d Add a flag to enable/disable Nearby Connections preferences.
PiperOrigin-RevId: 819868177
2025-10-15 12:33:23 -07:00
Edwin Wu 9baa10cff3 Add delays in MediumEnvironment::Stop() and test teardown to prevent use-after-free.
PiperOrigin-RevId: 819561773
2025-10-14 21:49:38 -07:00
Anay Wadhera 01cf03b6e0 Add apple defs to root nc lib
PiperOrigin-RevId: 816275442
2025-10-07 10:33:17 -07:00
Guogang Li cce45b745e Internal refactor
PiperOrigin-RevId: 815749899
2025-10-06 09:03:08 -07:00
Guogang Li 04f9204855 Update medium log.
PiperOrigin-RevId: 813305935
2025-09-30 09:41:22 -07:00
Guogang Li 5fbef9e11e Remove BLE V1 codes
PiperOrigin-RevId: 811369802
2025-09-25 08:56:51 -07:00
Francis Tsui 5911d53352 Reset endpointUD after login and logout.
PiperOrigin-RevId: 810648551
2025-09-23 18:00:51 -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 6f92e238b0 Refactor P2pCLusterPcpHandler and WifiLan.
PiperOrigin-RevId: 810525937
2025-09-23 11:56:05 -07:00
Guogang Li f98241826a Allow to pass event logger in C wrapper
PiperOrigin-RevId: 810518555
2025-09-23 11:40:27 -07:00
Francis Tsui a43adfb93c Stop setting IPAddress field in NsdServiceInfo on advertising.
PiperOrigin-RevId: 810516970
2025-09-23 11:35:20 -07:00
hai007 bbecf44a56 Refactor WifiLanBwuHandler test to improve test coverage.
PiperOrigin-RevId: 807379771
2025-09-15 14:17:54 -07:00
hai007 5bdc1ab09c Automated Code Change
PiperOrigin-RevId: 806630829
2025-09-13 05:04:07 -07:00
hai007 b56d18d577 Refactor WifiLanBwuHandler test to improve test coverage.
PiperOrigin-RevId: 806350972
2025-09-12 11:01:53 -07:00
hai007 ac2e030fca Automated Code Change
PiperOrigin-RevId: 806081743
2025-09-11 19:45:10 -07:00
hai007 579a01e26f Refactor implementation:pcp_handler_test to improve test coverage.
PiperOrigin-RevId: 804491033
2025-09-08 10:32:06 -07:00
Edwin Wu a43b20008a Return an error when failing to start accepting BLE GATT connections.
PiperOrigin-RevId: 803041881
2025-09-04 08:42:59 -07:00
Francis Tsui 77ce859862 Switch ConnectionOptions to use MacAddress class.
PiperOrigin-RevId: 802210252
2025-09-02 10:56:48 -07:00
hai007 ec3dc80d32 Refactor implementation:service_controller_test to improve test coverage.
PiperOrigin-RevId: 800744966
2025-08-28 22:12:33 -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
hai007 bb1fe70700 Fix go/msan, go/msan_arm and go/hwasan_arm error
PiperOrigin-RevId: 800066348
2025-08-27 09:36:11 -07:00
hai007 40bf056e17 Add p2p_star_pcp_handler_test.cc to improve test coverage.
PiperOrigin-RevId: 799397593
2025-08-25 21:51:55 -07:00
hai007 5f27145da5 Update WebRTC IceCandidate type usage.
Replaces `webrtc::IceCandidateInterface` with `webrtc::IceCandidate` due to a change in the WebRTC API.

PiperOrigin-RevId: 798263016
2025-08-22 10:39:19 -07:00
Guogang Li 9d06831a9c Enforce out-of-band mode for InjectEndpoint and relax discovery checks for Bluetooth callbacks.
PiperOrigin-RevId: 798228332
2025-08-22 08:58:41 -07:00
Anay Wadhera 9c7c7a9f6f Internal change
PiperOrigin-RevId: 797935848
2025-08-21 15:25:12 -07:00
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Guogang Li adf211a891 [NC]Read GATT data on device with BLE extended support
PiperOrigin-RevId: 797846587
2025-08-21 11:32:49 -07:00
Francis Tsui 6113d225e9 Move unnecessary INFO logs to VLOG.
PiperOrigin-RevId: 797451961
2025-08-20 13:58:51 -07:00
hai007 f8e3f97c4e Refactor WifiDirectTest to improve test coverage.
PiperOrigin-RevId: 797139031
2025-08-19 21:07:51 -07:00
hai007 094dcf30b5 Refactor MultiplexSocketTest to improve test coverage.
PiperOrigin-RevId: 796459727
2025-08-18 09:36:16 -07:00