Searched refs:GENERATION_ID (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKeyTest.java | 52 private static final int GENERATION_ID = 1; field in WrappedKeyTest 71 GENERATION_ID, generateAndroidKeyStoreKey()); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata() 90 GENERATION_ID, generateAndroidKeyStoreKey()); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata() 108 GENERATION_ID, generateAndroidKeyStoreKey()); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() 113 assertEquals(GENERATION_ID, wrappedKey.getPlatformKeyGenerationId()); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() 122 new PlatformEncryptionKey(GENERATION_ID, platformKey), appKey, NULL_METADATA); in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() 127 new PlatformDecryptionKey(GENERATION_ID, platformKey), keysByAlias); in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() 141 new PlatformEncryptionKey(GENERATION_ID, platformKey), appKey, NON_NULL_METADATA); in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata() 146 new PlatformDecryptionKey(GENERATION_ID, platformKey), keysByAlias); in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata() 160 new PlatformEncryptionKey(GENERATION_ID, platformKey), appKey, NULL_METADATA); in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable() [all …]
|
D | RecoverableKeyStoreManagerTest.java | 147 private static final int GENERATION_ID = 1; field in RecoverableKeyStoreManagerTest 1273 WrappedKey wrappedKey = new WrappedKey(NONCE, KEY_MATERIAL, keyMetadata, GENERATION_ID, in setRecoveryStatus()
|