/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKeyTest.java | 72 SecretKey rawKey = generateKey(); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata() 91 SecretKey rawKey = generateKey(); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata() 109 SecretKey rawKey = generateKey(); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() 120 SecretKey appKey = generateKey(); in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() 139 SecretKey appKey = generateKey(); in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata() 158 SecretKey appKey = generateKey(); in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable() 175 new PlatformEncryptionKey(GENERATION_ID, platformKey), generateKey(), in decryptWrappedKeys_throwsIfPlatformKeyGenerationIdDoesNotMatch() 193 private SecretKey generateKey() throws Exception { in generateKey() method in WrappedKeyTest 196 return keyGenerator.generateKey(); in generateKey() 209 return keyGenerator.generateKey(); in generateAndroidKeyStoreKey()
|
D | TestOnlyInsecureCertificateHelperTest.java | 83 rawKeys.put(alias, Pair.create(TestData.generateKey(), /*metadata=*/ null)); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() 97 rawKeys.put(alias, Pair.create(TestData.generateKey(), /*metadata=*/ null)); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() 112 rawKeys.put(alias, Pair.create(TestData.generateKey(), /*metadata=*/ null)); in testKeepOnlyWhitelistedInsecureKeys() 115 rawKeys.put(alias, Pair.create(TestData.generateKey(), /*metadata=*/ null)); in testKeepOnlyWhitelistedInsecureKeys() 119 rawKeys.put(alias, Pair.create(TestData.generateKey(), /*metadata=*/ null)); in testKeepOnlyWhitelistedInsecureKeys()
|
D | TestData.java | 176 public static SecretKey generateKey() throws Exception { in generateKey() method in TestData 179 return keyGenerator.generateKey(); in generateKey()
|
D | KeySyncTaskTest.java | 244 SecretKey applicationKey = generateKey(); in run_doesNotSendAnythingIfNoRecoveryAgentSet() 260 SecretKey applicationKey = generateKey(); in run_doesNotSendAnythingIfNoDeviceIdIsSet() 907 SecretKey applicationKey = generateKey(); in addApplicationKey() 934 private SecretKey generateKey() throws Exception { in generateKey() method in KeySyncTaskTest 937 return keyGenerator.generateKey(); in generateKey() 949 return keyGenerator.generateKey(); in generateAndroidKeyStoreKey()
|
D | RecoverableKeyGeneratorTest.java | 180 return keyGenerator.generateKey(); in generatePlatformKey()
|
D | RecoverableKeyStoreManagerTest.java | 345 mRecoverableKeyStoreManager.generateKey(TEST_ALIAS); in removeKey_removesAKey() 356 mRecoverableKeyStoreManager.generateKey(TEST_ALIAS); in removeKey_updatesShouldCreateSnapshot() 1534 return keyGenerator.generateKey(); in generateAndroidKeyStoreKey()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | CryptoHelper.java | 50 mEncryptionKey = kgen.generateKey(); in CryptoHelper() 53 mMacKey = kgen.generateKey(); in CryptoHelper()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowKey.java | 53 secretKey = keyGenerator.generateKey(); in generate()
|
D | RebootEscrowKeyStoreManager.java | 119 return generator.generateKey(); in generateKeyStoreEncryptionKeyIfNeeded()
|
D | UnifiedProfilePasswordCache.java | 102 key = generator.generateKey(); in storePassword()
|
D | SyntheticPasswordCrypto.java | 206 SecretKey protectorKey = keyGenerator.generateKey(); in createBlob()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStoreSecurityLevel.java | 144 public KeyMetadata generateKey(@NonNull KeyDescriptor descriptor, KeyDescriptor attestationKey, in generateKey() method in KeyStoreSecurityLevel 149 return handleExceptions(() -> mSecurityLevel.generateKey( in generateKey()
|
D | SystemKeyStore.java | 85 SecretKey sk = skg.generateKey(); in generateNewKey()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoveryController.java | 550 public @NonNull Key generateKey(@NonNull String alias) throws InternalRecoveryServiceException, in generateKey() method in RecoveryController 553 String grantAlias = mBinder.generateKey(alias); in generateKey() 591 public @NonNull Key generateKey(@NonNull String alias, @Nullable byte[] metadata) in generateKey() method in RecoveryController
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | CipherInputStreamPerfTest.java | 73 mKey = generator.generateKey(); in setUp()
|
D | CipherPerfTest.java | 151 mKey = generator.generateKey(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyGenerator.java | 102 SecretKey key = mKeyGenerator.generateKey(); in generateAndStoreKey()
|
D | KeySyncUtils.java | 145 return keyGenerator.generateKey(); in generateRecoveryKey()
|
D | PlatformKeyManager.java | 471 return keyGenerator.generateKey(); in generateAesKey()
|
D | KeySyncTask.java | 526 return keyGenerator.generateKey(); in generateRecoveryKey()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | RebootEscrowDataTest.java | 56 public void generateKey() throws Exception { in generateKey() method in RebootEscrowDataTest
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ILockSettings.aidl | 80 String generateKey(String alias); in generateKey() method
|
/frameworks/base/media/jni/soundpool/ |
D | StreamManager.h | 228 K generateKey(V value, std::function<K(V)> getKforV, K oldKey = 0) {
|
D | StreamManager.cpp | 91 const int32_t id = mPerfectHash->generateKey( in getNextIdForStream()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreKeyGeneratorSpi.java | 402 metadata = iSecurityLevel.generateKey( in engineGenerateKey()
|