Searched refs:hasStrongBox (Results 1 – 6 of 6) 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()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 …]
303 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 …]
197 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_3DES_StrongBox()237 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_AES_StrongBox()
90 static boolean hasStrongBox(Context context) { in hasStrongBox() method in TestUtils
281 private boolean hasStrongBox; field in FingerprintBoundKeysTest.FingerprintAuthDialogFragment312 hasStrongBox = getContext().getPackageManager() in onAuthenticationSucceeded()324 if (mActivity.useStrongBox || !hasStrongBox) { in onAuthenticationSucceeded()344 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