/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AttestKeyTest.java | 210 private void testEcAttestKey(boolean useStrongBox) throws Exception { in testEcAttestKey() argument 211 if (useStrongBox) { in testEcAttestKey() 220 .setIsStrongBoxBacked(useStrongBox) in testEcAttestKey() 224 testAttestKey(useStrongBox, attestKeyAlias, attestKeyCertChain); in testEcAttestKey() 227 private void testRsaAttestKey(boolean useStrongBox) throws Exception { in testRsaAttestKey() argument 228 if (useStrongBox) { in testRsaAttestKey() 237 .setIsStrongBoxBacked(useStrongBox) in testRsaAttestKey() 241 testAttestKey(useStrongBox, attestKeyAlias, attestKeyCertChain); in testRsaAttestKey() 244 private void testAttestKey(boolean useStrongBox, String attestKeyAlias, in testAttestKey() argument 251 .setIsStrongBoxBacked(useStrongBox) in testAttestKey() [all …]
|
D | NoAttestKeyTest.java | 95 private void testAttestKeyFail(boolean useStrongBox, String algorithm) throws Exception { in testAttestKeyFail() argument 96 if (useStrongBox) { in testAttestKeyFail() 109 .setIsStrongBoxBacked(useStrongBox) in testAttestKeyFail() 117 + useStrongBox + " and algorithm = " + algorithm + " as the " in testAttestKeyFail() 127 assertFalse(useStrongBox); in testAttestKeyFail()
|
D | DeviceOwnerKeyManagementTest.java | 358 String[] signaturePaddings, boolean useStrongBox, in generateKeyAndCheckAttestation() argument 369 .setIsStrongBoxBacked(useStrongBox); in generateKeyAndCheckAttestation() 440 public void assertAllVariantsOfDeviceIdAttestation(boolean useStrongBox) throws Exception { in assertAllVariantsOfDeviceIdAttestation() argument 486 supportedKey.signaturePaddingSchemes, useStrongBox, devIdOpt); in assertAllVariantsOfDeviceIdAttestation() 519 expectedImei, expectedMeid, expectedSecondImei, useStrongBox); in assertAllVariantsOfDeviceIdAttestation() 523 expectedImei, expectedMeid, expectedSecondImei, useStrongBox); in assertAllVariantsOfDeviceIdAttestation() 531 assertThat(useStrongBox && !TestUtils.hasStrongBox(sContext)).isTrue(); in assertAllVariantsOfDeviceIdAttestation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | FingerprintBoundKeysTest.java | 73 protected boolean useStrongBox; field in FingerprintBoundKeysTest 108 useStrongBox = false; in onRequestPermissionsResult() 199 .setIsStrongBoxBacked(useStrongBox) in createKey() 235 protected boolean doValidityDurationTest(boolean useStrongBox) { in doValidityDurationTest() argument 366 mActivity.useStrongBox)); in onAuthenticationSucceeded() 367 if (mActivity.useStrongBox || !hasStrongBox) { in onAuthenticationSucceeded() 387 if (!mActivity.useStrongBox && hasStrongBox) { in onDismiss() 388 mActivity.useStrongBox = true; in onDismiss()
|
/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 | 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 | AbstractUserAuthenticationAeadCipherTest.java | 35 boolean useStrongBox) throws Exception { in createUserAuthenticationKey() argument 42 .setIsStrongBoxBacked(useStrongBox); in createUserAuthenticationKey()
|
D | Utils.java | 39 static void createBiometricBoundKey(String keyName, boolean useStrongBox) throws Exception { in createBiometricBoundKey() argument 52 .setIsStrongBoxBacked(useStrongBox) in createBiometricBoundKey() 58 static void createTimeBoundSecretKey_deprecated(String keyName, boolean useStrongBox) in createTimeBoundSecretKey_deprecated() argument 72 .setIsStrongBoxBacked(useStrongBox) in createTimeBoundSecretKey_deprecated()
|
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 | AbstractUserAuthenticationKeyAgreementTest.java | 45 String keyName, int timeout, int authType, boolean useStrongBox) throws Exception { in createUserAuthenticationKey() argument 52 .setIsStrongBoxBacked(useStrongBox); in createUserAuthenticationKey()
|
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 | 73 boolean useStrongBox) throws Exception; in createUserAuthenticationKey() argument 271 private void testCredentialBoundEncryption(String keyName, int timeout, boolean useStrongBox, in testCredentialBoundEncryption() argument 293 createUserAuthenticationKey(keyName, timeout, getKeyAuthenticators(), useStrongBox); in testCredentialBoundEncryption()
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/ |
D | Utils.java | 200 public static void createTimeBoundSecretKey_deprecated(String keyName, boolean useStrongBox) in createTimeBoundSecretKey_deprecated() argument 214 .setIsStrongBoxBacked(useStrongBox) in createTimeBoundSecretKey_deprecated() 220 public static void createTimeBoundSecretKey(String keyName, int authTypes, boolean useStrongBox) in createTimeBoundSecretKey() argument 234 .setIsStrongBoxBacked(useStrongBox) in createTimeBoundSecretKey() 240 public static void generateBiometricBoundKey(String keyName, boolean useStrongBox) in generateBiometricBoundKey() argument 251 .setIsStrongBoxBacked(useStrongBox) in generateBiometricBoundKey()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 194 private KeyGenParameterSpec buildRsaKeySpec(String alias, boolean useStrongBox) { in buildRsaKeySpec() argument 202 .setIsStrongBoxBacked(useStrongBox) in buildRsaKeySpec() 231 private KeyGenParameterSpec buildEcKeySpec(String alias, boolean useStrongBox) { in buildEcKeySpec() argument 236 .setIsStrongBoxBacked(useStrongBox) in buildEcKeySpec() 340 String[] signaturePaddings, boolean useStrongBox, in generateKeyAndCheckAttestation() argument 351 .setIsStrongBoxBacked(useStrongBox); in generateKeyAndCheckAttestation() 450 public void assertAllVariantsOfDeviceIdAttestation(boolean useStrongBox) throws Exception { in assertAllVariantsOfDeviceIdAttestation() argument 494 supportedKey.signaturePaddingSchemes, useStrongBox, devIdOpt); in assertAllVariantsOfDeviceIdAttestation() 530 assertThat(useStrongBox && !hasStrongBox()).isTrue(); in assertAllVariantsOfDeviceIdAttestation()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CredentialManagementAppTest.java | 432 private KeyGenParameterSpec buildRsaKeySpec(String alias, boolean useStrongBox) { in buildRsaKeySpec() argument 440 .setIsStrongBoxBacked(useStrongBox) in buildRsaKeySpec()
|