Searched refs:hasStrongBox (Results 1 – 7 of 7) sorted by relevance
191 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 …]
305 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 …]
198 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_3DES_StrongBox()238 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_AES_StrongBox()
256 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()
92 static boolean hasStrongBox(Context context) { in hasStrongBox() method in TestUtils
286 private boolean hasStrongBox; field in FingerprintBoundKeysTest.FingerprintAuthDialogFragment317 hasStrongBox = getContext().getPackageManager() in onAuthenticationSucceeded()329 if (mActivity.useStrongBox || !hasStrongBox) { in onAuthenticationSucceeded()349 if (!mActivity.useStrongBox && hasStrongBox) { in onDismiss()
338 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