Home
last modified time | relevance | path

Searched refs:hasStrongBox (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java192 if (TestUtils.hasStrongBox(getContext())) { in testInitWithAlgParamsAndNullSecureRandom()
233 if (TestUtils.hasStrongBox(getContext())) { in testDefaultKeySize()
255 if (TestUtils.hasStrongBox(getContext())) { in testAesKeySupportedSizes()
346 if (TestUtils.hasStrongBox(getContext())) { in testHmacKeySupportedSizes()
410 if (TestUtils.hasStrongBox(getContext())) { in testHmacKeyOnlyOneDigestCanBeAuthorized()
484 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownBlockModeFails()
510 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownEncryptionPaddingFails()
536 if (TestUtils.hasStrongBox(getContext())) { in testInitWithSignaturePaddingFails()
561 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownDigestFails()
596 if (TestUtils.hasStrongBox(getContext())) { in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails()
[all …]
DKeyPairGeneratorTest.java308 if (TestUtils.hasStrongBox(getContext())) { in testGenerateHonorsRequestedAuthorizations()
581 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_ReplacesOldEntryWithSameAlias()
646 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_DoesNotReplaceOtherEntries()
719 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_Different_Keys()
748 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_Different_Keys()
777 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_Defaults()
820 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_ModernSpec_Defaults()
929 if (!TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
1080 if (!TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_ModernSpec_AsCustomAsPossibleStrongbox()
1166 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_UsableForTLSPeerAuth()
[all …]
DImportWrappedKeyTest.java198 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_3DES_StrongBox()
238 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_AES_StrongBox()
DKeyAttestationTest.java281 if (TestUtils.hasStrongBox(getContext())) { in testEcAttestation_DeviceLocked()
295 verifyCertificateChain(certificates, TestUtils.hasStrongBox(getContext())); in testEcAttestation_DeviceLocked()
355 if (!TestUtils.hasStrongBox(getContext())) { in testAttestationKmVersionMatchesFeatureVersionStrongBox()
554 if (TestUtils.hasStrongBox(getContext())) { in testRsaAttestation_DeviceLocked()
568 verifyCertificateChain(certificates, TestUtils.hasStrongBox(getContext())); in testRsaAttestation_DeviceLocked()
DTestUtils.java145 static boolean hasStrongBox(Context context) { in hasStrongBox() method in TestUtils
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java281 private boolean hasStrongBox; field in FingerprintBoundKeysTest.FingerprintAuthDialogFragment
312 hasStrongBox = getContext().getPackageManager() in onAuthenticationSucceeded()
324 if (mActivity.useStrongBox || !hasStrongBox) { in onAuthenticationSucceeded()
344 if (!mActivity.useStrongBox && hasStrongBox) { in onDismiss()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DCredentialCryptoTests.java82 final boolean hasStrongBox = getPackageManager() in onCreate()
84 if (!hasStrongBox) { in onCreate()
DAbstractUserAuthenticationTest.java153 final boolean hasStrongBox = getPackageManager().hasSystemFeature( in onCreate()
157 if (!hasStrongBox) { in onCreate()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java354 assertThat(hasStrongBox()).isFalse(); in testCanGenerateRSAKeyPairUsingStrongBox()
387 assertThat(hasStrongBox()).isFalse(); in testCanGenerateECKeyPairUsingStrongBox()
550 assertThat(hasStrongBox()).isFalse(); in testCanGenerateKeyPairWithKeyAttestationUsingStrongBox()
631 assertThat(useStrongBox && !hasStrongBox()).isTrue(); in assertAllVariantsOfDeviceIdAttestation()
675 if (!isDeviceOwner() || !hasStrongBox() || !isUniqueDeviceAttestationSupported()) { in testUniqueDeviceAttestationUsingDifferentAttestationCert()
730 if (!isDeviceOwner() || !hasStrongBox()) { in testUniqueDeviceAttestationFailsWhenUnsupported()
1017 boolean hasStrongBox() { in hasStrongBox() method in KeyManagementTest