Commit Graph
1975 Commits
Author SHA1 Message Date
Lucas Silva Shepard 494eb66027 [fp-rs] Implemented custom error types for Bluetooth library. 2023-07-29 17:18:39 -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
Janusz Sobczak 31e4b45dd4 Sync before checking logs
The events are logged on a different threads. We should wait until all logs
are processed before verifying expectations.

PiperOrigin-RevId: 547926810
2023-07-13 14:41:36 -07:00
Anay Wadhera 41f0b3d330 Fix use of uninitialized value error in Weave.
PiperOrigin-RevId: 547902671
2023-07-13 13:28:54 -07:00
Guogang Li 33e2fdddf4 internal cleanup
PiperOrigin-RevId: 547888600
2023-07-13 12:45:54 -07:00
Anay Wadhera 770f59b748 Update connection authenticator to account for multi-identity support.
PiperOrigin-RevId: 547880233
2023-07-13 12:18:05 -07:00
Hai Shang 66d101926a internal clean up
PiperOrigin-RevId: 547874111
2023-07-13 11:56:55 -07:00
Janusz Sobczak 11ed2cec74 Improve timing in OfflineServiceControllerTest
Some of the tests are flaky.
Significantly increased timeouts will give us confidence that
tests are failing due to a defect and not due to a test taking a little
bit more time than usual.

PiperOrigin-RevId: 547819011
2023-07-13 09:10:35 -07:00
Anay Wadhera f95a875cde Weave port [7/n]: Introduce Weave client socket implementation
PiperOrigin-RevId: 547812816
2023-07-13 08:45:16 -07:00
Janusz Sobczak 02e37e8a0c Fix flakiness in analytics
`session_was_logged_` could be set out of order if a new session started
immediately after terminating the previous. Fixing that.

Check the logged messages rather then the voltile analytics recorder state
in the tests.

PiperOrigin-RevId: 547732773
2023-07-13 02:35:21 -07:00
Fan Di ddaf447212 Add salt for hashing service_id in generic MultiplexScoket.
PiperOrigin-RevId: 547667469
2023-07-12 19:58:53 -07:00
Guogang Li b113f5550d Workaround for "backward reference detected" issue
PiperOrigin-RevId: 547646854
2023-07-12 17:34:04 -07:00
Guogang Li 85a01e9636 internal refactor
PiperOrigin-RevId: 547586065
2023-07-12 13:31:57 -07:00
Lucas Silva Shepard 5306df9251 [fp-rs] Adding Rust and IntelliJ to .gitignore 2023-07-12 12:42:45 -07:00
Lucas Silva Shepard c51f91f1e0 [fp-rs] Adding Windows build to Fast Pair Rust validator in Github Actions. 2023-07-12 12:42:32 -07:00