Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java26 import android.hardware.face.FaceManager;
40 private FaceManager mFaceManager;
47 FaceManager faceManager, PackageManager packageManager) { in MockLockSettingsContext()
DBaseLockSettingsServiceTests.java41 import android.hardware.face.FaceManager;
110 FaceManager mFaceManager;
130 mFaceManager = mock(FaceManager.class); in setUp_baseServices()
282 FaceManager.RemovalCallback callback = in mockBiometricsHardwareFingerprintsAndTemplates()
283 (FaceManager.RemovalCallback) invocation.getArguments()[2]; in mockBiometricsHardwareFingerprintsAndTemplates()
DLockSettingsStorageTests.java36 import android.hardware.face.FaceManager;
106 mock(FingerprintManager.class), mock(FaceManager.class), in setUp()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceConstants.java19 import android.hardware.face.FaceManager;
72 return FaceManager.FACE_ACQUIRED_VENDOR; in acquireVendorCode()
DFaceService.java44 import android.hardware.face.FaceManager;
140 + "\t" + FaceManager.getErrorString(context, mError, mVendorError); in toString()
206 + "\t" + FaceManager.getErrorString(mContext, key, 0 /* vendorCode */)); in print()
234 return mLastAcquire != FaceManager.FACE_ACQUIRED_NOT_DETECTED in wasUserDetected()
235 && mLastAcquire != FaceManager.FACE_ACQUIRED_SENSOR_DIRTY; in wasUserDetected()
303 if (acquireInfo == FaceManager.FACE_ACQUIRED_RECALIBRATE) { in onAcquired()
750 FaceManager.getMappedAcquiredInfo(acquiredInfo, vendorCode), in onAcquired()
751 FaceManager.getAcquiredString(getContext(), acquiredInfo, vendorCode)); in onAcquired()
/frameworks/base/services/core/java/com/android/server/biometrics/
DLoggableMonitor.java22 import android.hardware.face.FaceManager;
78 || (isFace && acquiredInfo == FaceManager.FACE_ACQUIRED_START)) { in logOnAcquired()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricFaceConstants.java21 import android.hardware.face.FaceManager;
DBiometricPrompt.java30 import android.hardware.face.FaceManager;
495 errorMessage = FaceManager.getErrorString(mContext, error, vendorCode);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthControllerTest.java46 import android.hardware.face.FaceManager;
225 assertEquals(captor.getValue(), FaceManager.getErrorString(mContext, error, vendorCode)); in testOnAuthenticationFailedInvoked_whenBiometricTimedOut()
250 assertEquals(captor.getValue(), FaceManager.getErrorString(mContext, error, vendorCode)); in testOnErrorInvoked_whenSystemRequested()
288 verify(mDialog1).onError(eq(FaceManager.getErrorString(mContext, error, vendorCode))); in testErrorLockout_whenCredentialNotAllowed_sendsOnError()
301 verify(mDialog1).onError(eq(FaceManager.getErrorString(mContext, error, vendorCode))); in testErrorLockoutPermanent_whenCredentialNotAllowed_sendsOnError()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java57 import android.hardware.face.FaceManager;
810 if (acquireInfo != FaceManager.FACE_ACQUIRED_GOOD) { in handleFaceAcquired()
875 if (msgId == FaceManager.FACE_ERROR_CANCELED && mHandler.hasCallbacks(mCancelNotReceived)) { in handleFaceError()
879 if (msgId == FaceManager.FACE_ERROR_CANCELED in handleFaceError()
887 if (msgId == FaceManager.FACE_ERROR_HW_UNAVAILABLE in handleFaceError()
888 || msgId == FaceManager.FACE_ERROR_UNABLE_TO_PROCESS) { in handleFaceError()
896 if (msgId == FaceManager.FACE_ERROR_LOCKOUT_PERMANENT) { in handleFaceError()
1243 private final FaceManager.LockoutResetCallback mFaceLockoutResetCallback
1244 = new FaceManager.LockoutResetCallback() {
1283 FaceManager.AuthenticationCallback mFaceAuthenticationCallback
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java32 import android.hardware.face.FaceManager;
743 if (msgId == FaceManager.FACE_ERROR_TIMEOUT) { in onBiometricError()
793 && msgId != FaceManager.FACE_ERROR_LOCKOUT_PERMANENT) in shouldSuppressFaceError()
794 || msgId == FaceManager.FACE_ERROR_CANCELED); in shouldSuppressFaceError()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java48 import android.hardware.face.FaceManager;
448 mController.getKeyguardCallback().onBiometricError(FaceManager.FACE_ERROR_TIMEOUT, in transientIndication_visibleWhenDozing_unlessSwipeUp_fromError()
464 mController.getKeyguardCallback().onBiometricError(FaceManager.FACE_ERROR_TIMEOUT, in transientIndication_swipeUpToRetry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java36 import android.hardware.face.FaceManager;
323 return FaceManager.getErrorString(mContext, error, vendorCode); in getErrorString()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java54 import android.hardware.face.FaceManager;
132 private FaceManager mFaceManager;
189 mSpiedContext.addMockSystemService(FaceManager.class, mFaceManager); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DNewNotifPipelineBubbleControllerTest.java46 import android.hardware.face.FaceManager;
130 private FaceManager mFaceManager;
194 mContext.addMockSystemService(FaceManager.class, mFaceManager); in setUp()
DBubbleControllerTest.java49 import android.hardware.face.FaceManager;
133 private FaceManager mFaceManager;
199 mContext.addMockSystemService(FaceManager.class, mFaceManager); in setUp()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java68 import android.hardware.face.FaceManager;
525 public FaceManager getFaceManager() { in getFaceManager()
527 return (FaceManager) mContext.getSystemService(Context.FACE_SERVICE); in getFaceManager()
1423 mContext.getSystemService(FaceManager.class).revokeChallenge(); in unlockUser()
2703 challenge = mContext.getSystemService(FaceManager.class).generateChallenge(); in spBasedDoVerifyCredential()
2885 FaceManager mFaceManager = mInjector.getFaceManager(); in removeAllFaceForUser()
2921 private FaceManager.RemovalCallback faceManagerRemovalCallback(CountDownLatch latch) {
2922 return new FaceManager.RemovalCallback() {
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java58 public class FaceManager implements BiometricAuthenticator, BiometricFaceConstants { class
142 public FaceManager(Context context, IFaceService service) { in FaceManager() method in FaceManager
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java85 import android.hardware.face.FaceManager;
887 registerService(Context.FACE_SERVICE, FaceManager.class, in registerService()
888 new CachedServiceFetcher<FaceManager>() { in registerService()
890 public FaceManager createService(ContextImpl ctx) in registerService()
899 return new FaceManager(ctx.getOuterContext(), service); in registerService()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java81 import android.hardware.face.FaceManager;
2500 FaceManager faceManager = null;
2506 faceManager = mContext.getSystemService(FaceManager.class);
/frameworks/base/config/
Dpreloaded-classes2433 android.hardware.face.FaceManager$1
2434 android.hardware.face.FaceManager$AuthenticationCallback
2435 android.hardware.face.FaceManager$AuthenticationResult
2436 android.hardware.face.FaceManager$EnrollmentCallback
2437 android.hardware.face.FaceManager$LockoutResetCallback
2438 android.hardware.face.FaceManager$MyHandler
2439 android.hardware.face.FaceManager$OnAuthenticationCancelListener
2440 android.hardware.face.FaceManager$RemovalCallback
2441 android.hardware.face.FaceManager
Dboot-image-profile.txt9826 HSPLandroid/hardware/face/FaceManager$1;-><init>(Landroid/hardware/face/FaceManager;)V
9827 HSPLandroid/hardware/face/FaceManager$AuthenticationCallback;-><init>()V
9828 HSPLandroid/hardware/face/FaceManager$LockoutResetCallback;-><init>()V
9829 HSPLandroid/hardware/face/FaceManager$MyHandler;-><init>(Landroid/hardware/face/FaceManager;Landroi…
9830 …hardware/face/FaceManager$MyHandler;-><init>(Landroid/hardware/face/FaceManager;Landroid/content/C…
9831 HSPLandroid/hardware/face/FaceManager;-><init>(Landroid/content/Context;Landroid/hardware/face/IFac…
9832 HSPLandroid/hardware/face/FaceManager;->hasEnrolledTemplates(I)Z
9833 HSPLandroid/hardware/face/FaceManager;->isHardwareDetected()Z
42561 Landroid/hardware/face/FaceManager$1;
42562 Landroid/hardware/face/FaceManager$AuthenticationCallback;
[all …]
/frameworks/base/services/
Dart-profile18547 …ver/locksettings/LockSettingsService$Injector;->getFaceManager()Landroid/hardware/face/FaceManager;