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
Guogang Li
dec2ff910a
Multiple Service scanning implementation for G3.
...
PiperOrigin-RevId: 733458126
2025-03-04 14:05:10 -08:00
Guogang Li
b814358f89
Add to allow scan multiple BLE services
...
PiperOrigin-RevId: 733445592
2025-03-04 13:32:37 -08:00
Johnson Lu
45ee0d0df3
Add version to AutoResumeFrame
...
PiperOrigin-RevId: 733181295
2025-03-03 22:05:51 -08:00
Francis Tsui
0b2a0961f9
Remove unnecessary c'tor from struct.
...
PiperOrigin-RevId: 733138400
2025-03-03 18:53:38 -08:00
hai007
d22c273f1f
[Quick Share] Track whether user visited quickshare.google/qrcode after tapping on the "Try again" button
...
PiperOrigin-RevId: 733037389
2025-03-03 13:23:08 -08:00
Guogang Li
bb61e946ce
Fixed issues in iOS framework
...
PiperOrigin-RevId: 733018914
2025-03-03 12:31:02 -08:00
Francis Tsui
8d9d310a07
Refactor BleAdvertisementWatcher.
...
PiperOrigin-RevId: 732976572
2025-03-03 10:39:48 -08:00
Guogang Li
fe6ad715ac
Apply base85 encoding and decoding
...
PiperOrigin-RevId: 731877970
2025-02-27 14:58:15 -08:00
Guogang Li
528c71490c
fix a base85 bug on iOS
...
PiperOrigin-RevId: 731849590
2025-02-27 13:44:15 -08:00
Anay Wadhera
37538b817e
Move to macos dylib
...
PiperOrigin-RevId: 731803885
2025-02-27 11:39:35 -08:00
Anay Wadhera
29792c8938
Swap rules to OSS
...
PiperOrigin-RevId: 731795253
2025-02-27 11:16:31 -08:00
Anay Wadhera
e2b1f47bc5
Add a function to free the memory allocated when calling GetStringFlag
...
PiperOrigin-RevId: 731778685
2025-02-27 10:35:26 -08:00
Edwin Wu
20462fafd9
Refactor GNCNWFramework to take an include_peer_to_peer option in the constructor instead of passing it to each function call.
...
PiperOrigin-RevId: 731583634
2025-02-26 22:25:06 -08:00
Guogang Li
6ff9da2d90
refactor on DCT advertisement
...
PiperOrigin-RevId: 731443070
2025-02-26 13:52:29 -08:00
Guogang Li
5c3cc4eb71
Add base85 extension to NSData
...
PiperOrigin-RevId: 731381576
2025-02-26 11:02:30 -08:00
Guogang Li
45d6317a64
Don't report upgrade failure for same medium upgrade
...
PiperOrigin-RevId: 731153168
2025-02-25 21:41:34 -08:00
hai007
fb8bfe05b2
[NearbyConnections] Fix IOS incorrect endpoint info from GATT server
...
1. Put the entire regular advertisement onto the gatt server
2. Provide the gatt read characterestics with offset.
PiperOrigin-RevId: 731102862
2025-02-25 18:17:05 -08:00
Edwin Wu
90d687e120
Removing Serial Executor
...
PiperOrigin-RevId: 731094355
2025-02-25 17:44:02 -08:00
Suet-Fei Li
1b58bc4648
Add back NearbyConnections apple_static_xcframework needed by Kokoro.
...
PiperOrigin-RevId: 731070050
2025-02-25 16:24:18 -08:00
hai007
9cd75f8e27
[NearbyConnections] Update ios BLE discovery related logs
...
PiperOrigin-RevId: 730693835
2025-02-24 19:54:06 -08:00
Guogang Li
202915c310
Add DCT advertising UUID
...
PiperOrigin-RevId: 730673334
2025-02-24 18:17:37 -08:00
Guogang Li
eb914ecc59
A small refactor to start BLE V2 advertisement
...
PiperOrigin-RevId: 730619310
2025-02-24 15:32:04 -08:00
hai007
40fe5ec318
[Quick Share] Introduce a new SharingUseCase
...
PiperOrigin-RevId: 730588845
2025-02-24 14:06:57 -08:00
Guogang Li
a7bb6673a6
internal update
...
PiperOrigin-RevId: 729773934
2025-02-21 22:24:57 -08:00
Guogang Li
5f3b7493cc
enhance base85 test
...
PiperOrigin-RevId: 729773681
2025-02-21 22:20:16 -08:00
Anay Wadhera
b2da90cf81
Rename device target back to NearbyConnections.
...
PiperOrigin-RevId: 729556500
2025-02-21 09:29:46 -08:00
Bryan Kersting
79ae5cab5a
Fix unsound Rust reference in np_ffi_CredentialSlab_add_v0_credential
...
Currently, in the Rust implementation of `np_ffi_CredentialSlab_add_v0_credential`, we take the underlying buffer of the passed `V0MatchableCredential` and turn it into a Rust `&[u8]` by calling `unsafe slice::from_raw_parts`. The safety contract of `from_raw_parts` states that the passed pointer can neither be null, nor be unaligned. In the `advertisment_decoder_rust_impl.cc` we have a code path that leads to a null pointer being passed, though. We get a nullpointer if we pass a `std::vector` of size 0. This change fixes the issue by making sure we always pass a non-null buffer.
PiperOrigin-RevId: 729417182
2025-02-21 00:37:51 -08:00
hai007
51607dc548
Update the assigned mediums and leave those unassigned as the default false.
...
PiperOrigin-RevId: 729383663
2025-02-20 22:26:57 -08:00
Guogang Li
fdb0f0f351
read endpoint info
...
PiperOrigin-RevId: 729312008
2025-02-20 17:31:45 -08:00
Anay Wadhera
add588c622
Add support for setting the flag reader.
...
PiperOrigin-RevId: 729271203
2025-02-20 15:19:46 -08:00
Anay Wadhera
bddf053bf3
Split framework targets into per-arch and per-target frameworks.
...
PiperOrigin-RevId: 729231119
2025-02-20 13:29:24 -08:00
Guogang Li
c3467c0c2a
handle new advertisement format
...
PiperOrigin-RevId: 729140392
2025-02-20 09:24:37 -08:00
Edwin Wu
0057b219d2
In windows, discovery phase and outgoing attempt won't be recorded due to pointer is reset to null.
...
PiperOrigin-RevId: 728907296
2025-02-19 19:15:40 -08:00
Edwin Wu
0c1b0ae1d9
Rename NWFramwork folder name to a more proper name WiFiCommon
...
PiperOrigin-RevId: 728865577
2025-02-19 16:43:32 -08:00
Juliet Levesque
e7f45020bb
[BLE V2] Mark ChromeOS fast advertisements as non-connectable
...
PiperOrigin-RevId: 728862084
2025-02-19 16:33:41 -08:00
Guogang Li
46c0f153fe
handle data element
...
PiperOrigin-RevId: 728727545
2025-02-19 10:38:28 -08:00