Commit Graph
3116 Commits
Author SHA1 Message Date
Edwin Wu 7f488271f1 Implement openL2CAPServerWithCompletionHandler in GNCBLEMedium class.
PiperOrigin-RevId: 745877478
2025-04-09 22:58:34 -07:00
Edwin Wu 675e4f738f Refactor the GNCBLEL2CAPServer.
PiperOrigin-RevId: 745855701
2025-04-09 21:48:02 -07:00
Guogang Li 7fc2066be0 Handle discovered endpoint when using DCT format
PiperOrigin-RevId: 745276198
2025-04-08 13:46:57 -07:00
hai007 0ba9201113 Add AWDL in HelloConnection
PiperOrigin-RevId: 745025636
2025-04-08 01:10:26 -07:00
hai007 a937710422 adds disconnection error code
PiperOrigin-RevId: 744896066
2025-04-07 16:48:25 -07:00
Guogang Li 035407ed04 Fix issue to build endpoint info
PiperOrigin-RevId: 744895491
2025-04-07 16:44:31 -07:00
Francis Tsui 516c0c6e53 Improve logging of skipped share targets due to vendorID.
PiperOrigin-RevId: 744814331
2025-04-07 12:36:03 -07:00
Francis Tsui 7ce7527f60 Add logging of uploaded and downloaded cert ids.
PiperOrigin-RevId: 744807951
2025-04-07 12:16:40 -07:00
Francis Tsui b8ad929123 More frequent contact sync.
PiperOrigin-RevId: 744801485
2025-04-07 11:59:13 -07:00
Guogang Li d2ea295f2d Update payload type values
PiperOrigin-RevId: 744763516
2025-04-07 10:14:27 -07:00
hai007 cc2c6c527b Implement AWDL in connection layer (part 2)
PiperOrigin-RevId: 744206141
2025-04-05 01:49:16 -07:00
hai007 190bb141cc Implement AWDL in connection layer (part 1)
PiperOrigin-RevId: 742925127
2025-04-01 19:11:20 -07:00
Guogang Li a36f3dd52e Refactor thread pool
PiperOrigin-RevId: 742919232
2025-04-01 18:53:13 -07:00
Francis Tsui 8f52d4129a Stop generating selected contacts certs.
PiperOrigin-RevId: 742919089
2025-04-01 18:48:39 -07:00
hai007 5faaac3565 Add back in Ldt stub impl, so it can be used in chromium
PiperOrigin-RevId: 742808756
2025-04-01 13:01:05 -07:00
Johnson Lu 3e3733b10d Add fields for dynamic role switching
PiperOrigin-RevId: 742474968
2025-03-31 18:20:49 -07:00
Francis Tsui 0222177e94 Move device ID generation to login success.
PiperOrigin-RevId: 742428028
2025-03-31 15:44:59 -07:00
hai007 8acf924934 Add AWDL as a new Medium type in Nearby platform
PiperOrigin-RevId: 741515012
2025-03-28 07:14:40 -07:00
Crisrael Lucero 62f9891e45 Remove extra semi-colons to pass -Wextra-semi option in Chromium builds
PiperOrigin-RevId: 741283141
2025-03-27 14:32:12 -07:00
Edwin Wu ea78dcf616 Implement L2CAP stream wrapper.
PiperOrigin-RevId: 741161066
2025-03-27 08:22:27 -07:00
Mingshiou Wu aefcc4a8b2 Add client-side connection APIs for ble l2cap
PiperOrigin-RevId: 741061740
2025-03-27 01:38:10 -07:00
Mingshiou Wu 04b2f9cfc6 Interface definition for Ble L2CAP Medium in Nearby Connections layer
PiperOrigin-RevId: 741054574
2025-03-27 01:04:16 -07:00
Guogang Li df2ddd0f20 Enable flag to disable instant on lost
PiperOrigin-RevId: 740501388
2025-03-25 15:15:37 -07:00
Francis Tsui d9a54115ee Change scheduler to require internet connectivity for jobs that use require_connectivity flag.
PiperOrigin-RevId: 740473218
2025-03-25 13:53:26 -07:00
Francis Tsui 979d6e5bc4 Fix timer cannot be restarted after firing.
PiperOrigin-RevId: 740450323
2025-03-25 12:45:42 -07:00
Guogang Li cee47d9f98 Optimize advertising on BLE device without extended support
PiperOrigin-RevId: 740159393
2025-03-24 19:43:48 -07:00
Francis Tsui 51ef2273ca Add internet connectivity check to network monitor.
PiperOrigin-RevId: 739495202
2025-03-22 09:33:41 -07:00
Francis Tsui cf271d55b7 Clean up scheduler.
PiperOrigin-RevId: 739333476
2025-03-21 16:30:59 -07:00
Guogang Li 9e23624fba Run scheduled executor callback on executor thread
PiperOrigin-RevId: 738998896
2025-03-20 17:51:16 -07:00
Francis Tsui 12675ff9fa Add more logging to scheduled tasks.
PiperOrigin-RevId: 738969815
2025-03-20 15:59:50 -07:00
Guogang Li cc4a13ac26 Fix the bug to stop scanning when adapter is disabled
PiperOrigin-RevId: 738949740
2025-03-20 14:54:48 -07:00
Francis Tsui 1750168761 Cleanup enable_task_scheduler flag.
PiperOrigin-RevId: 738938572
2025-03-20 14:21:05 -07:00
Guogang Li a3049fe436 Internal bug fix
PiperOrigin-RevId: 738897253
2025-03-20 12:23:51 -07:00
Francis Tsui 57773f9b80 Fix DeviceID not changed after logout.
PiperOrigin-RevId: 738836722
2025-03-20 09:43:48 -07:00
Francis Tsui 70b25b4f8b Internal changes
PiperOrigin-RevId: 738496714
2025-03-19 12:25:22 -07:00
Guogang Li 3b0522c97a Add AWDL as a new Medium type in Nearby Connections
PiperOrigin-RevId: 738179116
2025-03-18 16:15:07 -07:00
Anay Wadhera a3c7a2b0b2 Merge pull request #3281 from ggli-google/compile-protos
Compile protos
2025-03-18 15:21:06 -04:00
Guogang Li 8c38777438 Compile protos 2025-03-18 12:06:42 -07:00
Guogang Li fd2cba8f05 Update proto files to include AWDL medium
PiperOrigin-RevId: 738078567
2025-03-18 11:21:54 -07:00
Francis Tsui 528ae4c4e2 Fix infinite loop if GATT server fails to start initially.
PiperOrigin-RevId: 736972233
2025-03-14 13:43:45 -07:00
Guogang Li f7e97d23fe Add scanning logic for DCT
PiperOrigin-RevId: 736888954
2025-03-14 09:33:05 -07:00
Mingshiou Wu 2ea692213d Add BleL2capPacket
PiperOrigin-RevId: 736771387
2025-03-14 00:34:14 -07:00
Guogang Li f168d0c91b Call deferal complete when characteristic_data
PiperOrigin-RevId: 736669127
2025-03-13 16:03:18 -07:00
hai007 ba24d92ca1 Add Hotspot Connector(STA) feature for IOS NC
PiperOrigin-RevId: 736593880
2025-03-13 12:11:37 -07:00
Guogang Li c20cb39f60 Implement API to scan multiple services in iOS
PiperOrigin-RevId: 736557350
2025-03-13 10:34:30 -07:00
Guogang Li 5eab533260 Simplify the dependency in mediums
PiperOrigin-RevId: 736346209
2025-03-12 19:27:47 -07:00
Guogang Li e59e94655a Fixed a crash in blocking socket
PiperOrigin-RevId: 736274234
2025-03-12 14:49:44 -07:00
Francis Tsui 5da86f5a72 Fix UB when HttpStatus code is not one in the enum.
PiperOrigin-RevId: 736244405
2025-03-12 13:24:18 -07:00
Francis Tsui b62b56c75e Move Bluetooth UUID16 conversion into Uuid class.
PiperOrigin-RevId: 735496175
2025-03-10 13:41:37 -07:00
Francis Tsui b8815f5229 Remove legacy log macros.
PiperOrigin-RevId: 735161065
2025-03-09 13:13:10 -07:00