/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | Utils.java | 22 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()
|
D | AuthenticationClient.java | 21 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()
|
D | BiometricService.java | 37 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 …]
|
D | EnumerateClient.java | 21 import android.hardware.biometrics.BiometricConstants; 59 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in start() 90 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_CANCELED, in stop()
|
D | ClientMonitor.java | 21 import android.hardware.biometrics.BiometricConstants; 197 if (acquiredInfo == BiometricConstants.BIOMETRIC_ACQUIRED_GOOD) { in onAcquired() 254 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in finalize()
|
D | RemovalClient.java | 21 import android.hardware.biometrics.BiometricConstants; 64 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in start()
|
D | LoggableMonitor.java | 20 import android.hardware.biometrics.BiometricConstants; 81 } else if (acquiredInfo == BiometricConstants.BIOMETRIC_ACQUIRED_GOOD) { in logOnAcquired()
|
D | EnrollClient.java | 21 import android.hardware.biometrics.BiometricConstants; 109 onError(getHalDeviceId(), BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in start()
|
D | BiometricServiceBase.java | 20 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/ |
D | BiometricManager.java | 45 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;
|
D | BiometricConstants.java | 31 public interface BiometricConstants { interface
|
D | BiometricPrompt.java | 57 public class BiometricPrompt implements BiometricAuthenticator, BiometricConstants {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricServiceTest.java | 45 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 …]
|
D | UtilsTest.java | 27 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()
|
D | AuthServiceTest.java | 19 import static android.hardware.biometrics.BiometricConstants.BIOMETRIC_SUCCESS;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 33 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()
|
D | AuthContainerView.java | 25 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/ |
D | AuthControllerTest.java | 43 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()
|
D | AuthContainerViewTest.java | 37 import android.hardware.biometrics.BiometricConstants; 95 BiometricConstants.BIOMETRIC_SYSTEM_EVENT_EARLY_USER_CANCEL)); in testActionUserCanceled_sendsDismissedUserCanceled()
|
/frameworks/base/core/java/android/hardware/face/ |
D | FaceManager.java | 30 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/ |
D | FingerprintService.java | 39 import android.hardware.biometrics.BiometricConstants; 621 if (error == BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE) {
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 35 import android.hardware.biometrics.BiometricConstants; 911 if (error == BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE) {
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 7375 // One of the constant value in BiometricConstants.java file.
|