Commit Graph
157 Commits
Author SHA1 Message Date
Edwin Wu fb2e7e687b analytics: Modify OperationResultCode in C++ implementation
PiperOrigin-RevId: 704951400
2024-12-10 20:57:25 -08:00
Edwin Wu d9b2f1aaa9 analytics: Add exact OperationResultCode for WebRtc - BwuHandler
PiperOrigin-RevId: 704943200
2024-12-10 20:20:39 -08:00
Edwin Wu 1cdef6c391 analytics: Add exact OperationResultCode for Wifi_Direct/Wifi_Hotspot - BwuHandler
PiperOrigin-RevId: 704937416
2024-12-10 19:58:46 -08:00
Edwin Wu 9ebf66aef3 analytics: Add exact OperationResultCode for Wifi_Lan - Connect/AttemptConnect
PiperOrigin-RevId: 704931772
2024-12-10 19:28:40 -08:00
Edwin Wu 65c2298f27 analytics: Add exact OperationResultCode for BLE/BLEV2 - Connect/AttemptConnect
PiperOrigin-RevId: 704926745
2024-12-10 18:58:35 -08:00
Edwin Wu 5ac9bb14f6 analytics: Add exact OperationResultCode for Bluetooth - Connect/AttemptConnect
PiperOrigin-RevId: 704918371
2024-12-10 18:29:24 -08:00
Edwin Wu 6f63efa8db analytics: Modify the returned code with a new OperationResultCodeWithMediums for Ble - advertising/discovery/acceptConnections
PiperOrigin-RevId: 704911325
2024-12-10 18:08:28 -08:00
Edwin Wu 1a35a5c890 analytics: Modify the returned code with a new OperationResultCodeWithMediums for Wifi_Lan - advertising/discovery/acceptConnections
PiperOrigin-RevId: 704905003
2024-12-10 17:40:03 -08:00
Edwin Wu d38bd381f0 analytics: Modify the returned code with a new OperationResultCodeWithMediums for Bluetooth - StartDiscovery/UpdateDiscovery, III
PiperOrigin-RevId: 704899575
2024-12-10 17:18:59 -08:00
Edwin Wu a08b420545 analytics: Modify the returned code with a new OperationResultCodeWithMediums for Bluetooth - StartAdvertising/UpdateAdvertisingOptions, I
PiperOrigin-RevId: 704310956
2024-12-09 09:22:18 -08:00
hai007 e342554dc2 Make sure interface is valid when checking for GC
PiperOrigin-RevId: 700764816
2024-11-27 11:48:46 -08:00
Crisrael Lucero 8e87a6e51c Remove unused private field variable in MultiplexSocket
PiperOrigin-RevId: 694313402
2024-11-07 18:17:52 -08:00
hai007 cb07eead88 Implement multiplex for WIFI_LAN
PiperOrigin-RevId: 694239460
2024-11-07 14:02:22 -08:00
Guogang Li f391af8e47 Enhance on Bluetooth discovery check
PiperOrigin-RevId: 691947459
2024-10-31 15:05:16 -07:00
Edwin Wu 7fca68d543 Add WEB_RTC_NON_CELLULAR enum, VI
PiperOrigin-RevId: 690941154
2024-10-29 02:56:40 -07:00
hai007 7c8071e847 Add begin()/end() to ByteArray.
This allows this type to meet the requirements of e.g.
std::ranges::range, which is necessary for it to work with the
std::span range constructor, or the "non-legacy" constructor for
Chromium's base::span.

Fixes a number of IWYU problems along the way, to silence checks.

Bug: chromium:364987728
PiperOrigin-RevId: 689841844
2024-10-25 10:50:00 -07:00
Guogang Li e875eeffde Log how many peripheral devices lost
PiperOrigin-RevId: 689141285
2024-10-23 16:18:55 -07:00
Edwin Wu ccdcd15e83 Add WEB_RTC_NON_CELLULAR enum, V
PiperOrigin-RevId: 686470433
2024-10-16 05:24:59 -07:00
Edwin Wu e5f80e9fdc Add WEB_RTC_NON_CELLULAR enum, IV
PiperOrigin-RevId: 686408097
2024-10-16 01:16:43 -07:00
Edwin Wu 77a75f4389 Add WEB_RTC_NON_CELLULAR enum, III
PiperOrigin-RevId: 686391802
2024-10-16 00:07:37 -07:00
Guogang Li 1255f6a800 Internal fix
PiperOrigin-RevId: 684640919
2024-10-10 18:04:17 -07:00
Guogang Li 45e297cc93 Reduce GATT read during discovery
PiperOrigin-RevId: 684175246
2024-10-09 14:36:44 -07:00
Guogang Li b3684f55c7 Improve logging in DiscoveredPeripheralTracker
PiperOrigin-RevId: 683831370
2024-10-08 18:13:59 -07:00
Crisrael Lucero 835e5d16c3 Minor comment cleanup
PiperOrigin-RevId: 683690113
2024-10-08 11:06:26 -07:00
Guogang Li a08e89f0f1 Decrease BLE header logging level
PiperOrigin-RevId: 670758902
2024-09-03 17:18:52 -07:00
Guogang Li d5b5d92f87 Internal logging update
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
Francis Tsui 4bca950bc7 Rename NEARBY_LOG() to NEARBY_LOG_OBSOLETE()
PiperOrigin-RevId: 667785090
2024-08-26 18:20:49 -07:00
Francis Tsui b03a383f7a Trivial replacement of NEARBY_LOG with NEARBY_LOGS.
PiperOrigin-RevId: 667740113
2024-08-26 15:34:21 -07:00
Guogang Li 4e8111f303 Fixed test cases issue for BLE discovery
PiperOrigin-RevId: 667612285
2024-08-26 09:35:43 -07:00
Guogang Li 2c700115ef internal fix
PiperOrigin-RevId: 666482118
2024-08-22 14:08:02 -07:00
Guogang Li f1a1c39177 Fixed a potential crash in BLE scanning
PiperOrigin-RevId: 663900592
2024-08-16 15:59:28 -07:00
hai007 7e4be1131b [Multiplex] Create ShutdownAll() method to shutdown all the virtual sockets and streams.
PiperOrigin-RevId: 660875041
2024-08-08 09:55:12 -07:00
hai007 d730c6a437 [Multiplex] Fix the issue that the physical socket is not handled properly.
PiperOrigin-RevId: 660594414
2024-08-07 17:12:39 -07:00
Guogang Li c4812a2082 Optimized instant on lost
PiperOrigin-RevId: 659567920
2024-08-05 08:49:36 -07:00
hai007 673af15b5a The shutdown flag should be set to true when all virtual sockets are disconnected.
PiperOrigin-RevId: 658149636
2024-07-31 14:49:24 -07:00
hai007 1973a803a8 Fix the flaky test of multiplex_socket_test.
PiperOrigin-RevId: 657728480
2024-07-30 14:21:04 -07:00
Guogang Li 52c80303e3 Enhance on advertising
PiperOrigin-RevId: 655044204
2024-07-22 23:57:16 -07:00
Anay Wadhera e2aac58f2f Remove CORE_ADAPTER_DLL define
PiperOrigin-RevId: 654136693
2024-07-19 15:05:57 -07:00
hai007 09094110c8 Replace dynamic_cast with down_cast
PiperOrigin-RevId: 654066599
2024-07-19 11:17:05 -07:00
hai007 25deb0962f Implement Bluetooth Multiplex.
PiperOrigin-RevId: 651921709
2024-07-12 16:52:46 -07:00
Guogang Li c5869cf5fc Allow multiple clients to discover on BTC
PiperOrigin-RevId: 648735657
2024-07-02 09:01:50 -07:00
Guogang Li 32cee3439b Pause Bluetooth classic discovery
PiperOrigin-RevId: 647333108
2024-06-27 08:52:58 -07:00
Guogang Li 7db26f40c5 Report found legacy device
PiperOrigin-RevId: 646495727
2024-06-25 08:55:40 -07:00
Crisrael Lucero acc38a809b [Nearby Presence] Update ScanManager to trigger changed and lost events
PiperOrigin-RevId: 644072733
2024-06-17 11:17:00 -07:00
Guogang Li bc66c63a48 Fixed the issues to handle on lost advertisement
PiperOrigin-RevId: 641268507
2024-06-07 09:14:10 -07:00
hai007 1c8395eede Fix the bug that the multiplex socket is not closed properly.
PiperOrigin-RevId: 633675141
2024-05-14 12:47:19 -07:00
hai007 7c72774167 Multiplex implementation - Create Multiplex Socket
PiperOrigin-RevId: 632628955
2024-05-10 16:11:26 -07:00
Hai Shang ce030a76b6 internal cleanup
PiperOrigin-RevId: 632285218
2024-05-09 15:20:03 -07:00
Hai Shang 77515694c8 Internal fix.
PiperOrigin-RevId: 628181275
2024-04-25 13:56:13 -07:00
Hai Shang bcad0cae6e Last CL for the 1 bit solution in BLE v2.
PiperOrigin-RevId: 625856655
2024-04-17 17:31:38 -07:00