commit | a3c434529b8f0f7911d8666c2d64c0cfb03406a3 | [log] [tgz] |
---|---|---|
author | Eric Lin <ericth@google.com> | Thu Mar 10 08:35:04 2022 +0000 |
committer | Eric Lin <ericth@google.com> | Thu Mar 10 09:13:03 2022 +0000 |
tree | e7a2ab6638eb5bf64dcaecb814ad083371cdf8bd | |
parent | 5f301929286fd5aba8dd68d16f5ac4332772c6c3 [diff] |
Add AccountKeys support in FastPairTestDataProvider. Test: Manually install NearbyMultiDevicesClientsSnippets.apk, check logs with headphone in pairing mode around Bug: 204780849 Change-Id: Ibc318e53e27f3abe92c703f9b12988ddd1d0d292
diff --git a/nearby/tests/multidevices/clients/src/android/nearby/multidevices/fastpair/seeker/dataprovider/FastPairTestDataProvider.kt b/nearby/tests/multidevices/clients/src/android/nearby/multidevices/fastpair/seeker/dataprovider/FastPairTestDataProvider.kt index 9ff513a..e1ff454 100644 --- a/nearby/tests/multidevices/clients/src/android/nearby/multidevices/fastpair/seeker/dataprovider/FastPairTestDataProvider.kt +++ b/nearby/tests/multidevices/clients/src/android/nearby/multidevices/fastpair/seeker/dataprovider/FastPairTestDataProvider.kt
@@ -44,7 +44,11 @@ callback: FastPairAccountDevicesMetadataCallback ) { val requestedAccount = request.account - Log.d(TAG, "onLoadFastPairAccountDevicesMetadata(account: $requestedAccount)") + val requestedAccountKeys = request.accountKeys + Log.d( + TAG, "onLoadFastPairAccountDevicesMetadata(" + + "account: $requestedAccount, accountKeys:$requestedAccountKeys)" + ) Log.d(TAG, FastPairTestDataCache.dumpAccountKeyDeviceMetadata()) callback.onFastPairAccountDevicesMetadataReceived(