/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | FingerprintBoundKeysTest.java | 71 protected boolean useStrongBox; field in FingerprintBoundKeysTest 100 useStrongBox = false; in onRequestPermissionsResult() 169 .setIsStrongBoxBacked(useStrongBox) in createKey() 205 protected boolean doValidityDurationTest(boolean useStrongBox) { in doValidityDurationTest() argument 323 mActivity.useStrongBox)); in onAuthenticationSucceeded() 324 if (mActivity.useStrongBox || !hasStrongBox) { in onAuthenticationSucceeded() 344 if (!mActivity.useStrongBox && hasStrongBox) { in onDismiss() 345 mActivity.useStrongBox = true; in onDismiss()
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | Utils.java | 167 public static void createTimeBoundSecretKey_deprecated(String keyName, boolean useStrongBox) in createTimeBoundSecretKey_deprecated() argument 181 .setIsStrongBoxBacked(useStrongBox) in createTimeBoundSecretKey_deprecated() 187 static void createTimeBoundSecretKey(String keyName, int authTypes, boolean useStrongBox) in createTimeBoundSecretKey() argument 201 .setIsStrongBoxBacked(useStrongBox) in createTimeBoundSecretKey() 207 public static void generateBiometricBoundKey(String keyName, boolean useStrongBox) in generateBiometricBoundKey() argument 218 .setIsStrongBoxBacked(useStrongBox) in generateBiometricBoundKey()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | AbstractUserAuthenticationMacTest.java | 31 boolean useStrongBox) throws Exception { in createUserAuthenticationKey() argument 35 .setIsStrongBoxBacked(useStrongBox) in createUserAuthenticationKey()
|
D | Utils.java | 40 static void createBiometricBoundKey(String keyName, boolean useStrongBox) throws Exception { in createBiometricBoundKey() argument 53 .setIsStrongBoxBacked(useStrongBox) in createBiometricBoundKey() 59 static void createTimeBoundSecretKey_deprecated(String keyName, boolean useStrongBox) in createTimeBoundSecretKey_deprecated() argument 73 .setIsStrongBoxBacked(useStrongBox) in createTimeBoundSecretKey_deprecated()
|
D | AbstractUserAuthenticationSignatureTest.java | 33 boolean useStrongBox) throws Exception { in createUserAuthenticationKey() argument 39 .setIsStrongBoxBacked(useStrongBox) in createUserAuthenticationKey()
|
D | AbstractUserAuthenticationCipherTest.java | 34 boolean useStrongBox) throws Exception { in createUserAuthenticationKey() argument 41 .setIsStrongBoxBacked(useStrongBox); in createUserAuthenticationKey()
|
D | CredentialCryptoTests.java | 115 private void testTimedKey(String keyName, boolean useStrongBox) { in testTimedKey() argument 118 Utils.createTimeBoundSecretKey_deprecated(keyName, useStrongBox /* useStrongBox */); in testTimedKey() 154 if (useStrongBox) { in testTimedKey()
|
D | BiometricStrongTests.java | 196 private void testBiometricBoundEncryption(String keyName, byte[] secret, boolean useStrongBox) { in testBiometricBoundEncryption() argument 199 Utils.createBiometricBoundKey(keyName, useStrongBox); in testBiometricBoundEncryption() 242 if (useStrongBox) { in testBiometricBoundEncryption()
|
D | AbstractUserAuthenticationTest.java | 71 boolean useStrongBox) throws Exception; in createUserAuthenticationKey() argument 269 private void testCredentialBoundEncryption(String keyName, int timeout, boolean useStrongBox, in testCredentialBoundEncryption() argument 291 createUserAuthenticationKey(keyName, timeout, getKeyAuthenticators(), useStrongBox); in testCredentialBoundEncryption()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 218 private KeyGenParameterSpec buildRsaKeySpec(String alias, boolean useStrongBox) { in buildRsaKeySpec() argument 226 .setIsStrongBoxBacked(useStrongBox) in buildRsaKeySpec() 255 private KeyGenParameterSpec buildEcKeySpec(String alias, boolean useStrongBox) { in buildEcKeySpec() argument 260 .setIsStrongBoxBacked(useStrongBox) in buildEcKeySpec() 349 String[] signaturePaddings, boolean useStrongBox, in generateKeyAndCheckAttestation() argument 360 .setIsStrongBoxBacked(useStrongBox); in generateKeyAndCheckAttestation() 458 public void assertAllVariantsOfDeviceIdAttestation(boolean useStrongBox) throws Exception { in assertAllVariantsOfDeviceIdAttestation() argument 500 supportedKey.signaturePaddingSchemes, useStrongBox, devIdOpt); in assertAllVariantsOfDeviceIdAttestation() 535 assertThat(useStrongBox && !hasStrongBox()).isTrue(); in assertAllVariantsOfDeviceIdAttestation()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CredentialManagementAppTest.java | 403 private KeyGenParameterSpec buildRsaKeySpec(String alias, boolean useStrongBox) { in buildRsaKeySpec() argument 411 .setIsStrongBoxBacked(useStrongBox) in buildRsaKeySpec()
|