Commit Graph
9 Commits
Author SHA1 Message Date
Qin Wang 5bce94d8ee Move fast_pair_repository to third_party/nearby/fastpair/repository and remove all deprecated files
PiperOrigin-RevId: 546057062
2023-07-06 12:10:57 -07:00
Qin Wang 5b6ba679c7 Download device's metadata using FastPairClient::GetObservedDevice to call fast pair backend API
PiperOrigin-RevId: 545809920
2023-07-05 16:01:20 -07:00
Janusz Sobczak e00bdfb3e3 Add retro pairing in scalable seeker
Listen for manual pairing events and notify plugins.
Add retroactive pairing flow in the scalable seeker.
Actually upload the account key to the provider.
Missing bits:
- Notify the user and get their permission,
- Upload the new Account Key to user's account.

PiperOrigin-RevId: 544616348
2023-06-30 04:06:43 -07:00
Janusz Sobczak 3cf20ee3bc Store metadata in FastPairDevice
Add DeviceMetadata to FastPairDevice after downloading it.
It simplifies the code and prevents fetching the same metadata several times.
FastPairDataEncryptorImpl does not download the metadata anymore. Metadata
must have already been downloaded, otherwise we wouldn't know what FP protocol
to use.

PiperOrigin-RevId: 542490742
2023-06-22 01:48:56 -07:00
Janusz Sobczak c4139c83b0 Use RobustGattClient
PiperOrigin-RevId: 540060033
2023-06-13 13:42:19 -07:00
Qin Wang 363d2a819e Pure refactor set/get functions in FastPairDevice
PiperOrigin-RevId: 533218929
2023-05-18 12:45:55 -07:00
Janusz Sobczak 013bf1f420 Add retroactive pairing
PiperOrigin-RevId: 531637311
2023-05-12 16:56:55 -07:00
hai007 9542a4812d Renamed to "wrapper" and move fastpair windows adapter-related code into dart folder to followed the nearby structure change from platform based clients to language based in third_party.
PiperOrigin-RevId: 513635793
2023-03-02 14:12:32 -08:00
hai007 22c6db1473 Adding the implementation of the windows controller and cross language interfaces. TODO: Unit test needs to be added after the prototyped finished (b/264707418)
PiperOrigin-RevId: 500274314
2023-01-06 22:19:46 -08:00