Commit Graph
550 Commits
Author SHA1 Message Date
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
hai007 172f8452c6 Refactor WifiLanServiceInfotest to improve test coverage.
PiperOrigin-RevId: 794712543
2025-08-13 13:31:00 -07:00
Guogang Li 9e401d7b3f Log GATT connection failure
PiperOrigin-RevId: 794601832
2025-08-13 08:57:08 -07:00
Guogang Li c1b902b6ac Update comments for safe_to_disconnect_version flag.
PiperOrigin-RevId: 794223595
2025-08-12 12:32:35 -07:00
hai007 c53c152158 Refactor WifiHotspotBwuHandler test to improve test coverage.
PiperOrigin-RevId: 793973953
2025-08-12 00:30:16 -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
Guogang Li fc37f9b9f0 Internal bug fix
PiperOrigin-RevId: 792253206
2025-08-07 12:01:37 -07:00
Francis Tsui ae015665cd Set file last modified time.
PiperOrigin-RevId: 791926107
2025-08-06 18:25:42 -07:00
hai007 09e11ee122 Fuzz testing Nearby Share C++ lib: EndpointManager
PiperOrigin-RevId: 791395382
2025-08-05 15:38:20 -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
Guogang Li a65ee214e7 Turn default flags to True for BLE v2 rollout.
PiperOrigin-RevId: 788707906
2025-07-29 19:34:43 -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
Guogang Li 1ba0f831b5 Use medium to check whether discovery is active
PiperOrigin-RevId: 786818627
2025-07-24 13:35:00 -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 85f0a1c33f Log medium for lost endpoint
PiperOrigin-RevId: 785911332
2025-07-22 10:41:00 -07:00
Guogang Li 4f413c822a Internal test build fix
PiperOrigin-RevId: 785908608
2025-07-22 10:35:08 -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
hai007 3895575f51 Automated Code Change
PiperOrigin-RevId: 775072056
2025-06-23 22:37:57 -07:00
Guogang Li 357f494c84 Put error log when including invalid character.
PiperOrigin-RevId: 767324441
2025-06-04 16:12:20 -07:00
Guogang Li a45c18eb14 Turn off encryption over AWDL for upgrade transmissions
PiperOrigin-RevId: 766826551
2025-06-03 14:41:21 -07:00
Crisrael Lucero 7940128bf9 Assign empty string to bluetooth_mac_address instead of invalid argument
PiperOrigin-RevId: 763894090
2025-05-27 12:09:13 -07:00
Crisrael Lucero acaf963c40 Migrate usage of BluetoothUtils::ToString() to MacAddress
PiperOrigin-RevId: 762184790
2025-05-22 17:09:38 -07:00
Guogang Li 9853d62532 Enable password for AWDL upgrade
PiperOrigin-RevId: 759226149
2025-05-15 11:22:45 -07:00
Edwin Wu 540f4bac7a Add flag to control whether to disconnect the GATT client when exiting the BLE GATT service.
PiperOrigin-RevId: 758474539
2025-05-13 19:52:27 -07:00
Guogang Li ed73963b6b Add password field for AWDL Credential
PiperOrigin-RevId: 757944784
2025-05-12 15:54:46 -07:00
Francis Tsui b48b943275 Remove reference to BlePeripheral.
PiperOrigin-RevId: 757830081
2025-05-12 10:55:38 -07:00
Johnson Lu 8f71b8e8b0 Add last_endpoint_id to UpgradePathInfo.ClientIntroduction
PiperOrigin-RevId: 757536755
2025-05-11 18:18:20 -07:00
Guogang Li 09ac8d8c58 Apply DCT flag in Nearby Connections
PiperOrigin-RevId: 756487383
2025-05-08 15:41:04 -07:00
Guogang Li 5f3ce51cfd Add flag to control DCT
PiperOrigin-RevId: 756477155
2025-05-08 15:11:43 -07:00
Guogang Li f2ef072ac1 Avoid checking peer when getting streams from socket
PiperOrigin-RevId: 756403871
2025-05-08 12:00:57 -07:00
Guogang Li 7ea0e00333 Add AWDL upgrade logic
PiperOrigin-RevId: 756335927
2025-05-08 09:08:52 -07:00
hai007 236e17988c Replace uses of rtc:: and cricket:: namespaces
PiperOrigin-RevId: 756184076
2025-05-08 00:24:40 -07:00
Francis Tsui 59e527dbe3 Remove unused methods.
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -07:00
Johnson Lu ee9266b175 Implement Dynamic Role Switch
Implement dynamic role switch in bwu manager. When NC receive BWU request, it will check if it should switch role based on the device's capability.

PiperOrigin-RevId: 755703443
2025-05-06 23:38:16 -07:00
Guogang Li 946e865db2 Implement method to build AWDL upgrade frame
PiperOrigin-RevId: 755607718
2025-05-06 18:30:30 -07:00
Guogang Li 62413e4de9 Internal change to AWDL APIs
PiperOrigin-RevId: 755602469
2025-05-06 18:12:01 -07:00
Guogang Li d61ed675b7 Add AWDL credential for AWDL upgrade
PiperOrigin-RevId: 754965804
2025-05-05 14:17:49 -07:00
hai007 0e79a06bd8 Automated Code Change
PiperOrigin-RevId: 752263247
2025-04-28 05:09:29 -07:00
Guogang Li d0f014e0b4 Add more log information during decrypting frame
PiperOrigin-RevId: 748449749
2025-04-16 15:49:06 -07:00