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
Daniel Classon
05dac6b184
[Nearby Connections] Rename async scanning flag
...
Renames the enable_ble_v2_async_scanning_advertising flag to just
enable_ble_v2_async_scanning, reflecting that scanning/advertising
can be enabled independently. Work required to add async
advertising is tracked in b/333408829.
PiperOrigin-RevId: 624254277
2024-04-12 12:15:21 -07:00
hai007
1e1d841965
Multiplex implementation - Create Virtual Output Stream
...
PiperOrigin-RevId: 623540454
2024-04-10 10:44:50 -07:00
Hai Shang
8f51d92f22
internal fix
...
PiperOrigin-RevId: 622893779
2024-04-08 10:49:27 -07:00
Hai Shang
d2c8fc3cd5
Internal fix
...
PiperOrigin-RevId: 622865759
2024-04-08 09:18:16 -07:00
Hai Shang
ca936891c8
Add start/stop legacyDeviceAdvertising in connections ble v2
...
PiperOrigin-RevId: 621303221
2024-04-02 14:52:36 -07:00
Hai Shang
6162fb5f80
add legacy_device_discovered_cb to DiscoveredPeripheralCallback
...
PiperOrigin-RevId: 619702145
2024-03-27 17:45:37 -07:00
hai007
a633a940f4
Multiplex implementation - Frame generation
...
PiperOrigin-RevId: 616247739
2024-03-15 14:45:01 -07:00
Suet-Fei Li
fa2bcbe579
Internal Refactor.
...
PiperOrigin-RevId: 610806721
2024-02-27 10:56:35 -08:00
Daniel Classon
f09368247b
[Nearby Connections] Use async StartScanning when flag enabled
...
Creates the feature flag `enable_ble_v2_async_scanning_advertising` which
enables/disables the use of the async StartScanning, StopScanning,
StartAdvertising, StopAdvertising, etc methods over the soon-to-be deprecated
synchronous versions of those methods. Opted for feature flag over NearbyFlag,
as ChromeOS is the only current consumer and doesn't use Mendel.
Also sets the feature flag to enabled in the ServiceControllerRouter, which
is where ChromeOS sets NC feature flags at startup.
This CL also fully links up the asynchronous Scanning methods. Advertising
will be addressed in a follow up CL.
PiperOrigin-RevId: 608158273
2024-02-18 12:59:02 -08:00
Anay Wadhera
80c0d0916e
Introduce basic handling for on lost advertisements.
...
PiperOrigin-RevId: 602910198
2024-01-30 19:33:35 -08:00
Francis Tsui
c2ade33c9c
No public changes.
...
PiperOrigin-RevId: 597033150
2024-01-09 13:46:42 -08:00
Anay Wadhera
7022e6c5d9
Create instant on loss advertisement format
...
PiperOrigin-RevId: 590680562
2023-12-13 12:33:12 -08:00
Hai Shang
dde1588871
internal fix
...
PiperOrigin-RevId: 589025655
2023-12-07 23:21:12 -08:00
hai007
6ebe52a418
Add Intel PIE based API to set Hotspot client scan channel
...
PiperOrigin-RevId: 586019580
2023-11-28 10:09:16 -08:00
Hai Shang
6ee53db8f5
Internal fix on p2p_cluster_pcp_handler
...
PiperOrigin-RevId: 584669043
2023-11-22 10:44:38 -08:00
Janusz Sobczak
746a8b6231
Use AnyInvocable in mediums/ble_v2
...
PiperOrigin-RevId: 566437160
2023-09-18 15:56:54 -07:00
Janusz Sobczak
48eeee8d2b
Migrate to AnyInvocable in webrtc medium
...
PiperOrigin-RevId: 565805742
2023-09-15 16:26:09 -07:00
Janusz Sobczak
52c3360bd3
Use AnyInvocable in DiscoveredPeripheralCallback
...
PiperOrigin-RevId: 564523999
2023-09-11 15:48:25 -07:00