Anay Wadhera
4958a32c35
make ResultCallback a bare function type and convert to AnyInvocable
...
PiperOrigin-RevId: 551081080
2023-07-25 21:07:48 -07:00
Nick Bourdakos
de3f638129
Extract BLE code into its own target
...
PiperOrigin-RevId: 551074383
2023-07-25 20:23:59 -07:00
Anay Wadhera
8cfbc884d7
introduce v3 discovery options
...
PiperOrigin-RevId: 551053578
2023-07-25 18:15:16 -07:00
Anay Wadhera
9c6b60df3f
introduce v3 advertising options
...
PiperOrigin-RevId: 551051166
2023-07-25 18:05:08 -07:00
Janusz Sobczak
c9d1b69d41
Set expected latch before sending messages
...
This closes a time window where the sent message was received before the latch was
configured.
PiperOrigin-RevId: 551050923
2023-07-25 18:01:49 -07:00
Qin Wang
bccdf6543e
Checks if a device is already saved before writing accountkey
...
PiperOrigin-RevId: 551045458
2023-07-25 17:33:45 -07:00
Janusz Sobczak
c6d96b5971
Fix minor defects
...
Fixes use-after-free and NPE errors.
PiperOrigin-RevId: 551042892
2023-07-25 17:20:31 -07:00
Qin Wang
3456c419c8
Check account log in status before attempt to write account key
...
PiperOrigin-RevId: 551032914
2023-07-25 16:39:02 -07:00
Qin Wang
2bdafe926c
Add UX to show pairing result
...
PiperOrigin-RevId: 551027791
2023-07-25 16:18:35 -07:00
Janusz Sobczak
dfdb5a6405
Fix crash in BleV2MediumTest::StartScanningTmp
...
This fixes flakiness in the tests.
PiperOrigin-RevId: 551009093
2023-07-25 15:09:47 -07:00
Janusz Sobczak
ae69b8ff4e
Protect PendingPayload from use-after-free errors.
...
Protects against race conditions where a PendingPayload is destroyed when
another thread is still accessing it.
PiperOrigin-RevId: 550990038
2023-07-25 14:04:11 -07:00
Joy Babafemi
5b605b2426
Refactor std::function usage to absl::AnyInvocable for ZoneTransitionCallback
...
PiperOrigin-RevId: 550959839
2023-07-25 12:16:20 -07:00
Guogang Li
99c5e19f3f
internal update
...
PiperOrigin-RevId: 550729573
2023-07-24 18:15:44 -07:00
Anthony Rueda
37b9119615
[Presence] Extend shared credential proto with int64 secret id field
...
PiperOrigin-RevId: 550661806
2023-07-24 13:48:54 -07:00
hai007
15d24c08a5
Add sequence number for keep alive packet
...
PiperOrigin-RevId: 550613263
2023-07-24 10:59:52 -07:00
Janusz Sobczak
225eab6505
Fix race condition in BluetoothSocket
...
The change is for tests only.
PiperOrigin-RevId: 550023162
2023-07-21 12:42:59 -07:00
Janusz Sobczak
2c08cfc9e8
Close BaseEndpointChannel once
...
Closing the bluetoth socket and streams more than once is wasteful and error prone.
PiperOrigin-RevId: 549964135
2023-07-21 09:12:05 -07:00
hai007
e0b9ad2c2d
Make sharing_enums_cc_proto publicly visible
...
PiperOrigin-RevId: 549761350
2023-07-20 15:42:30 -07:00
Anay Wadhera
33faa84aca
add shared credential to PresenceDevice.
...
This field stores the shared credential that this PresenceDevice was decrypted with (if applicable).
PiperOrigin-RevId: 549720833
2023-07-20 13:20:21 -07:00
Qin Wang
be688441aa
Implemet save_device UX for fast pair windwos
...
PiperOrigin-RevId: 549693338
2023-07-20 11:42:21 -07:00
Qin Wang
0cd8aaab25
Write account association to footprints
...
PiperOrigin-RevId: 549693215
2023-07-20 11:39:06 -07:00
Janusz Sobczak
2e1ed2b465
Fix wifi test flakiness
...
PiperOrigin-RevId: 549683201
2023-07-20 11:06:44 -07:00
Crisrael Lucero
0e44ed626d
Refactor crypto/ directory into crypto_cros/ and crypto/
...
PiperOrigin-RevId: 549467911
2023-07-19 17:12:52 -07:00
Guogang Li
e5fdddec6d
internal update
...
PiperOrigin-RevId: 549461047
2023-07-19 16:43:10 -07:00
Anay Wadhera
d6d5310389
Weave port [8/n]: Introduce server socket implementation
...
PiperOrigin-RevId: 549446494
2023-07-19 15:43:57 -07:00
Anay Wadhera
8450f2b607
add ConnectionsDevice/PresenceDevice to offline frames builders.
...
PiperOrigin-RevId: 549380626
2023-07-19 11:46:30 -07:00
Guogang Li
c6566b00c7
internal update
...
PiperOrigin-RevId: 549351164
2023-07-19 10:15:19 -07:00
hai007
be5c5b77bd
Fix typo in parsing failed event type.
...
PiperOrigin-RevId: 549344443
2023-07-19 09:50:29 -07:00
Janusz Sobczak
6d5eab04d3
Work around race condition during encryption setup
...
The sending party may finish setting up encryption and start
sending encrypted packets while the receiving party is still configuring
encryption and expecting unencrypted packets
PiperOrigin-RevId: 549267838
2023-07-19 03:47:10 -07:00
hai007
ea110f8f8a
Add new enum and container class for the new NC result code
...
PiperOrigin-RevId: 549194812
2023-07-18 21:25:54 -07:00
Janusz Sobczak
281032ee78
Fix flakiness in TaskRunnerImpl
...
PiperOrigin-RevId: 549119512
2023-07-18 14:55:19 -07:00
Qin Wang
eec9c98a95
Refactor fast_pair_discoverable_scanner
...
PiperOrigin-RevId: 549081197
2023-07-18 12:41:23 -07:00
Nick Bourdakos
0f8e5283a4
Add GATT server
...
PiperOrigin-RevId: 549080231
2023-07-18 12:37:23 -07:00
Qin Wang
99053e4df3
Implement scanner for fast pair subsequent pairing
...
PiperOrigin-RevId: 548841808
2023-07-17 17:20:01 -07:00
Qin Wang
7899d18907
Fix flaky test::pairer_broker_impl_test
...
PiperOrigin-RevId: 548818974
2023-07-17 15:43:34 -07:00
Qin Wang
04a70b479d
Fix flay test:fast_pair_pairer_impl_test
...
PiperOrigin-RevId: 548770439
2023-07-17 12:40:45 -07:00
Anay Wadhera
2dcfe66f2e
update device provider api for multi-identity auth
...
PiperOrigin-RevId: 548767413
2023-07-17 12:30:34 -07:00
Qin Wang
8ec86f5ff9
BugFix:fast_pair_handshake_impl_test
...
PiperOrigin-RevId: 548765785
2023-07-17 12:23:37 -07:00
Anay Wadhera
484a740aec
fix data race in client socket test
...
PiperOrigin-RevId: 548761683
2023-07-17 12:08:27 -07:00
Copybara-Service
ecfd839ff5
Merge pull request #1951 from google:revert-1950-revert-1867-fpwinrs_seeker
...
PiperOrigin-RevId: 548204543
2023-07-14 13:13:04 -07:00
Anay Wadhera
daed4f5f62
Revert "Revert "Fast Pair BLE Device Discovery for Windows in Rust""
2023-07-14 15:53:52 -04:00
suetfei
6f302231c0
Merge pull request #1950 from google/revert-1867-fpwinrs_seeker
...
Revert "Fast Pair BLE Device Discovery for Windows in Rust"
2023-07-14 12:52:38 -07:00
suetfei
15d3341e34
Revert "Fast Pair BLE Device Discovery for Windows in Rust"
2023-07-14 12:50:20 -07:00
suetfei
71ce4bff1a
Merge pull request #1867 from TheShepord/fpwinrs_seeker
...
Fast Pair BLE Device Discovery for Windows in Rust
2023-07-14 11:36:00 -07:00
Anay Wadhera
bc68a6d71c
Implement updateDiscoveryOptions in pcp handler.
...
PiperOrigin-RevId: 548177687
2023-07-14 11:30:08 -07:00
Anay Wadhera
1bcb70c8b9
fix data races in weave socket test
...
PiperOrigin-RevId: 548173466
2023-07-14 11:17:33 -07:00
Crisrael Lucero
8007e15d86
Use absl::variant in ConnectionAuthenticator
...
PiperOrigin-RevId: 548173211
2023-07-14 11:13:56 -07:00
Edwin Wu
7b50a09185
Add salt for hashing service_id in generic MultiplexScoket.
...
PiperOrigin-RevId: 548151953
2023-07-14 09:54:16 -07:00
Guogang Li
a72be2bc8c
internal update
...
PiperOrigin-RevId: 547982511
2023-07-13 18:21:18 -07:00
Nick Bourdakos
99de15aef5
Delete deprecated connections/clients/ios package
...
PiperOrigin-RevId: 547960446
2023-07-13 16:29:49 -07:00