Home
last modified time | relevance | path

Searched refs:hasStrongBox (Results 1 – 9 of 9) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java311 private boolean hasStrongBox; field in FingerprintBoundKeysTest.FingerprintAuthDialogFragment
342 hasStrongBox = getContext().getPackageManager() in onAuthenticationSucceeded()
367 if (mActivity.useStrongBox || !hasStrongBox) { in onAuthenticationSucceeded()
387 if (!mActivity.useStrongBox && hasStrongBox) { in onDismiss()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DCredentialCryptoTests.java82 final boolean hasStrongBox = getPackageManager() in onCreate()
84 if (!hasStrongBox) { in onCreate()
DAbstractUserAuthenticationTest.java155 final boolean hasStrongBox = getPackageManager().hasSystemFeature( in onCreate()
159 if (!hasStrongBox) { in onCreate()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java227 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
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java251 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 …]
DECDSASignatureTest.java141 if (TestUtils.hasStrongBox(getContext())) { in testECDSANonceReuse()
DKeyPairGeneratorTest.java1203 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()
DDeviceOwnerKeyManagementTest.java531 assertThat(useStrongBox && !TestUtils.hasStrongBox(sContext)).isTrue(); in assertAllVariantsOfDeviceIdAttestation()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java273 public static boolean hasStrongBox(Context context) { in hasStrongBox() method in TestUtils