Commit Graph
244 Commits
Author SHA1 Message Date
Edwin Wu 9ce1286bfa [BLEREFACTOR]: Implement DispatchPacket in BleSocket.
PiperOrigin-RevId: 834079972
2025-11-18 20:04:29 -08:00
Nick Bourdakos a241cbb7ac webrtc
PiperOrigin-RevId: 833487914
2025-11-17 14:05:55 -08:00
Francis Tsui 48c364b5b2 Fix ASAN error.
PiperOrigin-RevId: 832365890
2025-11-14 10:20:41 -08:00
Edwin Wu 8d18c91e86 [BLEREFACTOR]:Add CreateFromStream API to BleL2capPacket
PiperOrigin-RevId: 832082450
2025-11-13 18:06:01 -08:00
Edwin Wu ee180724a2 [BLEREFACTOR]: Implement BLE socket control packet data parsing.
PiperOrigin-RevId: 831648347
2025-11-12 19:47:07 -08:00
Edwin Wu 7a8ba5f18b [BLEREFACTOR]: Implement the BLE/L2CAP read/write logic.
PiperOrigin-RevId: 831637265
2025-11-12 19:12:00 -08:00
Edwin Wu e960e72b28 [BLEREFACTOR]: Reset BleSocket streams after closing.
PiperOrigin-RevId: 831610441
2025-11-12 17:58:04 -08:00
Edwin Wu a40875d552 Refactor DiscoveredPeripheralTracker::Shutdown to avoid holding mutex during executor shutdown.
PiperOrigin-RevId: 831610065
2025-11-12 17:53:32 -08:00
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 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 ab0aa8653c Move hotspot connection retry out of Windows platform impl.
PiperOrigin-RevId: 828286966
2025-11-04 21:57:20 -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
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
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
Guogang Li cce45b745e Internal refactor
PiperOrigin-RevId: 815749899
2025-10-06 09:03:08 -07:00
Guogang Li 5fbef9e11e Remove BLE V1 codes
PiperOrigin-RevId: 811369802
2025-09-25 08:56: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
Francis Tsui a43adfb93c Stop setting IPAddress field in NsdServiceInfo on advertising.
PiperOrigin-RevId: 810516970
2025-09-23 11:35:20 -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 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 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
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
hai007 094dcf30b5 Refactor MultiplexSocketTest to improve test coverage.
PiperOrigin-RevId: 796459727
2025-08-18 09:36:16 -07:00
Guogang Li 981d46c589 [NC] Close GATT connection when failure happen
PiperOrigin-RevId: 795586959
2025-08-15 13:19:06 -07:00
Guogang Li 9e401d7b3f Log GATT connection failure
PiperOrigin-RevId: 794601832
2025-08-13 08:57:08 -07:00
Guogang Li f67618f8ff Update the GATT reading logic in thread
PiperOrigin-RevId: 793840801
2025-08-11 16:34:13 -07:00
hai007 ff6e506c0e Fix tsan error for multiplex_test
PiperOrigin-RevId: 792809910
2025-08-08 16:57:33 -07:00
hai007 7472c810d3 Correct AWDL related error codes
PiperOrigin-RevId: 791303156
2025-08-05 11:38:20 -07:00
Edwin Wu 05e997dc52 [Nearby Connections] Fix a bug that could cause BLE scan keeps fetching the un-interseted advertisement.
PiperOrigin-RevId: 790972086
2025-08-04 18:22:19 -07:00
Mingshiou Wu 164065e0b0 This CL includes additional tests for Ble, LostEntityTracker, BluetoothRadio, WebRtcPeerId, and WifiLan.
PiperOrigin-RevId: 788272883
2025-07-28 20:31:22 -07:00
Mingshiou Wu d28ce4d36b Add unit tests cases for implementation/mediums/ble_v2.cc
PiperOrigin-RevId: 787826632
2025-07-27 20:09:02 -07:00
hai007 00a2999269 Format all the files in CL786733783
PiperOrigin-RevId: 786873870
2025-07-24 16:25:18 -07:00
Guogang Li b3d9a930ca Change time function to elapsed time from SystemClock
PiperOrigin-RevId: 786819481
2025-07-24 13:39:57 -07:00
hai007 71cdf84236 Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
hai007 a78e9e4138 Automated Code Change
PiperOrigin-RevId: 786383170
2025-07-23 12:34:42 -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 a2bcb2db27 Fix asan/msan bug
PiperOrigin-RevId: 780237506
2025-07-07 13:30:50 -07:00
Guogang Li ca8e70f613 Apply real PSM value in DCT advertising
PiperOrigin-RevId: 778914950
2025-07-03 10:06:06 -07:00
Guogang Li 0614f439d9 Control Advertising/Scanning of instant on lost separately
PiperOrigin-RevId: 778356456
2025-07-01 23:30:17 -07:00
Guogang Li cf92356d02 Update BLE advertisement format
PiperOrigin-RevId: 778351891
2025-07-01 23:13:28 -07:00