Searched refs:hasStrongBox (Results 1 – 9 of 9) sorted by relevance
192 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 …]
308 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 …]
198 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_3DES_StrongBox()238 if (TestUtils.hasStrongBox(getContext())) { in testKeyStore_ImportWrappedKey_AES_StrongBox()
296 if (TestUtils.hasStrongBox(getContext())) { in testEcAttestation_DeviceLocked()310 verifyCertificateChain(certificates, TestUtils.hasStrongBox(getContext())); in testEcAttestation_DeviceLocked()370 if (!TestUtils.hasStrongBox(getContext())) { in testAttestationKmVersionMatchesFeatureVersionStrongBox()584 if (TestUtils.hasStrongBox(getContext())) { in testRsaAttestation_DeviceLocked()598 verifyCertificateChain(certificates, TestUtils.hasStrongBox(getContext())); in testRsaAttestation_DeviceLocked()
146 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()
82 final boolean hasStrongBox = getPackageManager() in onCreate()84 if (!hasStrongBox) { in onCreate()
153 final boolean hasStrongBox = getPackageManager().hasSystemFeature( in onCreate()157 if (!hasStrongBox) { in onCreate()
251 assertThat(hasStrongBox()).isFalse(); in testCanGenerateRSAKeyPairUsingStrongBox()286 assertThat(hasStrongBox()).isFalse(); in testCanGenerateECKeyPairUsingStrongBox()454 assertThat(hasStrongBox()).isFalse(); in testCanGenerateKeyPairWithKeyAttestationUsingStrongBox()535 assertThat(useStrongBox && !hasStrongBox()).isTrue(); in assertAllVariantsOfDeviceIdAttestation()581 if (!isDeviceOwner() || !hasStrongBox() || !isUniqueDeviceAttestationSupported()) { in testUniqueDeviceAttestationUsingDifferentAttestationCert()637 if (!isDeviceOwner() || !hasStrongBox()) { in testUniqueDeviceAttestationFailsWhenUnsupported()829 boolean hasStrongBox() { in hasStrongBox() method in KeyManagementTest