Searched refs:hasStrongBox (Results 1 – 9 of 9) sorted by relevance
311 private boolean hasStrongBox; field in FingerprintBoundKeysTest.FingerprintAuthDialogFragment342 hasStrongBox = getContext().getPackageManager() in onAuthenticationSucceeded()367 if (mActivity.useStrongBox || !hasStrongBox) { in onAuthenticationSucceeded()387 if (!mActivity.useStrongBox && hasStrongBox) { in onDismiss()
82 final boolean hasStrongBox = getPackageManager() in onCreate()84 if (!hasStrongBox) { in onCreate()
155 final boolean hasStrongBox = getPackageManager().hasSystemFeature( in onCreate()159 if (!hasStrongBox) { in onCreate()
227 assertThat(hasStrongBox()).isFalse(); in testCanGenerateRSAKeyPairUsingStrongBox()262 assertThat(hasStrongBox()).isFalse(); in testCanGenerateECKeyPairUsingStrongBox()446 assertThat(hasStrongBox()).isFalse(); in testCanGenerateKeyPairWithKeyAttestationUsingStrongBox()530 assertThat(useStrongBox && !hasStrongBox()).isTrue(); in assertAllVariantsOfDeviceIdAttestation()576 if (!isDeviceOwner() || !hasStrongBox() || !isUniqueDeviceAttestationSupported()) { in testUniqueDeviceAttestationUsingDifferentAttestationCert()632 if (!isDeviceOwner() || !hasStrongBox()) { in testUniqueDeviceAttestationFailsWhenUnsupported()824 boolean hasStrongBox() { in hasStrongBox() method in KeyManagementTest
251 TestUtils.hasStrongBox(getContext())); in testEcAttestation_StrongBox()379 TestUtils.hasStrongBox(getContext())); in testEcAttestation_TooLargeChallenge_StrongBox()416 TestUtils.hasStrongBox(getContext())); in testEcAttestation_NoChallenge_StrongBox()508 if (!TestUtils.hasStrongBox(getContext())) { in testEcAttestation_DeviceLockedStrongbox()534 if (!TestUtils.hasStrongBox(getContext())) { in testAttestationKmVersionMatchesFeatureVersionStrongBox()603 TestUtils.hasStrongBox(getContext())); in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId_StrongBox()645 TestUtils.hasStrongBox(getContext())); in testEcAttestation_UniqueIdWorksWithCorrectPermission_StrongBox()711 TestUtils.hasStrongBox(getContext())); in testRsaAttestation_StrongBox()819 TestUtils.hasStrongBox(getContext())); in testRsaAttestation_TooLargeChallenge_StrongBox()853 TestUtils.hasStrongBox(getContext())); in testRsaAttestation_NoChallenge_StrongBox()[all …]
141 if (TestUtils.hasStrongBox(getContext())) { in testECDSANonceReuse()
1203 if (!TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()1356 if (!TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_ModernSpec_AsCustomAsPossibleStrongbox()1577 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_SupportedSizes()1631 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_EC_ModernSpec_SupportedNamedCurves()1657 if (TestUtils.hasStrongBox(getContext())) { in testGenerate_RSA_ModernSpec_SupportedSizes()
531 assertThat(useStrongBox && !TestUtils.hasStrongBox(sContext)).isTrue(); in assertAllVariantsOfDeviceIdAttestation()
273 public static boolean hasStrongBox(Context context) { in hasStrongBox() method in TestUtils