Commit Graph
3888 Commits
Author SHA1 Message Date
Francis Tsui 97ef555f60 Ensure that incoming connections are authenticated unless visibility is Everyone.
PiperOrigin-RevId: 914926223
2026-05-13 10:12:22 -07:00
Francis Tsui 2ee9a6a191 Heap OOB read in IncomingShareSession::ProcessIntroduction AppMetadata
PiperOrigin-RevId: 914587667
2026-05-12 18:52:27 -07:00
Francis Tsui c4e4b04527 Fix unsigned underflow OOB read on empty cert_id.
PiperOrigin-RevId: 914584854
2026-05-12 18:42:16 -07:00
Francis Tsui 3dae0f119e Delete unused code.
PiperOrigin-RevId: 914475976
2026-05-12 14:22:56 -07:00
Francis Tsui 24c6dd9015 Fix UAF in transfer_manager.cc
PiperOrigin-RevId: 913757006
2026-05-11 10:08:22 -07:00
hai007 1d6cc1e50e Automated Code Change
PiperOrigin-RevId: 913320890
2026-05-10 09:49:10 -07:00
hai007 049a746664 Automated Code Change
PiperOrigin-RevId: 913320328
2026-05-10 09:43:56 -07:00
hai007 d41eff045c Automated Code Change
PiperOrigin-RevId: 912819296
2026-05-08 20:24:31 -07:00
Francis Tsui 87c6ad999e Deprecate enable_hotspot_address_candidates flag.
PiperOrigin-RevId: 912663559
2026-05-08 13:19:45 -07:00
Francis Tsui c1e933e6d8 Simple optimization of TransferManager
PiperOrigin-RevId: 912585846
2026-05-08 10:22:38 -07:00
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