Home
last modified time | relevance | path

Searched refs:BiometricFaceConstants (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DAidlConversionUtils.java21 import android.hardware.biometrics.BiometricFaceConstants;
49 @BiometricFaceConstants.FaceError
53 return BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE; in toFrameworkError()
55 return BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS; in toFrameworkError()
57 return BiometricFaceConstants.FACE_ERROR_TIMEOUT; in toFrameworkError()
59 return BiometricFaceConstants.FACE_ERROR_NO_SPACE; in toFrameworkError()
61 return BiometricFaceConstants.FACE_ERROR_CANCELED; in toFrameworkError()
63 return BiometricFaceConstants.FACE_ERROR_UNABLE_TO_REMOVE; in toFrameworkError()
65 return BiometricFaceConstants.FACE_ERROR_VENDOR; in toFrameworkError()
67 return BiometricFaceConstants.BIOMETRIC_ERROR_RE_ENROLL; in toFrameworkError()
[all …]
DFaceAuthenticationClient.java20 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_NOT_DETECTED;
21 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_SENSOR_DIRTY;
22 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_UNKNOWN;
23 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_VENDOR;
24 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_VENDOR_BASE;
35 import android.hardware.biometrics.BiometricFaceConstants;
95 @BiometricFaceConstants.FaceAcquired
183 onError(BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE, 0 /* vendorCode */); in startHalOperation()
199 onError(BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE, in doAuthenticate()
227 onError(BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE, 0 /* vendorCode */); in stopHalOperation()
[all …]
DFaceEnrollClient.java19 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_VENDOR;
20 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_VENDOR_BASE;
28 import android.hardware.biometrics.BiometricFaceConstants;
113 BiometricFaceConstants.reasonToMetric(options.getEnrollReason())); in FaceEnrollClient()
235 onError(BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS, 0 /* vendorCode */); in startHalOperation()
278 onError(BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS, in doEnroll()
308 onError(BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE, 0 /* vendorCode */); in stopHalOperation()
DFaceGetFeatureClient.java22 import android.hardware.biometrics.BiometricFaceConstants;
114 featureMap.get(BiometricFaceConstants.FEATURE_REQUIRE_ATTENTION); in onFeatureGet()
133 featureMap.put(BiometricFaceConstants.FEATURE_REQUIRE_ATTENTION, false); in getFeatureMap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/shared/model/
DFaceAuthenticationModels.kt19 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_CANCELED
20 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE
21 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_LOCKOUT
22 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_LOCKOUT_PERMANENT
23 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_TIMEOUT
24 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/util/
DIndicationHelper.kt19 import android.hardware.biometrics.BiometricFaceConstants
41 msgId == BiometricFaceConstants.FACE_ERROR_CANCELED || in shouldSuppressErrorMsg()
42 msgId == BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS in shouldSuppressErrorMsg()
53 return msgId == BiometricFaceConstants.FACE_ERROR_LOCKOUT || in isFaceLockoutErrorMsg()
54 msgId == BiometricFaceConstants.FACE_ERROR_LOCKOUT_PERMANENT in isFaceLockoutErrorMsg()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java23 import static android.hardware.biometrics.BiometricFaceConstants.BIOMETRIC_ERROR_RE_ENROLL;
24 import static android.hardware.biometrics.BiometricFaceConstants.BIOMETRIC_ERROR_SECURITY_UPDATE_RE…
25 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_DARK_GLASSES_DETECTE…
26 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_FACE_OBSCURED;
27 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_GOOD;
28 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_INSUFFICIENT;
29 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_MOUTH_COVERING_DETEC…
30 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_NOT_DETECTED;
31 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_PAN_TOO_EXTREME;
32 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_POOR_GAZE;
[all …]
DFaceDataFrame.java20 import android.hardware.biometrics.BiometricFaceConstants;
30 @BiometricFaceConstants.FaceAcquired private final int mAcquiredInfo;
52 @BiometricFaceConstants.FaceAcquired int acquiredInfo, in FaceDataFrame()
73 public FaceDataFrame(@BiometricFaceConstants.FaceAcquired int acquiredInfo, int vendorCode) { in FaceDataFrame()
87 @BiometricFaceConstants.FaceAcquired
DFaceCallback.java19 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_VENDOR;
20 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_VENDOR_BASE;
21 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_VENDOR;
22 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_VENDOR_BASE;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/util/
DIndicationHelperTest.kt19 import android.hardware.biometrics.BiometricFaceConstants.BIOMETRIC_ERROR_POWER_PRESSED
20 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_CANCELED
21 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_LOCKOUT
22 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_LOCKOUT_PERMANENT
23 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_TIMEOUT
24 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS
25 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_VENDOR
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java21 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_TOO_DARK;
22 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_LOCKOUT_PERMANENT;
23 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_TIMEOUT;
63 import android.hardware.biometrics.BiometricFaceConstants;
635 BiometricFaceConstants.FACE_ACQUIRED_MOUTH_COVERING_DETECTED, in sendFaceHelpMessages_fingerprintEnrolled()
636 BiometricFaceConstants.FACE_ACQUIRED_DARK_GLASSES_DETECTED in sendFaceHelpMessages_fingerprintEnrolled()
646 BiometricFaceConstants.FACE_ACQUIRED_MOUTH_COVERING_DETECTED, in sendFaceHelpMessages_fingerprintEnrolled()
647 BiometricFaceConstants.FACE_ACQUIRED_DARK_GLASSES_DETECTED in sendFaceHelpMessages_fingerprintEnrolled()
672 BiometricFaceConstants.FACE_ACQUIRED_FACE_OBSCURED, in doNotSendMostFaceHelpMessages_fingerprintEnrolled()
673 BiometricFaceConstants.FACE_ACQUIRED_TOO_RIGHT, in doNotSendMostFaceHelpMessages_fingerprintEnrolled()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DActiveUnlockConfigTest.kt21 import android.hardware.biometrics.BiometricFaceConstants
263 BiometricFaceConstants.FACE_ERROR_TIMEOUT in faceErrorSettingsChanged()
269 BiometricFaceConstants.FACE_ERROR_CANCELED in faceErrorSettingsChanged()
292 BiometricFaceConstants.FACE_ACQUIRED_MOUTH_COVERING_DETECTED in faceAcquiredSettingsChanged()
297 BiometricFaceConstants.FACE_ACQUIRED_DARK_GLASSES_DETECTED in faceAcquiredSettingsChanged()
303 BiometricFaceConstants.FACE_ACQUIRED_GOOD in faceAcquiredSettingsChanged()
308 BiometricFaceConstants.FACE_ACQUIRED_NOT_DETECTED in faceAcquiredSettingsChanged()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSessionAdapter.java22 import android.hardware.biometrics.BiometricFaceConstants;
114 BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS, 0 /* vendorCode */); in revokeChallenge()
191 BiometricFaceConstants.FACE_ERROR_UNKNOWN, 0 /* vendorCode */); in getFeatures()
215 BiometricFaceConstants.FACE_ERROR_UNKNOWN, 0 /* vendorCode */); in setFeature()
334 BiometricFaceConstants.FACE_ERROR_NOT_ENROLLED, 0 /* vendorCode */); in getFaceId()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceEnrollClientTest.java19 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_START;
20 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_TOO_DARK;
36 import android.hardware.biometrics.BiometricFaceConstants;
247 client.onError(BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE, 0); in testAuthenticationStateListeners_onEnrollmentError()
259 BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE).build() in testAuthenticationStateListeners_onEnrollmentError()
DFaceGetFeatureClientTest.java26 import android.hardware.biometrics.BiometricFaceConstants;
78 private final int mFeature = BiometricFaceConstants.FEATURE_REQUIRE_ATTENTION;
DFaceAuthenticationClientTest.java21 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_START;
22 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_TOO_DARK;
23 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_LOCKOUT;
24 import static android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_LOCKOUT_PERMANENT;
43 import android.hardware.biometrics.BiometricFaceConstants;
392 client.onError(BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE, 0); in testAuthenticationStateListeners_onAuthenticationError()
404 BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE).build() in testAuthenticationStateListeners_onAuthenticationError()
DFaceSetFeatureClientTest.java25 import android.hardware.biometrics.BiometricFaceConstants;
72 private final int mFeature = BiometricFaceConstants.FEATURE_REQUIRE_ATTENTION;
DFaceDetectClientTest.java30 import android.hardware.biometrics.BiometricFaceConstants;
228 client.onError(BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE, 0); in testAuthenticationStateListeners_onDetectionError()
240 BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE).build() in testAuthenticationStateListeners_onDetectionError()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DBiometricNotificationServiceTest.java32 import android.hardware.biometrics.BiometricFaceConstants;
202 BiometricFaceConstants.BIOMETRIC_ERROR_RE_ENROLL, in testShowFaceReEnrollNotification_onErrorReEnroll()
225 BiometricFaceConstants.BIOMETRIC_ERROR_RE_ENROLL, in testCancelReEnrollmentNotification_onFaceEnrollmentStateChange()
273 BiometricFaceConstants.BIOMETRIC_ERROR_RE_ENROLL, in testResetFaceUnlockReEnroll_onStart()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSessionAdapterTest.java34 import android.hardware.biometrics.BiometricFaceConstants;
89 private final int mFeature = BiometricFaceConstants.FEATURE_REQUIRE_REQUIRE_DIVERSITY;
275 verify(mAidlResponseHandler).onError(BiometricFaceConstants.FACE_ERROR_UNKNOWN, 0); in testGetFeatures_onStatusFailed()
308 verify(mAidlResponseHandler).onError(BiometricFaceConstants.FACE_ERROR_UNKNOWN, in testSetFeatureFailed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/
DBiometricMessageInteractorTest.kt20 import android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_TOO_RIGHT
21 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_HW_UNAVAILABLE
22 import android.hardware.biometrics.BiometricFaceConstants.FACE_ERROR_TIMEOUT
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/shared/model/
DAuthenticationState.kt19 import android.hardware.biometrics.BiometricFaceConstants
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DFaceHelpMessageDeferralInteractor.kt19 import android.hardware.biometrics.BiometricFaceConstants.FACE_ACQUIRED_START in <lambda>()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricFaceConstants.java37 public class BiometricFaceConstants { class
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricNotificationService.java34 import android.hardware.biometrics.BiometricFaceConstants;
112 if (msgId == BiometricFaceConstants.BIOMETRIC_ERROR_RE_ENROLL

12