Home
last modified time | relevance | path

Searched refs:mAuthController (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DAuthControllerTest.java191 private TestableAuthController mAuthController; field in AuthControllerTest
252 mAuthController = new TestableAuthController(mContextSpy); in setup()
254 mAuthController.start(); in setup()
337 mAuthController.start(); in testFaceAuthEnrollmentStatus()
349 assertFalse(mAuthController.isFaceAuthEnrolled(userId)); in testFaceAuthEnrollmentStatus()
358 assertTrue(mAuthController.isFaceAuthEnrolled(userId)); in testFaceAuthEnrollmentStatus()
365 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_USER_CANCELED, in testSendsReasonUserCanceled_whenDismissedByUserCancel()
367 mAuthController.mCurrentDialog.getRequestId()); in testSendsReasonUserCanceled_whenDismissedByUserCancel()
376 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_BUTTON_NEGATIVE, in testSendsReasonNegative_whenDismissedByButtonNegative()
378 mAuthController.mCurrentDialog.getRequestId()); in testSendsReasonNegative_whenDismissedByButtonNegative()
[all …]
DUdfpsDisplayModeTest.java49 private AuthController mAuthController; field in UdfpsDisplayModeTest
71 when(mAuthController.getUdfpsRefreshRateCallback()).thenReturn(mDisplayCallback); in setUp()
74 mHbmController = new UdfpsDisplayMode(contextSpy, mExecution, mAuthController, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenState.java79 private final AuthController mAuthController; field in DozeScreenState
106 mAuthController = authController; in DozeScreenState()
114 mAuthController.addCallback(mAuthControllerCallback); in DozeScreenState()
119 if (mAuthController.isUdfpsEnrolled(mSelectedUserInteractor.getSelectedUserId())) { in updateUdfpsController()
128 mAuthController.removeCallback(mAuthControllerCallback); in destroy()
DDozeSensors.java102 private final AuthController mAuthController; field in DozeSensors
178 mAuthController = authController; in DozeSensors()
181 mAuthController.isUdfpsEnrolled(mSelectedUserInteractor.getSelectedUserId()); in DozeSensors()
182 mAuthController.addCallback(mAuthControllerCallback); in DozeSensors()
319 mAuthController.removeCallback(mAuthControllerCallback); in destroy()
876 mUdfpsEnrolled = mAuthController.isUdfpsEnrolled(
DDozeTriggers.java104 private final AuthController mAuthController; field in DozeTriggers
225 mAuthController = authController; in DozeTriggers()
350 mAuthController.onAodInterrupt((int) screenX, (int) screenY, in onSensor()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DLegacyLockIconViewControllerBaseTest.java93 protected @Mock AuthController mAuthController; field in LegacyLockIconViewControllerBaseTest
145 when(mAuthController.getScaleFactor()).thenReturn(1f); in setUp()
167 mAuthController, in setUp()
193 when(mAuthController.getUdfpsLocation()).thenReturn(udfpsLocation); in setupUdfps()
194 when(mAuthController.getUdfpsRadius()).thenReturn(radius); in setupUdfps()
209 verify(mAuthController).addCallback(mAuthControllerCallbackCaptor.capture()); in captureAuthControllerCallback()
DLegacyLockIconViewControllerTest.java80 when(mAuthController.getScaleFactor()).thenReturn(5f); in testUpdatePaddingBasedOnResolutionScale()
94 when(mAuthController.getFingerprintSensorLocation()).thenReturn(null); in testUpdateLockIconLocationOnAuthenticatorsRegistered()
115 when(mAuthController.getFingerprintSensorLocation()).thenReturn(null); in testUpdateLockIconLocationOnUdfpsLocationChanged()
DKeyguardUpdateMonitorTest.java244 private AuthController mAuthController; field in KeyguardUpdateMonitorTest
321 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(false); in setup()
385 when(mAuthController.areAllFingerprintAuthenticatorsRegistered()).thenReturn(true); in setupBiometrics()
399 when(mAuthController.isFingerprintEnrolled(anyInt())).thenReturn(true); in setupFingerprintAuth()
798 when(mAuthController.areAllFingerprintAuthenticatorsRegistered()).thenReturn(false); in test_doesNotTryToAuthenticateFingerprint_whenAuthenticatorsNotRegistered()
1007 verify(mAuthController).addCallback(captor.capture()); in fpStopsListeningWhenBiometricPromptShows_resumesOnBpHidden()
1338 verify(mAuthController).addCallback(captor.capture()); in testRegisterAuthControllerCallback()
1342 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(true); in testRegisterAuthControllerCallback()
1809 when(mAuthController.isUdfpsFingerDown()).thenReturn(false); in faceNonBypassFailure_requestActiveUnlock_doesNotDismissKeyguard()
1835 when(mAuthController.isUdfpsFingerDown()).thenReturn(false); in faceBypassFailure_requestActiveUnlock_dismissKeyguard()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DSessionTracker.java62 private final AuthController mAuthController; field in SessionTracker
79 mAuthController = authController; in SessionTracker()
87 mAuthController.addCallback(mAuthControllerCallback); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java101 private AuthController mAuthController; field in DozeSensorsTest
139 verify(mAuthController).addCallback(mAuthControllerCallbackCaptor.capture()); in setUp()
424 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(true); in testUdfpsEnrollmentChanged()
438 mProximitySensor, mFakeSettings, mAuthController, in testGesturesAllInitiallyRespectSettings()
483 mProximitySensor, mFakeSettings, mAuthController, in liftToWake_defaultSetting_configDefaultFalse()
502 mProximitySensor, mFakeSettings, mAuthController, in liftToWake_defaultSetting_configDefaultTrue()
517 mProximitySensor, mFakeSettings, mAuthController, in TestableDozeSensors()
DDozeScreenStateTest.java82 private AuthController mAuthController; field in DozeScreenStateTest
98 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(true); in setUp()
105 mWakeLock, mAuthController, mUdfpsControllerProvider, mDozeLog, in setUp()
318 verify(mAuthController).removeCallback(anyObject()); in authCallbackRemovedOnDestroy()
DDozeTriggersTest.java101 private AuthController mAuthController; field in DozeTriggersTest
147 mAuthController, mUiEventLogger, mSessionTracker, mKeyguardStateController, in setupDozeTriggers()
420 verify(mAuthController, never()).onAodInterrupt(anyInt(), anyInt(), anyFloat(), anyFloat()); in testOnSensor_Fingerprint()
427 verify(mAuthController).onAodInterrupt(eq(screenX), eq(screenY), eq(major), eq(minor)); in testOnSensor_Fingerprint()
462 verify(mAuthController).onAodInterrupt(anyInt(), anyInt(), anyFloat(), anyFloat()); in udfpsLongPress_triggeredWhenAodPaused()
481 verify(mAuthController).onAodInterrupt(anyInt(), anyInt(), anyFloat(), anyFloat()); in udfpsLongPress_triggeredWhenAodPausing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/
DSessionTrackerTest.java64 private AuthController mAuthController; field in SessionTrackerTest
92 mAuthController, in setup()
315 verify(mAuthController).addCallback( in captureAuthControllerCallback()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLegacyLockIconViewController.java117 @NonNull private final AuthController mAuthController; field in LegacyLockIconViewController
214 mAuthController = authController; in LegacyLockIconViewController()
317 mAuthController.addCallback(mAuthControllerCallback); in registerCallbacks()
327 mAuthController.removeCallback(mAuthControllerCallback); in unregisterCallbacks()
454 final float scaleFactor = mAuthController.getScaleFactor(); in updateLockIconLocation()
462 mView.setCenterLocation(mAuthController.getUdfpsLocation(), in updateLockIconLocation()
463 mAuthController.getUdfpsRadius(), scaledPadding); in updateLockIconLocation()
DKeyguardUpdateMonitor.java282 private final AuthController mAuthController; field in KeyguardUpdateMonitor
2184 mAuthController = authController; in KeyguardUpdateMonitor()
2413 mAuthController.addCallback(new AuthController.Callback() { in start()
2491 return mAuthController.isUdfpsEnrolled(mSelectedUserInteractor.getSelectedUserId()); in isUdfpsEnrolled()
2499 return mAuthController.isUdfpsSupported(); in isUdfpsSupported()
2506 return mAuthController.isSfpsEnrolled(mSelectedUserInteractor.getSelectedUserId()); in isSfpsEnrolled()
2514 return mAuthController.isSfpsSupported(); in isSfpsSupported()
2561 if (!mAuthController.areAllFingerprintAuthenticatorsRegistered()) { in updateFingerprintListeningState()
2716 || mAuthController.isUdfpsFingerDown()); in requestActiveUnlock()
3005 && !isFingerprintDisabled(userId) && mAuthController.isFingerprintEnrolled(userId); in isUnlockWithFingerprintPossible()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java104 @Mock private AuthController mAuthController; field in NotificationShadeWindowControllerImplTest
158 mAuthController, in setUp()
422 when(mAuthController.isOpticalUdfpsEnrolled(anyInt())).thenReturn(true); in udfpsEnrolled_minAndMaxRefreshRateSetToPreferredRefreshRate()
438 when(mAuthController.isOpticalUdfpsEnrolled(anyInt())).thenReturn(false); in opticalUdfpsNotEnrolled_refreshRateUnset()
454 when(mAuthController.isOpticalUdfpsEnrolled(anyInt())).thenReturn(true); in keyguardNotShowing_refreshRateUnset()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java111 private AuthController mAuthController; field in BiometricsUnlockControllerTest
150 when(mAuthController.isUdfpsFingerDown()).thenReturn(false); in setUp()
168 mAuthController, mStatusBarStateController, in createController()
302 when(mAuthController.isUdfpsFingerDown()).thenReturn(true); in onBiometricAuthenticated_whenFace_andNonBypassAndUdfps_dismissKeyguard()
553 when(mAuthController.isSfpsEnrolled(anyInt())).thenReturn(true); in onSideFingerprintSuccess_dreaming_unlockNoWake()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeServiceHost.java104 private final AuthController mAuthController; field in DozeServiceHost
147 mAuthController = authController; in DozeServiceHost()
343 mAuthController.dozeTimeTick(); in dozeTimeTick()
DBiometricUnlockController.java177 private final AuthController mAuthController; field in BiometricUnlockController
318 mAuthController = authController; in BiometricUnlockController()
658 || mAuthController.isUdfpsFingerDown(); in calculateModeForPassiveAuth()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java97 @Mock private AuthController mAuthController; field in DozeServiceHostTest
109 mNotificationWakeUpCoordinator, mAuthController, mNotificationIconAreaController, in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerBaseTest.java166 protected AuthController mAuthController; field in KeyguardIndicationControllerBaseTest
284 mAuthController, mLockPatternUtils, mScreenLifecycle, in createController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java116 private final AuthController mAuthController; field in NotificationShadeWindowControllerImpl
181 mAuthController = authController; in NotificationShadeWindowControllerImpl()
380 && mAuthController.isOpticalUdfpsEnrolled( in applyKeyguardFlags()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerBaseTest.java283 @Mock protected AuthController mAuthController; field in NotificationPanelViewControllerBaseTest
485 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(false); in setup()
712 mAuthController, in setup()
DNotificationPanelViewControllerTest.java304 when(mAuthController.getUdfpsLocation()).thenReturn(udfpsLocationCenter); in testOnDozeAmountChanged_positionClockAndNotificationsUsesUdfpsLocation()
305 when(mAuthController.getUdfpsRadius()).thenReturn(udfpsRadius); in testOnDozeAmountChanged_positionClockAndNotificationsUsesUdfpsLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java162 private final AuthController mAuthController; field in KeyguardIndicationController
329 mAuthController = authController; in KeyguardIndicationController()
1599 } else if (!mAuthController.isUdfpsFingerDown()) { in handleFaceLockoutError()

12