Home
last modified time | relevance | path

Searched refs:hasStrongBox (Results 1 – 6 of 6) 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()
407 if (TestUtils.hasStrongBox(getContext())) { in testHmacKeyOnlyOneDigestCanBeAuthorized()
481 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownBlockModeFails()
507 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownEncryptionPaddingFails()
533 if (TestUtils.hasStrongBox(getContext())) { in testInitWithSignaturePaddingFails()
558 if (TestUtils.hasStrongBox(getContext())) { in testInitWithUnknownDigestFails()
593 if (TestUtils.hasStrongBox(getContext())) { in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails()
[all …]
DKeyPairGeneratorTest.java303 if (TestUtils.hasStrongBox(getContext())) { in testGenerateHonorsRequestedAuthorizations()
576 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_ReplacesOldEntryWithSameAlias()
641 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_DoesNotReplaceOtherEntries()
714 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_Defaults()
757 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_ModernSpec_Defaults()
867 if (!TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
1020 if (!TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_ModernSpec_AsCustomAsPossibleStrongbox()
1107 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_UsableForTLSPeerAuth()
1186 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_KeyNotYetValid()
1246 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_SupportedSizes()
[all …]
DImportWrappedKeyTest.java197 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_3DES_StrongBox()
237 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_AES_StrongBox()
DTestUtils.java90 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/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