Commit Graph
24 Commits
Author SHA1 Message Date
hai007 cf2a1eb0b1 Internal change
PiperOrigin-RevId: 613133183
2024-03-06 10:21:45 -08:00
Francis Tsui d15f533721 Cleanup BUILD dependencies.
PiperOrigin-RevId: 609511614
2024-02-22 15:05:13 -08:00
Francis Tsui 63e744e133 Finish migrating account_manager.h to new location.
PiperOrigin-RevId: 592074168
2023-12-18 19:11:52 -08:00
Francis Tsui 32740f8591 Move FakeAccountManager to nearby/internal/test
PiperOrigin-RevId: 592055356
2023-12-18 17:30:16 -08:00
Francis Tsui cf69c87d95 Cleanup FakeAccountManager.
- Remove unnecessary deps.

PiperOrigin-RevId: 591964328
2023-12-18 11:41:24 -08:00
Janusz Sobczak b33c0e0332 Migrate to AnyInvocable in auth module
Merged success/failure callbacks into a single callback
in SignInCallback and AccessTokenCallback to simplify resource management and to avoid making copies.

PiperOrigin-RevId: 565744310
2023-09-15 12:11:50 -07:00
Janusz Sobczak 5393daf9f1 Merge logging and types build targets
Both "types" and "logging" build targets included "logging.h"
Merging them together avoids circular dependencies.

PiperOrigin-RevId: 555262816
2023-08-09 19:13:12 -07:00
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
Qin Wang 259350e343 Implement FastPairClient to provides APIs to the FastPair backend OAuth/un-OAuth API
PiperOrigin-RevId: 543807725
2023-06-27 11:42:27 -07:00
Qin Wang 7a25b33603 Builds FastPairInfo proto to upload device to footprints
PiperOrigin-RevId: 543496714
2023-06-26 11:36:38 -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
Qin Wang e4b12dbd80 Interface for passing HTTP Responses/Requests to observers
PiperOrigin-RevId: 542402792
2023-06-21 17:06:23 -07:00
Janusz Sobczak 20acd4eeb9 Add initial pairing in scalable seeker
PiperOrigin-RevId: 541034178
2023-06-16 16:14:14 -07:00
Janusz Sobczak 82b5e10d5b Implement StartFastPairScan
PiperOrigin-RevId: 536487662
2023-05-30 13:08:31 -07:00
Qin Wang 60ba057230 Let fake_fast_pair_repository run with SingleThreadExecutor
PiperOrigin-RevId: 532838814
2023-05-17 10:51:04 -07:00
Qin Wang 2c70aababf Add FastPairMediator
PiperOrigin-RevId: 520437860
2023-03-29 14:09:43 -07:00
Nick Bourdakos 57dd89c34c Internal change
PiperOrigin-RevId: 518076706
2023-03-20 14:27:22 -07:00
Qin Wang 1d01973d17 Fix Metadata downloading callback issue
PiperOrigin-RevId: 508767628
2023-02-10 15:25:35 -08:00
Qin Wang 21e12fe8aa Add constructor and destructor for FakeFastPairReposity
PiperOrigin-RevId: 507873629
2023-02-07 13:44:53 -08:00
Qin Wang 778af635ec compatible_with = ["//buildenv/target:non_prod"]
PiperOrigin-RevId: 507831985
2023-02-07 11:06:41 -08:00
hai007 c1ffccfacf Create FakeFastPairRepository for test support
PiperOrigin-RevId: 506720516
2023-02-02 14:17:58 -08:00
hai007 72f0b1d323 Create Fast Pair repository to manage server access API.
PiperOrigin-RevId: 506162700
2023-01-31 17:32:21 -08:00
hai007 589829f947 Create a downloader class to trigger downloading and deal with the success and failure status.
PiperOrigin-RevId: 501961621
2023-01-13 16:12:52 -08:00