/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGeneratorTest.java | 117 keyGenerator.generateKey(); in testGenerateWithoutInitThrowsIllegalStateException() 209 keyGenerator.generateKey(); in testInitWithAlgParamsAndNullSecureRandomHelper() 245 SecretKey key = keyGenerator.generateKey(); in testDefaultKeySize() 284 SecretKey key = keyGenerator.generateKey(); in testAesKeySupportedSizesHelper() 328 SecretKey key = keyGenerator.generateKey(); in testDESKeySupportedSizes() 389 SecretKey key = keyGenerator.generateKey(); in testHmacKeySupportedSizesHelper() 438 SecretKey key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() 447 key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() 709 SecretKey key = keyGenerator.generateKey(); in testGenerateHonorsRequestedAuthorizationsHelper() 748 SecretKey key = keyGenerator.generateKey(); in testLimitedUseKey()
|
D | SecretKeyFactoryTest.java | 121 SecretKey key = keyGenerator.generateKey(); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 190 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys() 234 SecretKey keystoreKey = keyGenerator.generateKey(); in testGenerateSecretRejectsKeyInfo()
|
D | ImportWrappedKeyTest.java | 153 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES() 201 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
|
D | PerformanceTestBase.java | 215 return mGenerator.getSecretKeyGenerator().generateKey(); in generateSecretKey()
|
D | KeyAttestationTest.java | 618 generateKey(spec, KeyProperties.KEY_ALGORITHM_AES); in testAesAttestation() 638 generateKey(spec, KeyProperties.KEY_ALGORITHM_HMAC_SHA256); in testHmacAttestation() 1337 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey() method in KeyAttestationTest 1342 keyGenerator.generateKey(); in generateKey()
|
D | KeyGenParameterSpecTest.java | 356 assertThrows(ProviderException.class, keyGenerator::generateKey); in testBuilderSetUidGenerateKeyThrowsException()
|
D | AndroidKeyStoreTest.java | 1798 final SecretKey key = generator.generateKey(); in testKeyStore_SetKeyEntry_ReplacedWithSameGeneratedSecretKey()
|
D | KeyStoreTest.java | 157 return kg.generateKey(); in generateSecretKey()
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | Utils.java | 184 keyGenerator.generateKey(); in createTimeBoundSecretKey_deprecated() 204 keyGenerator.generateKey(); in createTimeBoundSecretKey() 227 keyGenerator.generateKey(); in generateBiometricBoundKey()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | AbstractUserAuthenticationMacTest.java | 41 keyGenerator.generateKey(); in createUserAuthenticationKey()
|
D | Utils.java | 56 keyGenerator.generateKey(); in createBiometricBoundKey() 76 keyGenerator.generateKey(); in createTimeBoundSecretKey_deprecated()
|
D | AbstractUserAuthenticationCipherTest.java | 46 keyGenerator.generateKey(); in createUserAuthenticationKey()
|
/cts/hostsidetests/appsecurity/test-apps/AuthBoundKeyApp/src/com/android/cts/authboundkey/ |
D | AuthBoundKeyAppTest.java | 64 SecretKey key = keyGenerator.generateKey(); in testGenerateAuthBoundKey()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | FingerprintBoundKeysTest.java | 171 keyGenerator.generateKey(); in createKey()
|
D | UnlockedDeviceRequiredTest.java | 185 keyGenerator.generateKey(); in createKey()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | AuthenticationBoundKeyTestActivity.java | 232 keyGenerator.generateKey(); in createKey()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | UserAuthTest.java | 176 kg.generateKey(); in createAuthBoundKey()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | SecurityLoggingTest.java | 322 generateKey(GENERATED_KEY_ALIAS); in generateKeystoreEvents() 575 private void generateKey(String keyAlias) throws Exception { in generateKey() method in SecurityLoggingTest
|