Commit Graph
269 Commits
Author SHA1 Message Date
Lasan Mahaliyana ea513a34aa Merge branch 'google:main' into main 2026-03-07 00:16:27 +05:30
hai007 0cd9160cf4 Add more test cases for Awdl medium to improve test coverage.
PiperOrigin-RevId: 877586175
2026-03-02 14:45:04 -08:00
Francis Tsui e5046f6b55 Add support for storing proto messages in preferences.
PiperOrigin-RevId: 875747055
2026-02-26 08:58:54 -08:00
hai007 743093a55d Automated Code Change
PiperOrigin-RevId: 869030558
2026-02-11 22:28:39 -08:00
kidfromjupiter 4d2f34ccfb upstream changes applied to linux impl 2026-02-04 22:04:03 +00:00
kidfromjupiter e52e7c8d18 Merge remote-tracking branch 'nearby/main' into apply-upstream
# Conflicts:
#	MODULE.bazel
#	connections/implementation/mediums/ble_v2.cc
#	internal/platform/implementation/BUILD
2026-02-04 19:12:40 +00:00
Francis Tsui 08aea922d8 Fix TSAN error.
PiperOrigin-RevId: 864960537
2026-02-03 11:10:55 -08:00
kidfromjupiter e09907e335 Re enabled l2cap for testing 2026-02-03 17:26:56 +00:00
Francis Tsui 21dd3eb21c Fix flaky test.
PiperOrigin-RevId: 864541156
2026-02-02 15:13:36 -08:00
Francis Tsui 9a586a8482 Deprecate EnableInstantOnLost flag.
PiperOrigin-RevId: 859246006
2026-01-21 13:45:14 -08:00
Francis Tsui 581d232cd5 Deprecate EnableReadGattForExtendedAdvertisement flag.
PiperOrigin-RevId: 857322636
2026-01-16 15:20:43 -08:00
Francis Tsui b4a9f7ccc0 Remove EnableGattQueryInThread flag.
PiperOrigin-RevId: 857291479
2026-01-16 13:53:40 -08:00
Francis Tsui 2cda47c30c Deprecate DisableBluetoothClassicScanning flag.
PiperOrigin-RevId: 856914065
2026-01-15 19:04:35 -08:00
Francis Tsui c2c54a3ca0 Remove deprecated OutputStream::Write method.
PiperOrigin-RevId: 854235255
2026-01-09 10:04:02 -08:00
Francis Tsui fbf66ad7e3 Switch OutputStream::Write to use string_view.
PiperOrigin-RevId: 854225267
2026-01-09 09:37:00 -08:00
hai007 be3db49015 Wi-Fi Direct Service Implementation(9.2)
PiperOrigin-RevId: 853845305
2026-01-08 12:36:20 -08:00
Francis Tsui 1b557236f7 Log interface count and IPv6 only interface count during wifi upgrade.
PiperOrigin-RevId: 852845375
2026-01-06 10:45:13 -08:00
Francis Tsui 03ae6b1be1 Switch various WifiLanMedium connect methods to use ServiceAddress.
PiperOrigin-RevId: 843241925
2025-12-11 08:52:53 -08:00
Francis Tsui 4652aef48c WifiLan::Change GetUpgradeAddressCandidates to use ServiceAddress.
PiperOrigin-RevId: 842257461
2025-12-09 08:48:31 -08:00
Edwin Wu 43213ff707 [BLEREFACTOR]: Implement the SendIntroduction/SendDisconnection/SendPacketAcknowledgement control packets and ProcessIncomingL2capPacketValidation/ProcessOutgoingL2capPacketValidation l2cap control packets.
PiperOrigin-RevId: 839964296
2025-12-03 16:36:28 -08:00
hai007 91b9713eb2 Wi-Fi Direct Service Implementation(8.1)
PiperOrigin-RevId: 839804624
2025-12-03 10:11:36 -08:00
Nick Bourdakos 9adcbb5941 Wi-Fi Direct Service Implementation(8)
PiperOrigin-RevId: 839323466
2025-12-02 10:18:00 -08:00
hai007 7b2d1910b3 Wi-Fi Direct Service Implementation(8)
PiperOrigin-RevId: 839297248
2025-12-02 09:17:46 -08:00
Guogang Li b45077eedb Add RetrieveBlePeripheralFromNativeId to BleMedium.
PiperOrigin-RevId: 835253368
2025-11-21 09:33:14 -08:00
hai007 ea2a651911 Wi-Fi Direct Service Implementation(7)
PiperOrigin-RevId: 834584965
2025-11-19 21:45:43 -08:00
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