/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | Utils.java | 45 import android.hardware.biometrics.BiometricConstants; 263 case BiometricConstants.BIOMETRIC_SUCCESS: in biometricConstantsToBiometricManager() 266 case BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS: in biometricConstantsToBiometricManager() 267 case BiometricConstants.BIOMETRIC_ERROR_NO_DEVICE_CREDENTIAL: in biometricConstantsToBiometricManager() 270 case BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE: in biometricConstantsToBiometricManager() 273 case BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT: in biometricConstantsToBiometricManager() 276 case BiometricConstants.BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED: in biometricConstantsToBiometricManager() 279 case BiometricConstants.BIOMETRIC_ERROR_LOCKOUT: in biometricConstantsToBiometricManager() 280 case BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT: in biometricConstantsToBiometricManager() 323 return BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT; in authenticatorStatusToBiometricConstant() [all …]
|
D | AuthSession.java | 47 import android.hardware.biometrics.BiometricConstants; 383 boolean onErrorReceived(int sensorId, int cookie, @BiometricConstants.Errors int error, in onErrorReceived() 440 final boolean errorLockout = error == BiometricConstants.BIOMETRIC_ERROR_LOCKOUT in onErrorReceived() 441 || error == BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in onErrorReceived() 446 } else if (error == BiometricConstants.BIOMETRIC_ERROR_CANCELED) { in onErrorReceived() 601 BiometricConstants.BIOMETRIC_PAUSED_REJECTED, 0 /* vendorCode */); in onAuthenticationRejected() 685 ? BiometricConstants.BIOMETRIC_ERROR_NEGATIVE_BUTTON in logOnDialogDismissed() 687 ? BiometricConstants.BIOMETRIC_ERROR_USER_CANCELED in logOnDialogDismissed() 744 BiometricConstants.BIOMETRIC_ERROR_USER_CANCELED, in onDialogDismissed() 794 BiometricConstants.BIOMETRIC_ERROR_CANCELED, in onCancelAuthSession()
|
D | BiometricSensor.java | 24 import android.hardware.biometrics.BiometricConstants; 76 private @BiometricConstants.Errors int mError; 106 mError = BiometricConstants.BIOMETRIC_SUCCESS; in goToStateUnknown()
|
D | BiometricService.java | 36 import android.hardware.biometrics.BiometricConstants; 567 public void onError(int sensorId, int cookie, @BiometricConstants.Errors int error, 572 if (error == BiometricConstants.BIOMETRIC_ERROR_TIMEOUT) { 746 return BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE; in canAuthenticate() 1224 private void handleOnError(int sensorId, int cookie, @BiometricConstants.Errors int error, in handleOnError() 1365 if (preAuthStatus.second == BiometricConstants.BIOMETRIC_SUCCESS) { in handleAuthenticate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | UtilsTest.java | 26 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() 229 {BiometricConstants.BIOMETRIC_ERROR_LOCKOUT, in testBiometricConstantsConversion() 231 {BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT, in testBiometricConstantsConversion()
|
D | BiometricServiceTest.java | 57 import android.hardware.biometrics.BiometricConstants; 184 BiometricConstants.BIOMETRIC_ERROR_TIMEOUT, in testClientBinderDied_whenPaused() 225 BiometricConstants.BIOMETRIC_ERROR_CANCELED, in testClientBinderDied_whenAuthenticating() 246 eq(BiometricConstants.BIOMETRIC_ERROR_NO_DEVICE_CREDENTIAL), in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential() 291 eq(BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT), in testAuthenticate_withoutHardware_returnsErrorHardwareNotPresent() 310 eq(BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS), in testAuthenticate_withoutEnrolled_returnsErrorNoBiometrics() 323 eq(BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT), in testAuthenticate_notStrongEnough_returnsHardwareNotPresent() 382 eq(BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE), in testAuthenticate_whenHalIsDead_returnsErrorHardwareUnavailable() 398 eq(BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE), in testAuthenticateFace_respectsUserSetting() 605 eq(BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS)/* error */, in testAuthenticate_no_Biometrics_noCredential() [all …]
|
D | AuthServiceTest.java | 20 import static android.hardware.biometrics.BiometricConstants.BIOMETRIC_ERROR_CANCELED; 21 import static android.hardware.biometrics.BiometricConstants.BIOMETRIC_SUCCESS;
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | AcquisitionClient.java | 21 import android.hardware.biometrics.BiometricConstants; 77 BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, 0 /* vendorCode */); in unableToStart() 98 onErrorInternal(BiometricConstants.BIOMETRIC_ERROR_USER_CANCELED, 0 /* vendorCode */, in onUserCanceled() 146 final int errorCode = BiometricConstants.BIOMETRIC_ERROR_CANCELED; in cancelWithoutStarting() 176 if (acquiredInfo == BiometricConstants.BIOMETRIC_ACQUIRED_GOOD) { in onAcquiredInternal()
|
D | AuthenticationClient.java | 29 import android.hardware.biometrics.BiometricConstants; 370 BiometricConstants.BIOMETRIC_ERROR_CANCELED, in sendCancelOnly() 390 public void onError(@BiometricConstants.Errors int errorCode, int vendorCode) { in onError() 409 ? BiometricConstants.BIOMETRIC_ERROR_LOCKOUT in start() 410 : BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in start()
|
D | CoexCoordinator.java | 25 import android.hardware.biometrics.BiometricConstants; 382 @BiometricConstants.Errors int error, @NonNull ErrorCallback callback) { in onAuthenticationError() 390 case BiometricConstants.BIOMETRIC_ERROR_TIMEOUT: in onAuthenticationError() 391 case BiometricConstants.BIOMETRIC_ERROR_LOCKOUT: in onAuthenticationError() 392 case BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT: in onAuthenticationError()
|
D | LoggableMonitor.java | 26 import android.hardware.biometrics.BiometricConstants; 187 } else if (acquiredInfo == BiometricConstants.BIOMETRIC_ACQUIRED_GOOD) { in logOnAcquired()
|
D | BiometricScheduler.java | 23 import android.hardware.biometrics.BiometricConstants; 509 errorConsumer.onError(BiometricConstants.BIOMETRIC_ERROR_CANCELED, in startPreparedClient()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/ |
D | AcquisitionClientTest.java | 30 import android.hardware.biometrics.BiometricConstants; 76 eq(BiometricConstants.BIOMETRIC_ERROR_USER_CANCELED), in testUserCanceled() 81 client.onError(BiometricConstants.BIOMETRIC_ERROR_CANCELED, 0 /* vendorCode */); in testUserCanceled()
|
D | CoexCoordinatorTest.java | 35 import android.hardware.biometrics.BiometricConstants; 507 mCoexCoordinator.onAuthenticationError(client, BiometricConstants.BIOMETRIC_ERROR_TIMEOUT, in testBiometricPrompt_FaceError() 533 mCoexCoordinator.onAuthenticationError(client, BiometricConstants.BIOMETRIC_ERROR_TIMEOUT, in testKeyguard_faceAuthOnly() 566 BiometricConstants.BIOMETRIC_ERROR_TIMEOUT, mErrorCallback); in testKeyguard_coex_faceError()
|
D | BiometricSchedulerTest.java | 34 import android.hardware.biometrics.BiometricConstants; 169 eq(BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE), eq(0)); in testRemovesOnlyBiometricPromptOperation_whenNullHal() 315 eq(BiometricConstants.BIOMETRIC_ERROR_CANCELED), in testCancelPendingAuth()
|
/frameworks/base/core/java/android/hardware/biometrics/ |
D | BiometricManager.java | 59 BiometricConstants.BIOMETRIC_SUCCESS; 65 BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE; 71 BiometricConstants.BIOMETRIC_ERROR_NO_BIOMETRICS; 77 BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT; 86 BiometricConstants.BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED;
|
D | BiometricConstants.java | 36 public interface BiometricConstants { interface
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | FingerprintAuthenticationClient.java | 24 import android.hardware.biometrics.BiometricConstants; 121 ? BiometricConstants.BIOMETRIC_ERROR_LOCKOUT in onAuthenticated() 122 : BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in onAuthenticated()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthControllerTest.java | 44 import android.hardware.biometrics.BiometricConstants; 267 BiometricConstants.BIOMETRIC_PAUSED_REJECTED, in testOnAuthenticationFailedInvoked_whenBiometricRejected() 283 final int error = BiometricConstants.BIOMETRIC_ERROR_TIMEOUT; in testOnAuthenticationFailedInvoked_whenBiometricTimedOut() 331 final int error = BiometricConstants.BIOMETRIC_ERROR_LOCKOUT; in testErrorLockout_whenCredentialAllowed_AnimatesToCredentialUI() 344 final int error = BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in testErrorLockoutPermanent_whenCredentialAllowed_AnimatesToCredentialUI() 358 final int error = BiometricConstants.BIOMETRIC_ERROR_LOCKOUT; in testErrorLockout_whenCredentialNotAllowed_sendsOnError() 373 final int error = BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT; in testErrorLockoutPermanent_whenCredentialNotAllowed_sendsOnError()
|
D | AuthContainerViewTest.java | 37 import android.hardware.biometrics.BiometricConstants; 102 BiometricConstants.BIOMETRIC_SYSTEM_EVENT_EARLY_USER_CANCEL)); in testActionUserCanceled_sendsDismissedUserCanceled()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | FaceAuthenticationClient.java | 25 import android.hardware.biometrics.BiometricConstants; 164 public void onError(@BiometricConstants.Errors int error, int vendorCode) { in onError() 173 if (error == BiometricConstants.BIOMETRIC_ERROR_RE_ENROLL) { in onError()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 34 import android.hardware.biometrics.BiometricConstants; 596 final boolean isLockout = (error == BiometricConstants.BIOMETRIC_ERROR_LOCKOUT) in onBiometricError() 597 || (error == BiometricConstants.BIOMETRIC_ERROR_LOCKOUT_PERMANENT); in onBiometricError() 600 final boolean isSoftError = (error == BiometricConstants.BIOMETRIC_PAUSED_REJECTED in onBiometricError() 601 || error == BiometricConstants.BIOMETRIC_ERROR_TIMEOUT); in onBiometricError() 608 final String errorMessage = (error == BiometricConstants.BIOMETRIC_PAUSED_REJECTED) in onBiometricError()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/ |
D | FaceAuthenticationClient.java | 23 import android.hardware.biometrics.BiometricConstants; 151 public void onError(@BiometricConstants.Errors int error, int vendorCode) { in onError()
|
D | Face10.java | 26 import android.hardware.biometrics.BiometricConstants; 239 if (error == BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE) { in onError() 377 errorConsumer.onError(BiometricConstants.BIOMETRIC_ERROR_HW_UNAVAILABLE, in serviceDied()
|
/frameworks/base/core/java/android/hardware/face/ |
D | FaceManager.java | 29 import android.hardware.biometrics.BiometricConstants; 809 return BiometricConstants.BIOMETRIC_ACQUIRED_GOOD; in getMappedAcquiredInfo() 813 return BiometricConstants.BIOMETRIC_ACQUIRED_INSUFFICIENT; in getMappedAcquiredInfo() 820 return BiometricConstants.BIOMETRIC_ACQUIRED_PARTIAL; in getMappedAcquiredInfo() 825 return BiometricConstants.BIOMETRIC_ACQUIRED_INSUFFICIENT; in getMappedAcquiredInfo() 827 return BiometricConstants.BIOMETRIC_ACQUIRED_VENDOR_BASE + vendorCode; in getMappedAcquiredInfo() 829 return BiometricConstants.BIOMETRIC_ACQUIRED_GOOD; in getMappedAcquiredInfo()
|