Home
last modified time | relevance | path

Searched refs:getUserSerialNumbers (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DCleanupManagerTest.java70 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()
DRecoverableKeyStoreDbTest.java290 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()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DCleanupManager.java106 mSerialNumbers = mDatabase.getUserSerialNumbers(); in verifyKnownUsers()
DRecoverableKeyStoreDb.java347 public @NonNull Map<Integer, Long> getUserSerialNumbers() { in getUserSerialNumbers() method in RecoverableKeyStoreDb
/frameworks/base/services/
Dart-profile8542 …/locksettings/recoverablekeystore/storage/RecoverableKeyStoreDb;->getUserSerialNumbers()Ljava/util…