Commit Graph
563 Commits
Author SHA1 Message Date
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 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
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
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