Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthControllerTest.java129 private TestableAuthController mAuthController; field in AuthControllerTest
177 mAuthController.start(); in setup()
327 mAuthController.onBiometricAuthenticated(); in testOnAuthenticationSucceededInvoked_whenSystemRequested()
335 mAuthController.onBiometricError(modality, in testOnAuthenticationFailedInvoked_whenBiometricRejected()
456 mAuthController.hideAuthenticationDialog(); in testHideAuthenticationDialog_invokesDismissFromSystemServer()
461 assertNull(mAuthController.mCurrentDialog); in testHideAuthenticationDialog_invokesDismissFromSystemServer()
486 mAuthController.hideAuthenticationDialog(); in testCancelAuthentication_whenCredentialConfirmed_doesntCrash()
571 assertNull(mAuthController.mCurrentDialog); in testClientNotified_whenTaskStackChangesDuringAuthentication()
572 assertNull(mAuthController.mReceiver); in testClientNotified_whenTaskStackChangesDuringAuthentication()
584 mAuthController.onTryAgainPressed(); in testDoesNotCrash_whenTryAgainPressedAfterDismissal()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeScreenState.java76 private final AuthController mAuthController; field in DozeScreenState
101 mAuthController = authController; in DozeScreenState()
108 mAuthController.addCallback(mAuthControllerCallback); in DozeScreenState()
113 if (mAuthController.isUdfpsEnrolled(KeyguardUpdateMonitor.getCurrentUser())) { in updateUdfpsController()
122 mAuthController.removeCallback(mAuthControllerCallback); in destroy()
H A DDozeSensors.java103 private final AuthController mAuthController; field in DozeSensors
176 mAuthController = authController; in DozeSensors()
179 mAuthController.isUdfpsEnrolled(KeyguardUpdateMonitor.getCurrentUser()); in DozeSensors()
180 mAuthController.addCallback(mAuthControllerCallback); in DozeSensors()
294 mAuthController.removeCallback(mAuthControllerCallback); in destroy()
833 mUdfpsEnrolled = mAuthController.isUdfpsEnrolled(
H A DDozeTriggers.java96 private final AuthController mAuthController; field in DozeTriggers
209 mAuthController = authController; in DozeTriggers()
333 mAuthController.onAodInterrupt((int) screenX, (int) screenY, in onSensor()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DLockIconViewControllerTest.java103 private @Mock AuthController mAuthController; field in LockIconViewControllerTest
165 mAuthController, in setUp()
200 when(mAuthController.getFingerprintSensorLocation()).thenReturn(null); in testUpdateFingerprintLocationOnAuthenticatorsRegistered()
201 when(mAuthController.getUdfpsProps()).thenReturn(null); in testUpdateFingerprintLocationOnAuthenticatorsRegistered()
402 when(mAuthController.getUdfpsSensorLocation()).thenReturn(udfpsLocation); in setupUdfps()
403 when(mAuthController.getUdfpsProps()).thenReturn(List.of(fpProps)); in setupUdfps()
418 verify(mAuthController).addCallback(mAuthControllerCallbackCaptor.capture()); in captureAuthControllerCallback()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
H A DDozeScreenStateTest.java81 private AuthController mAuthController; field in DozeScreenStateTest
95 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(true); in setUp()
102 mWakeLock, mAuthController, mUdfpsControllerProvider, mDozeLog, in setUp()
315 verify(mAuthController).removeCallback(anyObject()); in authCallbackRemovedOnDestroy()
H A DDozeTriggersTest.java86 private AuthController mAuthController; field in DozeTriggersTest
124 mAuthController, mExecutor, mUiEventLogger, mKeyguardStateController, in setupDozeTriggers()
271 verify(mAuthController, never()).onAodInterrupt(anyInt(), anyInt(), anyFloat(), anyFloat()); in testOnSensor_Fingerprint()
278 verify(mAuthController).onAodInterrupt(eq(screenX), eq(screenY), eq(major), eq(minor)); in testOnSensor_Fingerprint()
H A DDozeSensorsTest.java96 private AuthController mAuthController; field in DozeSensorsTest
129 verify(mAuthController).addCallback(mAuthControllerCallbackCaptor.capture()); in setUp()
413 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(true); in testUdfpsEnrollmentChanged()
427 mProximitySensor, mFakeSettings, mAuthController, in testGesturesAllInitiallyRespectSettings()
439 mProximitySensor, mFakeSettings, mAuthController, in TestableDozeSensors() local
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DBiometricsUnlockControllerTest.java94 private AuthController mAuthController; field in BiometricsUnlockControllerTest
118 when(mAuthController.isUdfpsFingerDown()).thenReturn(false); in setUp()
129 mAuthController, mStatusBarStateController); in setUp()
242 when(mAuthController.isUdfpsFingerDown()).thenReturn(true); in onBiometricAuthenticated_whenFace_andNonBypassAndUdfps_dismissKeyguard()
H A DDozeServiceHostTest.java91 @Mock private AuthController mAuthController; field in DozeServiceHostTest
102 mAuthController, mNotificationIconAreaController); in setup()
H A DNotificationShadeWindowControllerImplTest.java77 @Mock private AuthController mAuthController; field in NotificationShadeWindowControllerImplTest
92 mUnlockedScreenOffAnimationController, mAuthController); in setUp()
H A DNotificationPanelViewControllerTest.java260 private AuthController mAuthController; field in NotificationPanelViewControllerTest
325 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(false); in setup()
432 mAuthController, in setup()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DLockIconViewController.java99 @NonNull private final AuthController mAuthController; field in LockIconViewController
167 mAuthController = authController; in LockIconViewController()
210 mAuthController.addCallback(mAuthControllerCallback); in onViewAttached()
221 mAuthController.removeCallback(mAuthControllerCallback); in onViewDetached()
354 FingerprintSensorPropertiesInternal props = mAuthController.getUdfpsProps().get(0); in updateLockIconLocation()
H A DKeyguardUpdateMonitor.java255 private final AuthController mAuthController; field in KeyguardUpdateMonitor
1821 mAuthController = authController; in KeyguardUpdateMonitor()
2032 mAuthController.addCallback(new AuthController.Callback() { in KeyguardUpdateMonitor()
2100 mIsUdfpsEnrolled = mAuthController.isUdfpsEnrolled(userId); in updateUdfpsEnrolled()
2122 return mAuthController.getUdfpsProps() != null in isUdfpsSupported()
2123 && !mAuthController.getUdfpsProps().isEmpty(); in isUdfpsSupported()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeServiceHost.java88 private final AuthController mAuthController; field in DozeServiceHost
129 mAuthController = authController; in DozeServiceHost()
297 mAuthController.dozeTimeTick(); in dozeTimeTick()
H A DBiometricUnlockController.java173 private final AuthController mAuthController; field in BiometricUnlockController
293 mAuthController = authController; in BiometricUnlockController()
621 return bypass || mAuthController.isUdfpsFingerDown() in calculateModeForPassiveAuth()
H A DNotificationShadeWindowControllerImpl.java94 private final AuthController mAuthController; field in NotificationShadeWindowControllerImpl
135 mAuthController = authController; in NotificationShadeWindowControllerImpl()
301 && mAuthController.isUdfpsEnrolled(KeyguardUpdateMonitor.getCurrentUser())) { in applyKeyguardFlags()
H A DNotificationPanelViewController.java289 private final AuthController mAuthController; field in NotificationPanelViewController
806 mAuthController = authController; in NotificationPanelViewController()
1319 if (mUpdateMonitor.isUdfpsEnrolled() && mAuthController.getUdfpsProps().size() > 0) { in updateClockAppearance()
1320 FingerprintSensorPropertiesInternal props = mAuthController.getUdfpsProps().get(0); in updateClockAppearance()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardUpdateMonitorTest.java169 private AuthController mAuthController; field in KeyguardUpdateMonitorTest
232 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(false); in setup()
891 verify(mAuthController).addCallback(captor.capture()); in testRegisterAuthControllerCallback()
895 when(mAuthController.isUdfpsEnrolled(anyInt())).thenReturn(true); in testRegisterAuthControllerCallback()
1107 mAuthController, mTelephonyListenerManager, in TestableKeyguardUpdateMonitor()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
H A DNewNotifPipelineBubblesTest.java163 private AuthController mAuthController; field in NewNotifPipelineBubblesTest
242 mUnlockedScreenOffAnimationController, mAuthController); in setUp()
H A DBubblesTest.java245 private AuthController mAuthController; field in BubblesTest
269 mUnlockedScreenOffAnimationController, mAuthController); in setUp()