Home
last modified time | relevance | path

Searched refs:mStatusBarKeyguardViewManager (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java61 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in BiometricsUnlockControllerTest
83 when(mStatusBarKeyguardViewManager.isShowing()).thenReturn(true); in setUp()
95 mBiometricUnlockController.setStatusBarKeyguardViewManager(mStatusBarKeyguardViewManager); in setUp()
102 verify(mStatusBarKeyguardViewManager).showBouncer(eq(false)); in onBiometricAuthenticated_whenFingerprintAndBiometricsDisallowed_showBouncer()
103 verify(mStatusBarKeyguardViewManager).animateCollapsePanels(anyFloat()); in onBiometricAuthenticated_whenFingerprintAndBiometricsDisallowed_showBouncer()
109 reset(mStatusBarKeyguardViewManager); in onBiometricAuthenticated_whenFingerprintAndNotInteractive_wakeAndUnlock()
110 when(mStatusBarKeyguardViewManager.isShowing()).thenReturn(true); in onBiometricAuthenticated_whenFingerprintAndNotInteractive_wakeAndUnlock()
125 verify(mStatusBarKeyguardViewManager, never()).showBouncer(anyBoolean()); in onBiometricAuthenticated_whenFingerprint_dismissKeyguard()
126 verify(mStatusBarKeyguardViewManager).animateCollapsePanels(anyFloat()); in onBiometricAuthenticated_whenFingerprint_dismissKeyguard()
132 when(mStatusBarKeyguardViewManager.bouncerIsOrWillBeShowing()).thenReturn(true); in onBiometricAuthenticated_whenFingerprintOnBouncer_dismissBouncer()
[all …]
DStatusBarKeyguardViewManagerTest.java84 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in StatusBarKeyguardViewManagerTest
94 mStatusBarKeyguardViewManager = new TestableStatusBarKeyguardViewManager(getContext(), in setUp()
96 mStatusBarKeyguardViewManager.registerStatusBar(mStatusBar, mContainer, in setUp()
100 mStatusBarKeyguardViewManager.show(null); in setUp()
107 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in dismissWithAction_AfterKeyguardGoneSetToFalse()
114 mStatusBarKeyguardViewManager.hide(0 /* startTime */, 0 /* fadeoutDuration */); in showBouncer_onlyWhenShowing()
122 mStatusBarKeyguardViewManager.hide(0 /* startTime */, 0 /* fadeoutDuration */); in showBouncer_notWhenBouncerAlreadyShowing()
131 mStatusBarKeyguardViewManager.showBouncer(true /* scrimmed */); in showBouncer_showsTheBouncer()
139 mStatusBarKeyguardViewManager.onPanelExpansionChanged(0.5f /* expansion */, in onPanelExpansionChanged_neverHidesFullscreenBouncer()
148 mStatusBarKeyguardViewManager.onPanelExpansionChanged(0.5f /* expansion */, in onPanelExpansionChanged_neverHidesScrimmedBouncer()
[all …]
DStatusBarTest.java135 @Mock private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in StatusBarTest
247 }).when(mStatusBarKeyguardViewManager).dismissWithAction(any(), any(), anyBoolean()); in setup()
253 }).when(mStatusBarKeyguardViewManager).addAfterKeyguardGoneRunnable(any()); in setup()
259 mStatusBar = new TestableStatusBar(mStatusBarKeyguardViewManager, mUnlockMethodCache, in setup()
293 when(mStatusBarKeyguardViewManager.isShowing()).thenReturn(true); in executeRunnableDismissingKeyguard_nullRunnable_showingAndOccluded()
294 when(mStatusBarKeyguardViewManager.isOccluded()).thenReturn(true); in executeRunnableDismissingKeyguard_nullRunnable_showingAndOccluded()
301 when(mStatusBarKeyguardViewManager.isShowing()).thenReturn(true); in executeRunnableDismissingKeyguard_nullRunnable_showing()
302 when(mStatusBarKeyguardViewManager.isOccluded()).thenReturn(false); in executeRunnableDismissingKeyguard_nullRunnable_showing()
309 when(mStatusBarKeyguardViewManager.isShowing()).thenReturn(false); in executeRunnableDismissingKeyguard_nullRunnable_notShowing()
310 when(mStatusBarKeyguardViewManager.isOccluded()).thenReturn(false); in executeRunnableDismissingKeyguard_nullRunnable_notShowing()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java135 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in BiometricUnlockController
194 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in setStatusBarKeyguardViewManager()
314 mStatusBarKeyguardViewManager.notifyKeyguardAuthenticated( in startWakeAndUnlock()
362 mStatusBarKeyguardViewManager.showBouncer(false); in showBouncer()
364 mStatusBarKeyguardViewManager.animateCollapsePanels( in showBouncer()
415 if (!mStatusBarKeyguardViewManager.isShowing()) { in calculateModeForFingerprint()
428 if (mStatusBarKeyguardViewManager.isShowing()) { in calculateModeForFingerprint()
429 if (mStatusBarKeyguardViewManager.bouncerIsOrWillBeShowing() && unlockingAllowed) { in calculateModeForFingerprint()
433 } else if (!mStatusBarKeyguardViewManager.isBouncerShowing()) { in calculateModeForFingerprint()
446 if (!mStatusBarKeyguardViewManager.isShowing()) { in calculateModeForPassiveAuth()
[all …]
DStatusBar.java542 if (mStatusBarKeyguardViewManager == null) {
548 mStatusBarKeyguardViewManager.onKeyguardFadedAway();
1175 mStatusBarKeyguardViewManager.addAfterKeyguardGoneRunnable(runnable); in addAfterKeyguardGoneRunnable()
1246 if (mStatusBarKeyguardViewManager != null) { in onThemeChanged()
1247 mStatusBarKeyguardViewManager.onThemeChanged(); in onThemeChanged()
1293 mStatusBarKeyguardViewManager = keyguardViewMediator.registerStatusBar(this, in startKeyguard()
1298 .setStatusBarKeyguardViewManager(mStatusBarKeyguardViewManager); in startKeyguard()
1299 mBiometricUnlockController.setStatusBarKeyguardViewManager(mStatusBarKeyguardViewManager); in startKeyguard()
1300 mRemoteInputManager.getController().addCallback(mStatusBarKeyguardViewManager); in startKeyguard()
1301 mDynamicPrivacyController.setStatusBarKeyguardViewManager(mStatusBarKeyguardViewManager); in startKeyguard()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java231 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in KeyguardViewMediator
581 mStatusBarKeyguardViewManager.setNeedsInput(needsInput);
595 mStatusBarKeyguardViewManager.startPreHideAnimation(mHideAnimationFinishedRunnable);
625 mStatusBarKeyguardViewManager.onCancelClicked();
726 mStatusBarKeyguardViewManager = in setupLocked()
1226 mStatusBarKeyguardViewManager.setOccluded(isOccluded, animate in handleSetOccluded()
1297 if (mStatusBarKeyguardViewManager.isShowing()) { in doKeyguardLocked()
1361 mStatusBarKeyguardViewManager.dismissAndCollapse(); in handleDismiss()
1623 mStatusBarKeyguardViewManager.startPreHideAnimation(mHideAnimationFinishedRunnable); in tryKeyguardDone()
1779 mStatusBarKeyguardViewManager.show(options); in handleShow()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java47 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in DynamicPrivacyController
109 if (!mStatusBarKeyguardViewManager.isShowing() in isInLockedDownShade()
125 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in setStatusBarKeyguardViewManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java105 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in KeyguardIndicationController
567 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in setStatusBarKeyguardViewManager()
598 if (mStatusBarKeyguardViewManager.isBouncerShowing()) { in showSwipeUpToUnlock()
600 mStatusBarKeyguardViewManager.showBouncerMessage(message, mInitialTextColorState); in showSwipeUpToUnlock()
692 if (mStatusBarKeyguardViewManager.isBouncerShowing()) { in onBiometricHelp()
693 mStatusBarKeyguardViewManager.showBouncerMessage(helpString, in onBiometricHelp()
718 } else if (mStatusBarKeyguardViewManager.isBouncerShowing()) { in onBiometricError()
719 mStatusBarKeyguardViewManager.showBouncerMessage(errString, mInitialTextColorState); in onBiometricError()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java103 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in KeyguardIndicationControllerTest
147 mController.setStatusBarKeyguardViewManager(mStatusBarKeyguardViewManager); in createController()
380 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(true); in transientIndication_swipeUpToRetry()
386 verify(mStatusBarKeyguardViewManager).showBouncerMessage(eq(message), any()); in transientIndication_swipeUpToRetry()