Home
last modified time | relevance | path

Searched refs:mUpdateMonitor (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java71 private KeyguardUpdateMonitor mUpdateMonitor; field in BiometricsUnlockControllerTest
111 when(mUpdateMonitor.isDeviceInteractive()).thenReturn(true); in setUp()
123 mUpdateMonitor, res.getResources(), mKeyguardBypassController, mDozeParameters, in setUp()
133 when(mUpdateMonitor.isUnlockingWithBiometricAllowed(true /* isStrongBiometric */)) in onBiometricAuthenticated_whenFingerprintAndBiometricsDisallowed_showBouncer()
145 when(mUpdateMonitor.isUnlockingWithBiometricAllowed(false /* isStrongBiometric */)) in onBiometricAuthenticated_whenFingerprint_nonStrongBioDisallowed_showBouncer()
160 reset(mUpdateMonitor); in onBiometricAuthenticated_whenFingerprintAndNotInteractive_wakeAndUnlock()
163 when(mUpdateMonitor.isUnlockingWithBiometricAllowed(anyBoolean())).thenReturn(true); in onBiometricAuthenticated_whenFingerprintAndNotInteractive_wakeAndUnlock()
177 when(mUpdateMonitor.isUnlockingWithBiometricAllowed(anyBoolean())).thenReturn(true); in onBiometricAuthenticated_whenFingerprint_notifyKeyguardAuthenticated()
191 when(mUpdateMonitor.isUnlockingWithBiometricAllowed(anyBoolean())).thenReturn(true); in onBiometricAuthenticated_whenFingerprintOnBouncer_dismissBouncer()
205 when(mUpdateMonitor.isUnlockingWithBiometricAllowed(anyBoolean())).thenReturn(true); in onBiometricAuthenticated_whenFace_dontDismissKeyguard()
[all …]
DNotificationPanelViewTest.java178 private KeyguardUpdateMonitor mUpdateMonitor; field in NotificationPanelViewTest
414 mLatencyTracker, mPowerManager, mAccessibilityManager, 0, mUpdateMonitor, in setup()
514 when(mUpdateMonitor.shouldListenForFace()).thenReturn(true); in testKeyguardStatusBarVisibility_hiddenForBypass()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAdminSecondaryLockScreenController.java49 private final KeyguardUpdateMonitor mUpdateMonitor; field in AdminSecondaryLockScreenController
113 Intent newIntent = mUpdateMonitor.getSecondaryLockscreenRequirement(userId);
125 mUpdateMonitor.registerCallback(mUpdateCallback);
145 mUpdateMonitor.removeCallback(mUpdateCallback);
155 mUpdateMonitor = updateMonitor; in AdminSecondaryLockScreenController()
246 private final KeyguardUpdateMonitor mUpdateMonitor; field in AdminSecondaryLockScreenController.Factory
254 mUpdateMonitor = updateMonitor; in Factory()
259 return new AdminSecondaryLockScreenController(mContext, mParent, mUpdateMonitor, in create()
DKeyguardSecurityContainerController.java69 private final KeyguardUpdateMonitor mUpdateMonitor; field in KeyguardSecurityContainerController
119 mUpdateMonitor.cancelFaceAuth();
177 if (!mUpdateMonitor.isFaceDetectionRunning()) {
178 mUpdateMonitor.requestFaceAuth(true);
210 mUpdateMonitor = keyguardUpdateMonitor; in KeyguardSecurityContainerController()
345 if (mUpdateMonitor.getUserHasTrust(targetUserId)) { in showNextSecurityScreenOrFinish()
349 } else if (mUpdateMonitor.getUserUnlockedWithBiometric(targetUserId)) { in showNextSecurityScreenOrFinish()
397 mUpdateMonitor.getSecondaryLockscreenRequirement(targetUserId); in showNextSecurityScreenOrFinish()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java150 private final KeyguardUpdateMonitor mUpdateMonitor; field in BiometricUnlockController
264 mUpdateMonitor = keyguardUpdateMonitor; in BiometricUnlockController()
266 mUpdateMonitor.registerCallback(this); in BiometricUnlockController()
319 if (!mUpdateMonitor.isDeviceInteractive()) { in onBiometricAcquired()
351 if (mUpdateMonitor.isGoingToSleep()) { in onBiometricAuthenticated()
382 boolean wasDeviceInteractive = mUpdateMonitor.isDeviceInteractive(); in startWakeAndUnlock()
454 mUpdateMonitor.awakenFromDream(); in startWakeAndUnlock()
513 && mUpdateMonitor in hasPendingAuthentication()
534 mUpdateMonitor.isUnlockingWithBiometricAllowed(isStrongBiometric); in calculateModeForFingerprint()
535 boolean deviceDreaming = mUpdateMonitor.isDreaming(); in calculateModeForFingerprint()
[all …]
DLockscreenWallpaper.java71 private final KeyguardUpdateMonitor mUpdateMonitor; field in LockscreenWallpaper
94 mUpdateMonitor = keyguardUpdateMonitor; in LockscreenWallpaper()
122 mUpdateMonitor.setHasLockscreenWallpaper(result.bitmap != null); in getBitmap()
238 mUpdateMonitor.setHasLockscreenWallpaper(result.bitmap != null); in run()
DNotificationPanelViewController.java277 && mUpdateMonitor.isUnlockingWithBiometricAllowed(isStrongBiometric)) {
310 private final KeyguardUpdateMonitor mUpdateMonitor; field in NotificationPanelViewController
792 mUpdateMonitor = keyguardUpdateMonitor; in NotificationPanelViewController()
2993 mFirstBypassAttempt && mUpdateMonitor.shouldListenForFace() in updateHeaderKeyguardAlpha()
3251 if (mUpdateMonitor.isFaceEnrolled() in onMiddleClicked()
3252 && !mUpdateMonitor.isFaceDetectionRunning() in onMiddleClicked()
3253 && !mUpdateMonitor.getUserCanSkipBouncer( in onMiddleClicked()
3255 mUpdateMonitor.requestFaceAuth(true); in onMiddleClicked()
4501 mUpdateMonitor.registerCallback(mKeyguardUpdateCallback); in onViewAttachedToWindow()
4518 mUpdateMonitor.removeCallback(mKeyguardUpdateCallback); in onViewDetachedFromWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java320 private final KeyguardUpdateMonitor mUpdateMonitor; field in KeyguardViewMediator
555 boolean simPinSecure = mUpdateMonitor.isSimPinSecure();
670 notifyTrustedChangedLocked(mUpdateMonitor.getUserHasTrust(userId));
782 boolean trust = mUpdateMonitor.isTrustUsuallyManaged(currentUser);
783 boolean biometrics = mUpdateMonitor.isUnlockingWithBiometricsPossible(currentUser);
786 mUpdateMonitor.getStrongAuthTracker();
853 mUpdateMonitor = keyguardUpdateMonitor; in KeyguardViewMediator()
982 mUpdateMonitor.registerCallback(mUpdateCallback); in handleSystemReady()
1039 mUpdateMonitor.dispatchStartedGoingToSleep(offReason); in onStartedGoingToSleep()
1045 mUpdateMonitor.dispatchKeyguardGoingAway(false); in onStartedGoingToSleep()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java77 private @Mock KeyguardUpdateMonitor mUpdateMonitor; field in KeyguardViewMediatorTest
113 mUpdateMonitor, in setUp()
135 verify(mUpdateMonitor).dispatchKeyguardGoingAway(false); in testOnGoingToSleep_UpdatesKeyguardGoingAway()
170 when(mUpdateMonitor.isDeviceProvisioned()).thenReturn(true); in restoreBouncerWhenSimLockedAndKeyguardIsGoingAway()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DAdminSecondaryLockScreenControllerTest.java77 private KeyguardUpdateMonitor mUpdateMonitor; field in AdminSecondaryLockScreenControllerTest
98 mContext, mKeyguardSecurityContainer, mUpdateMonitor, mHandler) in setUp()