Searched refs:mFastPairAccountKeyStorage (Results 1 – 3 of 3) sorted by relevance
83 private FastPairAccountKeyStorage mFastPairAccountKeyStorage; field in FastPairAccountKeyStorageTest225 mFastPairAccountKeyStorage = new FastPairAccountKeyStorage(mMockContext, TEST_SIZE); in testCreateWithValidSize_storageCreated()226 assertThat(mFastPairAccountKeyStorage).isNotNull(); in testCreateWithValidSize_storageCreated()227 assertThat(mFastPairAccountKeyStorage.capacity()).isEqualTo(TEST_SIZE); in testCreateWithValidSize_storageCreated()232 mFastPairAccountKeyStorage = in testCreateWithSizeTooSmall_throwsException()238 mFastPairAccountKeyStorage = new FastPairAccountKeyStorage(mMockContext, TEST_SIZE); in testAddKeyWhileStorageEmpty_keyAdded()241 mFastPairAccountKeyStorage.add(new AccountKey(TEST_ACCOUNT_KEY_1)); in testAddKeyWhileStorageEmpty_keyAdded()245 List<AccountKey> returnedKeys = mFastPairAccountKeyStorage.getAllAccountKeys(); in testAddKeyWhileStorageEmpty_keyAdded()252 mFastPairAccountKeyStorage = new FastPairAccountKeyStorage(mMockContext, TEST_SIZE); in testAddKeyWhileStorageAtMax_keyAddedAndLruDropped()255 mFastPairAccountKeyStorage.add(new AccountKey(TEST_ACCOUNT_KEY_1)); in testAddKeyWhileStorageAtMax_keyAddedAndLruDropped()[all …]
59 private final FastPairAccountKeyStorage mFastPairAccountKeyStorage; field in FastPairProvider104 mFastPairAccountKeyStorage.load();177 mFastPairAccountKeyStorage = new FastPairAccountKeyStorage(mContext, 5); in FastPairProvider()180 mGattServerCallbacks, mAutomaticAcceptance, mFastPairAccountKeyStorage); in FastPairProvider()238 mFastPairAdvertiser.advertiseAccountKeys(mFastPairAccountKeyStorage.getAllAccountKeys(), in advertiseAccountKeys()276 mFastPairAccountKeyStorage.dump(writer); in dump()
105 private final FastPairAccountKeyStorage mFastPairAccountKeyStorage; field in FastPairGattServer411 mFastPairAccountKeyStorage = Objects.requireNonNull(fastPairAccountKeyStorage); in FastPairGattServer()694 List<AccountKey> storedAccountKeys = mFastPairAccountKeyStorage.getAllAccountKeys(); in processKeyBasedPairing()974 mFastPairAccountKeyStorage.add(receivedKey); in processAccountKey()