Searched refs:getUserSerialNumbers (Results 1 – 5 of 5) sorted by relevance
70 when(mDatabase.getUserSerialNumbers()).thenReturn(new HashMap<>()); in registerRecoveryAgent_unknownUser_storesInDb()86 when(mDatabase.getUserSerialNumbers()).thenReturn(new HashMap<>()); in registerRecoveryAgent_registersSameUser_doesntChangeDb()100 when(mDatabase.getUserSerialNumbers()).thenReturn(knownSerialNumbers); in verifyKnownUsers_newSerialNumber_deletesData()
290 assertEquals(2, mRecoverableKeyStoreDb.getUserSerialNumbers().size()); in getUserSerialNumbers_returnsSerialNumbers()291 assertEquals(serialNumber, mRecoverableKeyStoreDb.getUserSerialNumbers().get(userId)); in getUserSerialNumbers_returnsSerialNumbers()292 assertEquals(serialNumber2, mRecoverableKeyStoreDb.getUserSerialNumbers().get(userId2)); in getUserSerialNumbers_returnsSerialNumbers()303 assertEquals(1, mRecoverableKeyStoreDb.getUserSerialNumbers().size()); in getUserSerialNumbers_returnsMinusOneIfNoEntry()304 assertEquals(serialNumber, mRecoverableKeyStoreDb.getUserSerialNumbers().get(userId)); in getUserSerialNumbers_returnsMinusOneIfNoEntry()329 assertEquals(serialNumber, mRecoverableKeyStoreDb.getUserSerialNumbers().get(userId)); in setPlatformKeyGenerationId_keepsUserSerialNumber()
106 mSerialNumbers = mDatabase.getUserSerialNumbers(); in verifyKnownUsers()
347 public @NonNull Map<Integer, Long> getUserSerialNumbers() { in getUserSerialNumbers() method in RecoverableKeyStoreDb
8542 …/locksettings/recoverablekeystore/storage/RecoverableKeyStoreDb;->getUserSerialNumbers()Ljava/util…