Commit Graph
2038 Commits
Author SHA1 Message Date
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
Lucas Silva Shepard 251740d010 [fp-rs] Renaming folder windows_ble to windows, moving common to folder 2023-07-19 12:10:21 -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
Nick Bourdakos 96348b6ba7 Add BLE conversion utils
PiperOrigin-RevId: 547958170
2023-07-13 16:20:04 -07:00
Lucas Silva Shepard a855dd19e1 [fp-rs] Cross-platform Bluetooth now interfaces with impl trait rather than concrete per-platform type. 2023-07-13 16:09:37 -07:00
Lucas Silva Shepard aeed049d58 [fp-rs] Updating device scanning interface, split into start/stop/next. 2023-07-13 16:08:44 -07:00
Qin Wang 47de9bdfaa Implementation account management for fast pair windows
PiperOrigin-RevId: 547955144
2023-07-13 16:08:39 -07:00
Lucas Silva Shepard 1375066f74 [fp-rs] Adding line width formatting to Fast Pair Rust. 2023-07-13 16:08:23 -07:00
Lucas Silva Shepard 07b5750f07 [fp-rs] Implemented device discovery for FP Windows in Rust. 2023-07-13 16:08:22 -07:00
Lucas Silva Shepard 4e8c66e88b [fp-rs] Setting up boilerplate for multiplatform FP Rust. 2023-07-13 16:06:31 -07:00
Nick Bourdakos e0b2e176c8 Add Objective-C GATT characteristic container.
PiperOrigin-RevId: 547954006
2023-07-13 16:05:18 -07:00
hai007 48184e6b4d Add IfChange annotation to ensure the proto sync between 3rd party and the server copy.
PiperOrigin-RevId: 547953571
2023-07-13 16:01:55 -07:00
Janusz Sobczak 9f42452386 Fix PCP handler cleanup
All tasks in base_pcp_handler must complete before
p2p_cluster_pcp_handler is destroyed to prevent use-after-free errors.

Added a couple of missing StopDiscovery calls.

PiperOrigin-RevId: 547931350
2023-07-13 14:56:14 -07:00