Home
last modified time | relevance | path

Searched refs:BiometricConstants (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java22 import android.hardware.biometrics.BiometricConstants;
210 case BiometricConstants.BIOMETRIC_SUCCESS: in biometricConstantsToBiometricManager()
213 case BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS: in biometricConstantsToBiometricManager()
214 case BiometricConstants.BIOMETRIC_ERROR_NO_DEVICE_CREDENTIAL: in biometricConstantsToBiometricManager()
217 case BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE: in biometricConstantsToBiometricManager()
220 case BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT: in biometricConstantsToBiometricManager()
223 case BiometricConstants.BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED: in biometricConstantsToBiometricManager()
DAuthenticationClient.java21 import android.hardware.biometrics.BiometricConstants;
113 case BiometricConstants.BIOMETRIC_ERROR_TIMEOUT: in onError()
118 case BiometricConstants.BIOMETRIC_ERROR_LOCKOUT: in onError()
119 case BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT: in onError()
208 ? BiometricConstants.BIOMETRIC_ERROR_LOCKOUT in onAuthenticated()
209 : BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in onAuthenticated()
245 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in start()
DBiometricService.java37 import android.hardware.biometrics.BiometricConstants;
627 if (error == BiometricConstants.BIOMETRIC_ERROR_TIMEOUT) {
763 int biometricConstantsResult = BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE; in canAuthenticate()
1076 return BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT; in biometricStatusToBiometricConstant()
1078 return BiometricConstants.BIOMETRIC_SUCCESS; in biometricStatusToBiometricConstant()
1080 return BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE; in biometricStatusToBiometricConstant()
1082 return BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT; in biometricStatusToBiometricConstant()
1084 return BiometricConstants.BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED; in biometricStatusToBiometricConstant()
1086 return BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE; in biometricStatusToBiometricConstant()
1088 return BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS; in biometricStatusToBiometricConstant()
[all …]
DEnumerateClient.java21 import android.hardware.biometrics.BiometricConstants;
59 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in start()
90 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_CANCELED, in stop()
DClientMonitor.java21 import android.hardware.biometrics.BiometricConstants;
197 if (acquiredInfo == BiometricConstants.BIOMETRIC_ACQUIRED_GOOD) { in onAcquired()
254 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in finalize()
DRemovalClient.java21 import android.hardware.biometrics.BiometricConstants;
64 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in start()
DLoggableMonitor.java20 import android.hardware.biometrics.BiometricConstants;
81 } else if (acquiredInfo == BiometricConstants.BIOMETRIC_ACQUIRED_GOOD) { in logOnAcquired()
DEnrollClient.java21 import android.hardware.biometrics.BiometricConstants;
109 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in start()
DBiometricServiceBase.java20 import static android.hardware.biometrics.BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE;
33 import android.hardware.biometrics.BiometricConstants;
768 if (error == BiometricConstants.BIOMETRIC_ERROR_CANCELED) { in handleError()
970 BiometricConstants.BIOMETRIC_ERROR_LOCKOUT : in startAuthentication()
971 BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in startAuthentication()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricManager.java45 BiometricConstants.BIOMETRIC_SUCCESS;
51 BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE;
57 BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS;
63 BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT;
72 BiometricConstants.BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED;
DBiometricConstants.java31 public interface BiometricConstants { interface
DBiometricPrompt.java57 public class BiometricPrompt implements BiometricAuthenticator, BiometricConstants {
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricServiceTest.java45 import android.hardware.biometrics.BiometricConstants;
164 BiometricConstants.BIOMETRIC_ERROR_TIMEOUT, in testClientBinderDied_whenPaused()
211 BiometricConstants.BIOMETRIC_ERROR_CANCELED, in testClientBinderDied_whenAuthenticating()
232 eq(BiometricConstants.BIOMETRIC_ERROR_NO_DEVICE_CREDENTIAL), in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential()
274 eq(BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT), in testAuthenticate_withoutHardware_returnsErrorHardwareNotPresent()
293 eq(BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS), in testAuthenticate_withoutEnrolled_returnsErrorNoBiometrics()
306 eq(BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT), in testAuthenticate_notStrongEnough_returnsHardwareNotPresent()
364 eq(BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE), in testAuthenticate_whenHalIsDead_returnsErrorHardwareUnavailable()
380 eq(BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE), in testAuthenticateFace_respectsUserSetting()
598 eq(BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS)/* error */, in testAuthenticate_no_Biometrics_noCredential()
[all …]
DUtilsTest.java27 import android.hardware.biometrics.BiometricConstants;
219 {BiometricConstants.BIOMETRIC_SUCCESS, in testBiometricConstantsConversion()
221 {BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS, in testBiometricConstantsConversion()
223 {BiometricConstants.BIOMETRIC_ERROR_NO_DEVICE_CREDENTIAL, in testBiometricConstantsConversion()
225 {BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in testBiometricConstantsConversion()
227 {BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT, in testBiometricConstantsConversion()
DAuthServiceTest.java19 import static android.hardware.biometrics.BiometricConstants.BIOMETRIC_SUCCESS;
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java33 import android.hardware.biometrics.BiometricConstants;
339 final boolean isLockout = (error == BiometricConstants.BIOMETRIC_ERROR_LOCKOUT) in onBiometricError()
340 || (error == BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT); in onBiometricError()
343 final boolean isSoftError = (error == BiometricConstants.BIOMETRIC_PAUSED_REJECTED in onBiometricError()
344 || error == BiometricConstants.BIOMETRIC_ERROR_TIMEOUT); in onBiometricError()
350 final String errorMessage = (error == BiometricConstants.BIOMETRIC_PAUSED_REJECTED) in onBiometricError()
DAuthContainerView.java25 import android.hardware.biometrics.BiometricConstants;
319 BiometricConstants.BIOMETRIC_SYSTEM_EVENT_EARLY_USER_CANCEL); in sendEarlyUserCanceled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthControllerTest.java43 import android.hardware.biometrics.BiometricConstants;
206 BiometricConstants.BIOMETRIC_PAUSED_REJECTED, in testOnAuthenticationFailedInvoked_whenBiometricRejected()
218 final int error = BiometricConstants.BIOMETRIC_ERROR_TIMEOUT; in testOnAuthenticationFailedInvoked_whenBiometricTimedOut()
256 final int error = BiometricConstants.BIOMETRIC_ERROR_LOCKOUT; in testErrorLockout_whenCredentialAllowed_AnimatesToCredentialUI()
269 final int error = BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in testErrorLockoutPermanent_whenCredentialAllowed_AnimatesToCredentialUI()
282 final int error = BiometricConstants.BIOMETRIC_ERROR_LOCKOUT; in testErrorLockout_whenCredentialNotAllowed_sendsOnError()
295 final int error = BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in testErrorLockoutPermanent_whenCredentialNotAllowed_sendsOnError()
DAuthContainerViewTest.java37 import android.hardware.biometrics.BiometricConstants;
95 BiometricConstants.BIOMETRIC_SYSTEM_EVENT_EARLY_USER_CANCEL)); in testActionUserCanceled_sendsDismissedUserCanceled()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java30 import android.hardware.biometrics.BiometricConstants;
698 return BiometricConstants.BIOMETRIC_ACQUIRED_GOOD; in getMappedAcquiredInfo()
702 return BiometricConstants.BIOMETRIC_ACQUIRED_INSUFFICIENT; in getMappedAcquiredInfo()
709 return BiometricConstants.BIOMETRIC_ACQUIRED_PARTIAL; in getMappedAcquiredInfo()
714 return BiometricConstants.BIOMETRIC_ACQUIRED_INSUFFICIENT; in getMappedAcquiredInfo()
716 return BiometricConstants.BIOMETRIC_ACQUIRED_VENDOR_BASE + vendorCode; in getMappedAcquiredInfo()
718 return BiometricConstants.BIOMETRIC_ACQUIRED_GOOD; in getMappedAcquiredInfo()
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintService.java39 import android.hardware.biometrics.BiometricConstants;
621 if (error == BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE) {
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java35 import android.hardware.biometrics.BiometricConstants;
911 if (error == BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE) {
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto7375 // One of the constant value in BiometricConstants.java file.