Commit Graph
3253 Commits
Author SHA1 Message Date
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
Francis Tsui 5038280159 Remove legacy log macros.
PiperOrigin-RevId: 734977247
2025-03-08 16:36:16 -08:00
Francis Tsui e3302b720b Improve Gatt advertising reliability.
PiperOrigin-RevId: 734925395
2025-03-08 11:03:31 -08:00
hai007 ff64bb5314 Enable 1st party visibility to Nearby runtime flags build targets.
PiperOrigin-RevId: 734306439
2025-03-06 15:17:58 -08:00
Francis Tsui e8d3f607fe Allow setting of alternate service UUID on StartDiscovery.
PiperOrigin-RevId: 734298729
2025-03-06 14:57:27 -08:00
Crisrael Lucero c619a2b921 Remove extra semi-colon to pass -Wextra-semi option in Chromium builds
PiperOrigin-RevId: 734203138
2025-03-06 10:43:46 -08:00
hai007 d1850d4db0 [Analytics] Log event for disconnecting by the disallowed medium
PiperOrigin-RevId: 734037398
2025-03-06 01:23:33 -08:00
Francis Tsui 7e758061ac Allow setting of alternate service UUID on StartDiscovery.
PiperOrigin-RevId: 733850300
2025-03-05 13:34:29 -08:00
Francis Tsui 5322b66b8e Add support for alternate BLE service uuid.
PiperOrigin-RevId: 733821780
2025-03-05 12:08:33 -08:00
Francis Tsui d911c194c8 Reorganize build targets.
PiperOrigin-RevId: 733814491
2025-03-05 11:48:08 -08:00
Guogang Li 553f5dbf01 Add advertising logic for DCT
PiperOrigin-RevId: 733752366
2025-03-05 08:54:56 -08:00
Edwin Wu 18f52de400 Implement L2CAPServer
PiperOrigin-RevId: 733593766
2025-03-04 22:50:09 -08:00
Guogang Li b6dc3348a4 remove callback for multiple services scan
PiperOrigin-RevId: 733518623
2025-03-04 17:12:25 -08:00
Francis Tsui 270c23cb7f Prevent crash if CallNearbyIdentityApi flag updated during process lifetime.
PiperOrigin-RevId: 733485303
2025-03-04 15:24:21 -08:00