Commit Graph
3878 Commits
Author SHA1 Message Date
Francis Tsui fc0fb02fee Make sure timer is destroyed on the same thread callback is scheduled on.
PiperOrigin-RevId: 912325093
2026-05-07 22:23:49 -07:00
Francis Tsui 313efed9c9 Fix unprotected multi-threaded access to list.
PiperOrigin-RevId: 912324436
2026-05-07 22:18:07 -07:00
Francis Tsui 1346571e4f Fix UAF in WorkerQueue.Stop().
PiperOrigin-RevId: 912027304
2026-05-07 10:17:46 -07:00
Francis Tsui 6b2f1b96eb remove unused code.
PiperOrigin-RevId: 911531448
2026-05-06 13:54:19 -07:00
Francis Tsui 353f7d5a1d Remove dependency on multiplex sockets.
PiperOrigin-RevId: 911520556
2026-05-06 13:34:32 -07:00
Francis Tsui d026aed3e2 Add usage and binding id to TransferMetadata.
PiperOrigin-RevId: 911439518
2026-05-06 11:12:19 -07:00
Nicholas Levin eddff719b9 Automated Code Change
PiperOrigin-RevId: 910856624
2026-05-05 12:50:31 -07:00
hai007 db6f238fde Automated Code Change
PiperOrigin-RevId: 909079635
2026-05-01 23:45:47 -07:00
Francis Tsui 6f52ec53dd Remove unnecessary code.
PiperOrigin-RevId: 908359047
2026-04-30 13:55:42 -07:00
hai007 ea61e9cefa Automated Code Change
PiperOrigin-RevId: 907961119
2026-04-29 22:41:27 -07:00
Edwin Wu 4ae41f4cdf Refactor EndpointChannel ownership to use shared_ptr.
PiperOrigin-RevId: 907278448
2026-04-28 18:15:46 -07:00
Edwin Wu 3fd8fbf2f1 Add enable_single_copy and fix_ble_server_socket_deadlock flags to Nearby Connections GCL.
PiperOrigin-RevId: 907276860
2026-04-28 18:11:03 -07:00
Edwin Wu ab4c1240f3 fix go/tsan error (data_race)
PiperOrigin-RevId: 907273869
2026-04-28 18:01:42 -07:00
Francis Tsui e590a06f51 Update flags.
PiperOrigin-RevId: 906999696
2026-04-28 08:43:56 -07:00
hai007 6b2ca366c1 add isForcedUsb logging
PiperOrigin-RevId: 906582951
2026-04-27 15:41:43 -07:00
hai007 b4551e8d0a Fix flaky MultiplexSocketTest by using CountDownLatch.
PiperOrigin-RevId: 906533858
2026-04-27 14:05:13 -07:00
hai007 3311c2c07f Automated Code Change
PiperOrigin-RevId: 906432793
2026-04-27 10:36:15 -07:00
hai007 b8ef0d45cf add isForcedUsb logging
PiperOrigin-RevId: 906108772
2026-04-26 20:53:29 -07:00
hai007 32f1ed5ac5 add isForcedUsb logging
PiperOrigin-RevId: 905371058
2026-04-24 22:02:27 -07:00
Edwin Wu 04022d0db3 Refactor MediumEnvironment to improve FakeClock usage.
PiperOrigin-RevId: 904891357
2026-04-24 02:07:38 -07:00
hai007 c577ccaf4f Automated Code Change
PiperOrigin-RevId: 904780249
2026-04-23 21:02:41 -07:00
hai007 a7dd5feebb Automated Code Change
PiperOrigin-RevId: 902903748
2026-04-20 17:36:44 -07:00
Edwin Wu b533dd834c Fix tsan error.
PiperOrigin-RevId: 900978318
2026-04-16 17:03:53 -07:00
Francis Tsui dacbd03aa1 Replace ByteArray with std::string.
PiperOrigin-RevId: 900893850
2026-04-16 13:52:02 -07:00
hai007 c90e273160 Automated Code Change
PiperOrigin-RevId: 900780016
2026-04-16 09:57:37 -07:00
Edwin Wu bd66643160 Implement single-copy optimizations for BLE/L2CAP sockets.
PiperOrigin-RevId: 897745906
2026-04-10 09:58:48 -07:00
Edwin Wu 26efd91ff4 Introduce factory patterns for BLE managers in BleMedium.
PiperOrigin-RevId: 897492346
2026-04-09 22:53:52 -07:00
hai007 ef166b6534 [TTX] Include a bit to indicate the TTX
PiperOrigin-RevId: 897415417
2026-04-09 18:58:43 -07:00
hai007 0ab62e579e Automated Code Change
PiperOrigin-RevId: 897272170
2026-04-09 13:25:38 -07:00
Francis Tsui aaa458dd22 internal
PiperOrigin-RevId: 897253283
2026-04-09 12:48:32 -07:00
hai007 db72ebcaa4 Automated Code Change
PiperOrigin-RevId: 896829185
2026-04-08 19:52:40 -07:00
Francis Tsui 6914be4154 internal changes
PiperOrigin-RevId: 896726878
2026-04-08 15:16:34 -07:00
Edwin Wu 4b5e42ad71 Fix potential deadlock and use-after-free in BleServerSocket on Apple.
PiperOrigin-RevId: 895638821
2026-04-06 20:50:33 -07:00
Edwin Wu cae29fe15a The GNCMWaitForConnection utility is updated to allow specifying a target dispatch queue.
PiperOrigin-RevId: 895632592
2026-04-06 20:34:41 -07:00
Edwin Wu a570c9df8f [Nearby] Optimize NWFramework socket reads and writes for performance and memory. IV
PiperOrigin-RevId: 894952159
2026-04-05 09:18:32 -07:00
Edwin Wu b382cdb022 [Nearby] Optimize NWFramework socket reads and writes for performance and memory. III
PiperOrigin-RevId: 894930585
2026-04-05 07:51:18 -07:00
Edwin Wu 1bc6346601 [Nearby] Optimize NWFramework socket reads and writes for performance and memory. II
PiperOrigin-RevId: 894923575
2026-04-05 07:19:18 -07:00
hai007 79a05eb482 internal changes
PiperOrigin-RevId: 894402536
2026-04-03 22:05:12 -07:00
hai007 ca8e83e3e8 Automated Code Change
PiperOrigin-RevId: 893702079
2026-04-02 14:25:51 -07:00
Edwin Wu a405436f44 [Nearby] Optimize NWFramework socket reads and writes for performance and memory. I
PiperOrigin-RevId: 893210612
2026-04-01 18:27:47 -07:00
Francis Tsui 1d3ebd484b internal
PiperOrigin-RevId: 893035142
2026-04-01 11:40:02 -07:00
Francis Tsui ac46c3670c Remove obsolete code.
PiperOrigin-RevId: 892563700
2026-03-31 15:16:54 -07:00
Edwin Wu c7a8361639 Continue scanning even when peripherals are connected.
PiperOrigin-RevId: 892142072
2026-03-31 00:00:59 -07:00
Francis Tsui f088ef3b74 Remove unnecessary DevicInfoImpl class.
PiperOrigin-RevId: 892102193
2026-03-30 22:18:31 -07:00
Francis Tsui ac70b1f91f Remove SyncConfig frames.
PiperOrigin-RevId: 891975054
2026-03-30 16:35:01 -07:00
Francis Tsui 90028655d2 Cleanup DeviceInfo
PiperOrigin-RevId: 891750619
2026-03-30 09:11:37 -07:00
hai007 300881d3ed Add more speed test results, rssi and inactivity event count
PiperOrigin-RevId: 890625346
2026-03-27 14:04:25 -07:00
Francis Tsui a189a612f9 Add InitiatePairing to NearbySharingService.
PiperOrigin-RevId: 890580038
2026-03-27 12:21:02 -07:00
hai007 c855c882c4 absl::StatusOr is banned in Chromium
https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md#statusor-banned

PiperOrigin-RevId: 889397318
2026-03-25 13:10:55 -07:00
hai007 e8dbe745f8 Fix a few error triggered when trying to roll nearby in Chromium.
PiperOrigin-RevId: 889051225
2026-03-24 23:33:10 -07:00