Commit Graph
34 Commits
Author SHA1 Message Date
Qin Wang eaf46568a4 Implement FastPairDataEncryptor for Fast Pair Windows
PiperOrigin-RevId: 508492184
2023-02-09 15:30:44 -08:00
Qin Wang 5cb25a1a70 Implement Fast Pair discoverable scanner
PiperOrigin-RevId: 508484936
2023-02-09 15:01:54 -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
Qin Wang d1d7cfad56 Replace absl::optional with std::optional
PiperOrigin-RevId: 507563369
2023-02-06 13:14:25 -08:00
Qin Wang c52f1a4000 Implement Fast Pair scanner
PiperOrigin-RevId: 506807562
2023-02-02 21:57:35 -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
Qin Wang 295564bd3a Implement Fast Pair Data Parser
PiperOrigin-RevId: 505800235
2023-01-30 14:35:10 -08:00
hai007 d1fe2bfe51 Create device metadata to store the server access response for further use.
PiperOrigin-RevId: 505217480
2023-01-27 15:02:08 -08:00
Qin Wang a0692e6306 Migrate device_info from location/nearby to third_party/nearby
PiperOrigin-RevId: 504935151
2023-01-26 14:01:11 -08:00
hai007 54fec27c00 Adding the warning log to point out the os type is hardcoded to kWindows. To avoid future misunderstands when implement in different platform.
PiperOrigin-RevId: 504899629
2023-01-26 11:41:30 -08:00
hai007 6dc37d460f Adding Anti Spoofing Key Pair into Device in proto.
PiperOrigin-RevId: 503214302
2023-01-19 11:12:17 -08:00
Qin Wang afb76ee45c Refactor Crypto Library
PiperOrigin-RevId: 502942033
2023-01-18 12:05:01 -08:00
Qin Wang 2330739b90 Migrate TaskRunner from location/nearby to third_party/nearby
PiperOrigin-RevId: 502733409
2023-01-17 17:40:55 -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
Qin Wang f94aa7548b Migrate Timer from location/nearby to third_party/nearby
PiperOrigin-RevId: 501928835
2023-01-13 13:44:17 -08:00
hai007 454d22b19a Adding factory for creating FastPairMetadataRepository instances to increase the flexibility. The unit test for the FastPairMetadataRepositoryFactory will be involved when it is called.
PiperOrigin-RevId: 501682263
2023-01-12 15:28:42 -08:00
Qin Wang 7eeea7a283 Implement ECDH and AES Encryption/ Decryption for Fast Pair Windows
PiperOrigin-RevId: 501666600
2023-01-12 14:25:57 -08:00
Qin Wang bde4a780c6 DataParser advertisement for Model Id
PiperOrigin-RevId: 501643615
2023-01-12 13:00:10 -08:00
Qin Wang 0d58411896 Remove bluetooth_address from location/nearby/cpp/fastpair and third_party/nearby/fastpair
PiperOrigin-RevId: 500821521
2023-01-09 15:23:38 -08:00
Qin Wang d9b6897189 Remove observer_list.h from location/nearby/cpp/fastpair and third_party/nearby/fastpair
PiperOrigin-RevId: 500331550
2023-01-06 22:21:04 -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
hai007 d347d0688b Create an interface to make API requests which pass Client ID, Released mode and Model ID to Nearby Devices.
PiperOrigin-RevId: 500053224
2023-01-06 03:03:31 -08:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hai007 76a002f6e3 Migrate fastpair Unauth fetcher from location/nearby/cpp/fastpair/server_access to third_party/nearby/fastpair/repository
PiperOrigin-RevId: 498413189
2022-12-29 10:40:03 -08:00
hai007 cacc7f83d1 Initial Check-in for FastPair Adapter. Details can be seen in go/fast_pair_ux_platform_c++_app_flow. ServerAccess is included for implementing the interface flow via hardcoded model ID because of the non-implemented callback in scanning.
PiperOrigin-RevId: 497281054
2022-12-22 19:10:15 -08:00
Qin Wang fe26466278 Migrate fast pair from location/nearby/cpp/fastpair to third_party/nearby/fastpair
PiperOrigin-RevId: 495726740
2022-12-15 16:31:22 -08:00
Qin Wang db0aaf75d2 Implementation FastPairDevice
PiperOrigin-RevId: 495078613
2022-12-13 11:27:44 -08:00
Qin Wang f73b23e720 Implement Protocol, Constant
PiperOrigin-RevId: 494858330
2022-12-12 16:21:35 -08:00
Qin Wang cdd65616fc Implement Ble GATT Client for Windows
PiperOrigin-RevId: 494033195
2022-12-08 17:06:52 -08:00
Qin Wang 00b1a1570e Implement FastPairScanner
PiperOrigin-RevId: 490621670
2022-11-23 18:10:43 -08:00
Qin Wang a9062b958d Implement Ble for Fast Pair Windows
PiperOrigin-RevId: 489254207
2022-11-17 10:58:34 -08:00
Qin Wang 4a0242472a Initial Fast Pair Workspace in third_part/neabry
PiperOrigin-RevId: 489013088
2022-11-16 12:48:48 -08:00