Home
last modified time | relevance | path

Searched refs:useStrongBox (Results 1 – 11 of 11) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java71 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/
DUtils.java167 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/
DAbstractUserAuthenticationMacTest.java31 boolean useStrongBox) throws Exception { in createUserAuthenticationKey() argument
35 .setIsStrongBoxBacked(useStrongBox) in createUserAuthenticationKey()
DUtils.java40 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()
DAbstractUserAuthenticationSignatureTest.java33 boolean useStrongBox) throws Exception { in createUserAuthenticationKey() argument
39 .setIsStrongBoxBacked(useStrongBox) in createUserAuthenticationKey()
DAbstractUserAuthenticationCipherTest.java34 boolean useStrongBox) throws Exception { in createUserAuthenticationKey() argument
41 .setIsStrongBoxBacked(useStrongBox); in createUserAuthenticationKey()
DCredentialCryptoTests.java115 private void testTimedKey(String keyName, boolean useStrongBox) { in testTimedKey() argument
118 Utils.createTimeBoundSecretKey_deprecated(keyName, useStrongBox /* useStrongBox */); in testTimedKey()
154 if (useStrongBox) { in testTimedKey()
DBiometricStrongTests.java196 private void testBiometricBoundEncryption(String keyName, byte[] secret, boolean useStrongBox) { in testBiometricBoundEncryption() argument
199 Utils.createBiometricBoundKey(keyName, useStrongBox); in testBiometricBoundEncryption()
242 if (useStrongBox) { in testBiometricBoundEncryption()
DAbstractUserAuthenticationTest.java71 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/
DKeyManagementTest.java218 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/
DCredentialManagementAppTest.java403 private KeyGenParameterSpec buildRsaKeySpec(String alias, boolean useStrongBox) { in buildRsaKeySpec() argument
411 .setIsStrongBoxBacked(useStrongBox) in buildRsaKeySpec()