Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java191 if (TestUtils.hasStrongBox(getContext())) { in testInitWithAlgParamsAndNullSecureRandom()
232 if (TestUtils.hasStrongBox(getContext())) { in testDefaultKeySize()
254 if (TestUtils.hasStrongBox(getContext())) { in testAesKeySupportedSizes()
341 if (TestUtils.hasStrongBox(getContext())) { in testHmacKeySupportedSizes()
405 if (TestUtils.hasStrongBox(getContext())) { in testHmacKeyOnlyOneDigestCanBeAuthorized()
479 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownBlockModeFails()
505 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownEncryptionPaddingFails()
531 if (TestUtils.hasStrongBox(getContext())) { in testInitWithSignaturePaddingFails()
556 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownDigestFails()
591 if (TestUtils.hasStrongBox(getContext())) { in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails()
[all …]
DKeyPairGeneratorTest.java305 if (TestUtils.hasStrongBox(getContext())) { in testGenerateHonorsRequestedAuthorizations()
578 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_ReplacesOldEntryWithSameAlias()
643 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_DoesNotReplaceOtherEntries()
716 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_Different_Keys()
745 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_Different_Keys()
774 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_Defaults()
817 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_ModernSpec_Defaults()
927 if (!TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
1080 if (!TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_ModernSpec_AsCustomAsPossibleStrongbox()
1167 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.java256 if (TestUtils.hasStrongBox(getContext())) { in testEcAttestation_DeviceLocked()
270 verifyCertificateChain(certificates, TestUtils.hasStrongBox(getContext())); in testEcAttestation_DeviceLocked()
425 if (TestUtils.hasStrongBox(getContext())) { in testRsaAttestation_DeviceLocked()
439 verifyCertificateChain(certificates, TestUtils.hasStrongBox(getContext())); in testRsaAttestation_DeviceLocked()
DTestUtils.java92 static boolean hasStrongBox(Context context) { in hasStrongBox() method in TestUtils
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java286 private boolean hasStrongBox; field in FingerprintBoundKeysTest.FingerprintAuthDialogFragment
317 hasStrongBox = getContext().getPackageManager() in onAuthenticationSucceeded()
329 if (mActivity.useStrongBox || !hasStrongBox) { in onAuthenticationSucceeded()
349 if (!mActivity.useStrongBox && hasStrongBox) { in onDismiss()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java338 assertThat(hasStrongBox()).isFalse(); in testCanGenerateRSAKeyPairUsingStrongBox()
371 assertThat(hasStrongBox()).isFalse(); in testCanGenerateECKeyPairUsingStrongBox()
542 assertThat(hasStrongBox()).isFalse(); in testCanGenerateKeyPairWithKeyAttestationUsingStrongBox()
623 assertThat(useStrongBox && !hasStrongBox()).isTrue(); in assertAllVariantsOfDeviceIdAttestation()
797 boolean hasStrongBox() { in hasStrongBox() method in KeyManagementTest