Home
last modified time | relevance | path

Searched refs:BiometricManager (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DAuthResultCoordinatorTest.java26 import android.hardware.biometrics.BiometricManager;
45 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testDefaultMessage()
47 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_WEAK)).isEqualTo( in testDefaultMessage()
49 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE)).isEqualTo( in testDefaultMessage()
56 BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE); in testSingleMessageCoordinator()
60 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testSingleMessageCoordinator()
62 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_WEAK)).isEqualTo( in testSingleMessageCoordinator()
64 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE)).isEqualTo( in testSingleMessageCoordinator()
71 BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE); in testConvenientLockout()
75 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testConvenientLockout()
[all …]
DAuthSessionCoordinatorTest.java19 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE;
20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
21 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;
DMultiBiometricLockoutStateTest.java19 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE;
20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
21 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;
/frameworks/base/core/java/android/hardware/face/
DHidlFaceSensorConfig.java22 import android.hardware.biometrics.BiometricManager;
73 @BiometricManager.Authenticators.Types int strength) { in authenticatorStrengthToPropertyStrength()
75 case BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE: in authenticatorStrengthToPropertyStrength()
77 case BiometricManager.Authenticators.BIOMETRIC_WEAK: in authenticatorStrengthToPropertyStrength()
79 case BiometricManager.Authenticators.BIOMETRIC_STRONG: in authenticatorStrengthToPropertyStrength()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DPreAuthInfoTest.java22 import static android.hardware.biometrics.BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE;
35 import android.hardware.biometrics.BiometricManager;
103 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraPrivacyIsEnabled()
119 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable()
136 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraIsUnavailable()
156 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testCanAuthenticateResult_whenCameraUnavailableAndNoFingerprintsEnrolled()
176 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFingerprintAuthentication_whenCameraIsUnavailable()
189 TYPE_FINGERPRINT, BiometricManager.Authenticators.BIOMETRIC_STRONG, in getFingerprintSensor()
207 BiometricManager.Authenticators.BIOMETRIC_STRONG, mFaceAuthenticator) { in getFaceSensor()
DUtilsTest.java19 import static android.hardware.biometrics.BiometricManager.Authenticators;
27 import android.hardware.biometrics.BiometricManager;
220 BiometricManager.BIOMETRIC_SUCCESS}, in testBiometricConstantsConversion()
222 BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED}, in testBiometricConstantsConversion()
224 BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED}, in testBiometricConstantsConversion()
226 BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE}, in testBiometricConstantsConversion()
228 BiometricManager.BIOMETRIC_ERROR_NO_HARDWARE}, in testBiometricConstantsConversion()
230 BiometricManager.BIOMETRIC_SUCCESS}, in testBiometricConstantsConversion()
232 BiometricManager.BIOMETRIC_SUCCESS} in testBiometricConstantsConversion()
DBiometricServiceTest.java22 import static android.hardware.biometrics.BiometricManager.Authenticators;
63 import android.hardware.biometrics.BiometricManager;
1385 assertEquals(BiometricManager.BIOMETRIC_SUCCESS, in testCanAuthenticate_whenDeviceHasRequestedBiometricStrength()
1398 assertEquals(BiometricManager.BIOMETRIC_ERROR_NO_HARDWARE, in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength()
1405 assertEquals(BiometricManager.BIOMETRIC_SUCCESS, in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength()
1417 assertEquals(BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED, in testCanAuthenticate_onlyCredentialRequested()
1423 assertEquals(BiometricManager.BIOMETRIC_SUCCESS, in testCanAuthenticate_onlyCredentialRequested()
1436 assertEquals(BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED, in testCanAuthenticate_whenNoBiometricsEnrolled()
1441 assertEquals(BiometricManager.BIOMETRIC_SUCCESS, in testCanAuthenticate_whenNoBiometricsEnrolled()
1454 assertEquals(BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE, in testCanAuthenticate_whenBiometricsNotEnabledForApps()
[all …]
/frameworks/base/core/java/android/hardware/fingerprint/
DHidlFingerprintSensorConfig.java22 import android.hardware.biometrics.BiometricManager;
107 @BiometricManager.Authenticators.Types int strength) { in authenticatorStrengthToPropertyStrength()
109 case BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE: in authenticatorStrengthToPropertyStrength()
111 case BiometricManager.Authenticators.BIOMETRIC_WEAK: in authenticatorStrengthToPropertyStrength()
113 case BiometricManager.Authenticators.BIOMETRIC_STRONG: in authenticatorStrengthToPropertyStrength()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java21 import static android.hardware.biometrics.BiometricManager.Authenticators;
48 import android.hardware.biometrics.BiometricManager;
284 biometricManagerCode = BiometricManager.BIOMETRIC_SUCCESS; in biometricConstantsToBiometricManager()
288 biometricManagerCode = BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED; in biometricConstantsToBiometricManager()
291 biometricManagerCode = BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE; in biometricConstantsToBiometricManager()
294 biometricManagerCode = BiometricManager.BIOMETRIC_ERROR_NO_HARDWARE; in biometricConstantsToBiometricManager()
297 biometricManagerCode = BiometricManager.BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED; in biometricConstantsToBiometricManager()
301 biometricManagerCode = BiometricManager.BIOMETRIC_SUCCESS; in biometricConstantsToBiometricManager()
304 biometricManagerCode = BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE; in biometricConstantsToBiometricManager()
308 biometricManagerCode = BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE; in biometricConstantsToBiometricManager()
[all …]
DSensorConfig.java19 import android.hardware.biometrics.BiometricManager;
27 @BiometricManager.Authenticators.Types public final int strength;
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DMultiBiometricLockoutState.java19 import static android.hardware.biometrics.BiometricManager.Authenticators;
20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_CONVENIENCE;
21 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
22 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;
24 import android.hardware.biometrics.BiometricManager;
192 BiometricManager.authenticatorToStr(mAuthenticatorType), permanentLockout, in toString()
DInvalidationRequesterClient.java22 import android.hardware.biometrics.BiometricManager;
64 private final BiometricManager mBiometricManager;
82 mBiometricManager = context.getSystemService(BiometricManager.class); in InvalidationRequesterClient()
DAuthResult.java19 import android.hardware.biometrics.BiometricManager;
28 AuthResult(int status, @BiometricManager.Authenticators.Types int strength) { in AuthResult()
DAuthSessionListener.java19 import android.hardware.biometrics.BiometricManager.Authenticators;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.kt24 import android.hardware.biometrics.BiometricManager in <lambda>()
332 authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK in <lambda>()
361 BiometricManager.Authenticators.BIOMETRIC_WEAK or in <lambda>()
362 BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
376 BiometricManager.Authenticators.BIOMETRIC_WEAK or in <lambda>()
377 BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
397 BiometricManager.Authenticators.BIOMETRIC_WEAK or in <lambda>()
398 BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
462 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
476 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL, in <lambda>()
[all …]
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DBiometricHandler.kt22 import android.hardware.biometrics.BiometricManager in <lambda>()
23 import android.hardware.biometrics.BiometricManager.Authenticators in <lambda>()
264 if (allowedAuthenticators == BiometricManager.Authenticators.DEVICE_CREDENTIAL) { in canCallBiometricPrompt()
268 val biometricManager = context.getSystemService(Context.BIOMETRIC_SERVICE) as BiometricManager in canCallBiometricPrompt()
271 BiometricManager.BIOMETRIC_SUCCESS) { in canCallBiometricPrompt()
280 private fun onlySupportsAtMostDeviceCredentials(biometricManager: BiometricManager): Boolean { in onlySupportsAtMostDeviceCredentials()
282 BiometricManager.BIOMETRIC_SUCCESS && in onlySupportsAtMostDeviceCredentials()
284 BiometricManager.BIOMETRIC_SUCCESS in onlySupportsAtMostDeviceCredentials()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintResetLockoutClientTest.java27 import android.hardware.biometrics.BiometricManager;
87 BiometricManager.Authenticators.BIOMETRIC_STRONG); in setUp()
103 eq(BiometricManager.Authenticators.BIOMETRIC_STRONG), anyLong()); in resetLockout_onLockoutCleared()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintServiceRegistry.java23 import android.hardware.biometrics.BiometricManager;
56 @BiometricManager.Authenticators.Types final int strength = in registerService()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceServiceRegistry.java23 import android.hardware.biometrics.BiometricManager;
56 @BiometricManager.Authenticators.Types final int strength = in registerService()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/iris/
DIrisService.java24 import android.hardware.biometrics.BiometricManager;
79 final @BiometricManager.Authenticators.Types int strength = in registerAuthenticators()
/frameworks/proto_logging/stats/enums/hardware/biometrics/
Denums.proto126 // BiometricManager.Authenticators constant. Sensors of this strength are
130 // the CDD. Corresponds to BiometricManager.Authenticators.BIOMETRIC_WEAK.
133 // the CDD. Corresponds to BiometricManager.Authenticators.BIOMETRIC_STRONG.
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStoreCryptoOperationUtils.java20 import android.hardware.biometrics.BiometricManager;
79 .getSystemService(BiometricManager.class) in canUserAuthorizationSucceed()
DKeyStore2ParameterUtils.java20 import android.hardware.biometrics.BiometricManager;
258 final BiometricManager bm = android.app.AppGlobals.getInitialApplication() in addSids()
259 .getSystemService(BiometricManager.class); in addSids()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DBiometricStatusRepositoryTest.kt21 import android.hardware.biometrics.BiometricManager
60 @Mock private lateinit var biometricManager: BiometricManager
265 private fun BiometricManager.captureListener() = in BiometricManager() method
/frameworks/base/services/core/java/com/android/server/adaptiveauth/
DAdaptiveAuthService.java25 import android.hardware.biometrics.BiometricManager;
74 private final BiometricManager mBiometricManager;
94 context.getSystemService(BiometricManager.class)); in AdaptiveAuthService()

1234