Searched refs:getPlatformKeyGenerationId (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKey.java | 177 public int getPlatformKeyGenerationId() { in getPlatformKeyGenerationId() method in WrappedKey 211 if (wrappedKey.getPlatformKeyGenerationId() != platformKeyGenerationId) { in unwrapKeys() 217 wrappedKey.getPlatformKeyGenerationId(), in unwrapKeys()
|
D | PlatformKeyManager.java | 128 return mDatabase.getPlatformKeyGenerationId(userId); in getGenerationId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbTest.java | 96 assertEquals(generationId, retrievedKey.getPlatformKeyGenerationId()); in insertKey_replacesOldKey() 109 assertEquals(generationId, retrievedKey.getPlatformKeyGenerationId()); in insertKey_replacesOldKey() 182 assertEquals(generationId, retrievedKey.getPlatformKeyGenerationId()); in getKey_returnsInsertedKey() 214 assertEquals(generationId, retrievedKey1.getPlatformKeyGenerationId()); in getAllKeys_getsKeysWithUserIdAndGenerationId() 221 assertEquals(generationId, retrievedKey2.getPlatformKeyGenerationId()); in getAllKeys_getsKeysWithUserIdAndGenerationId() 264 assertEquals(generationId, mRecoverableKeyStoreDb.getPlatformKeyGenerationId(userId)); in getPlatformKeyGenerationId_returnsGenerationId() 269 assertEquals(-1, mRecoverableKeyStoreDb.getPlatformKeyGenerationId(42)); in getPlatformKeyGenerationId_returnsMinusOneIfNoEntry() 278 assertEquals(2, mRecoverableKeyStoreDb.getPlatformKeyGenerationId(userId)); in setPlatformKeyGenerationId_replacesOldEntry() 316 assertEquals(generationId, mRecoverableKeyStoreDb.getPlatformKeyGenerationId(userId)); in setUserSerialNumbers_keepsPlatformKeyGenerationId() 376 assertThat(mRecoverableKeyStoreDb.getPlatformKeyGenerationId(userId)).isEqualTo(-1); in removeUserFromAllTables_removesData()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | CleanupManager.java | 166 int generationId = mDatabase.getPlatformKeyGenerationId(userId); in removeAllKeysForRecoveryAgent()
|
D | RecoverableKeyStoreDb.java | 106 values.put(KeysEntry.COLUMN_NAME_GENERATION_ID, wrappedKey.getPlatformKeyGenerationId()); in insertKey() 424 public int getPlatformKeyGenerationId(int userId) { in getPlatformKeyGenerationId() method in RecoverableKeyStoreDb
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKeyTest.java | 114 assertEquals(GENERATION_ID, wrappedKey.getPlatformKeyGenerationId()); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey()
|
D | PlatformKeyManagerTest.java | 255 mRecoverableKeyStoreDb.getPlatformKeyGenerationId(USER_ID_FIXTURE)); in init_savesGenerationIdToDatabase()
|
/frameworks/base/services/ |
D | art-profile | 8485 PLcom/android/server/locksettings/recoverablekeystore/WrappedKey;->getPlatformKeyGenerationId()I 8533 …ver/locksettings/recoverablekeystore/storage/RecoverableKeyStoreDb;->getPlatformKeyGenerationId(I)I
|