Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java162 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in StatusBarKeyguardViewManagerTest
198 mStatusBarKeyguardViewManager = in setUp()
238 mStatusBarKeyguardViewManager.registerCentralSurfaces( in setUp()
244 mStatusBarKeyguardViewManager.show(null); in setUp()
257 mStatusBarKeyguardViewManager.dismissWithAction( in dismissWithAction_AfterKeyguardGoneSetToFalse()
265 mStatusBarKeyguardViewManager.hide(0 /* startTime */, 0 /* fadeoutDuration */); in showBouncer_onlyWhenShowing()
266 mStatusBarKeyguardViewManager.showPrimaryBouncer(true /* scrimmed */); in showBouncer_onlyWhenShowing()
272 mStatusBarKeyguardViewManager.hide(0 /* startTime */, 0 /* fadeoutDuration */); in showBouncer_notWhenBouncerAlreadyShowing()
275 mStatusBarKeyguardViewManager.showPrimaryBouncer(true /* scrimmed */); in showBouncer_notWhenBouncerAlreadyShowing()
281 mStatusBarKeyguardViewManager.showPrimaryBouncer(true /* scrimmed */); in showBouncer_showsTheBouncer()
[all …]
DBiometricsUnlockControllerTest.java95 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in BiometricsUnlockControllerTest
155 when(mStatusBarKeyguardViewManager.getViewRootImpl()).thenReturn(mViewRootImpl); in setUp()
176 biometricUnlockController.setKeyguardViewController(mStatusBarKeyguardViewManager); in createController()
188 verify(mStatusBarKeyguardViewManager).showPrimaryBouncer(anyBoolean()); in onBiometricAuthenticated_fingerprintAndBiometricsDisallowed_showPrimaryBouncer()
189 verify(mStatusBarKeyguardViewManager, never()).notifyKeyguardAuthenticated(anyBoolean()); in onBiometricAuthenticated_fingerprintAndBiometricsDisallowed_showPrimaryBouncer()
200 verify(mStatusBarKeyguardViewManager).showPrimaryBouncer(anyBoolean()); in onBiometricAuthenticated_fingerprint_nonStrongBioDisallowed_showPrimaryBouncer()
210 reset(mStatusBarKeyguardViewManager); in onBiometricAuthenticated_whenFingerprintAndNotInteractive_wakeAndUnlock()
227 reset(mStatusBarKeyguardViewManager); in onBiometricAuthenticated_whenDeviceIsAlreadyUnlocked_wakeAndUnlock()
250 verify(mStatusBarKeyguardViewManager, never()).showPrimaryBouncer(anyBoolean()); in onBiometricAuthenticated_whenFingerprint_notifyKeyguardAuthenticated()
251 verify(mStatusBarKeyguardViewManager).notifyKeyguardAuthenticated(eq(false)); in onBiometricAuthenticated_whenFingerprint_notifyKeyguardAuthenticated()
[all …]
DStatusBarRemoteInputCallbackTest.java63 @Mock private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in StatusBarRemoteInputCallbackTest
81 mKeyguardStateController, mStatusBarStateController, mStatusBarKeyguardViewManager, in setUp()
104 verify(mStatusBarKeyguardViewManager).showBouncer(true); in testShowGenericBouncer_onLockedRemoteInput()
DCentralSurfacesImplTest.java245 @Mock private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in CentralSurfacesImplTest
423 }).when(mStatusBarKeyguardViewManager).dismissWithAction(any(), any(), anyBoolean()); in setup()
429 }).when(mStatusBarKeyguardViewManager).addAfterKeyguardGoneRunnable(any()); in setup()
458 mStatusBarKeyguardViewManager, in setup()
565 mStatusBarKeyguardViewManager, in createCentralSurfaces()
612 .thenReturn(mStatusBarKeyguardViewManager); in createCentralSurfaces()
641 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in lockscreenStateMetrics_notShowing()
659 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in lockscreenStateMetrics_notShowing_secure()
678 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in lockscreenStateMetrics_isShowing()
697 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in lockscreenStateMetrics_isShowing_secure()
[all …]
DScrimControllerTest.java160 @Mock private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in ScrimControllerTest
291 mStatusBarKeyguardViewManager, in setup()
750 when(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit()).thenReturn(true); in openBouncerOnHub()
821 when(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit()).thenReturn(true); in openBouncerOnHubOverDream()
1239 mStatusBarKeyguardViewManager, in blankingNotRequired_leavingAoD()
1694 when(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit()).thenReturn(true); in qsExpansion_BehindTint_shadeLocked_bouncerActive_usesBouncerProgress()
1710 when(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit()).thenReturn(true); in expansionNotificationAlpha_shadeLocked_bouncerActive_usesBouncerInterpolator()
1726 when(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit()).thenReturn(false); in expansionNotificationAlpha_shadeLocked_bouncerNotActive_usesShadeInterpolator()
1741 when(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit()).thenReturn(false); in notificationAlpha_unnocclusionAnimating_bouncerNotActive_usesKeyguardNotifAlpha()
1760 when(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit()).thenReturn(true); in notificationAlpha_inKeyguardState_bouncerActive_usesInvertedBouncerInterpolator()
[all …]
DCentralSurfacesCommandQueueCallbacksTest.java94 @Mock private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in CentralSurfacesCommandQueueCallbacksTest
131 mStatusBarKeyguardViewManager, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/scrim/
DBouncerScrimController.java28 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in BouncerScrimController
32 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in BouncerScrimController()
37 mStatusBarKeyguardViewManager.showPrimaryBouncer(false); in show()
42 mStatusBarKeyguardViewManager.onPanelExpansionChanged(event); in expand()
47 mStatusBarKeyguardViewManager.reset(false); in reset()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/complication/
DHideComplicationTouchHandlerTest.java68 StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in HideComplicationTouchHandlerTest
104 mStatusBarKeyguardViewManager, in testSessionEndOnMultipleSessions()
112 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in testSessionEndOnMultipleSessions()
137 mStatusBarKeyguardViewManager, in testSessionEndWhenBouncerShowing()
145 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(true); in testSessionEndWhenBouncerShowing()
170 mStatusBarKeyguardViewManager, in testSessionEndWithTouchInInset()
178 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in testSessionEndWithTouchInInset()
219 mStatusBarKeyguardViewManager, in testSessionLifecycle()
227 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in testSessionLifecycle()
279 mStatusBarKeyguardViewManager, in testNoActionWhenDisabledByFlag()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsComponent.java47 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in GlobalActionsComponent
57 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in GlobalActionsComponent()
87 mStatusBarKeyguardViewManager.setGlobalActionsVisible(true); in handleShowGlobalActionsMenu()
102 mStatusBarKeyguardViewManager.setGlobalActionsVisible(false); in onGlobalActionsHidden()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java164 private @Mock StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in KeyguardViewMediatorTest
239 when(mStatusBarKeyguardViewManager.getViewRootImpl()).thenReturn(testViewRoot); in setUp()
429 verify(mStatusBarKeyguardViewManager, never()).setKeyguardGoingAwayState(anyBoolean()); in testOnGoingToSleep_UpdatesKeyguardGoingAway()
474 verify(mStatusBarKeyguardViewManager, never()).setKeyguardGoingAwayState(anyBoolean()); in testRegisterDumpable()
480 verify(mStatusBarKeyguardViewManager).setKeyguardGoingAwayState(eq(false)); in testKeyguardGone_notGoingaway()
546 verify(mStatusBarKeyguardViewManager).startPreHideAnimation( in wakeupFromDreamingWhenKeyguardHides_orderUnlockAndWakeOn()
583 verify(mStatusBarKeyguardViewManager, atLeast(1)).show(null); in restoreBouncerWhenSimLockedAndKeyguardIsGoingAway()
608 verify(mStatusBarKeyguardViewManager, atLeast(1)).show(null); in restoreBouncerWhenSimLockedAndKeyguardIsGoingAway_initiallyNotShowing()
876 verify(mStatusBarKeyguardViewManager).notifyKeyguardAuthenticated(anyBoolean()); in testWakeAndUnlocking()
891 verify(mStatusBarKeyguardViewManager).notifyKeyguardAuthenticated(anyBoolean()); in testWakeAndUnlockingOverDream()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/
DHideComplicationTouchHandler.java61 private final StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in HideComplicationTouchHandler
109 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in HideComplicationTouchHandler()
121 final boolean bouncerShowing = mStatusBarKeyguardViewManager.isBouncerShowing(); in onSessionStart()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewLegacyControllerBaseTest.java62 protected @Mock StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in UdfpsKeyguardViewLegacyControllerBaseTest
132 verify(mStatusBarKeyguardViewManager).addCallback( in captureKeyGuardViewManagerCallback()
142 mStatusBarKeyguardViewManager, in createUdfpsKeyguardViewController()
DUdfpsKeyguardViewLegacyControllerTest.java53 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(true); in testShouldPauseAuth_bouncerShowing()
54 when(mStatusBarKeyguardViewManager.primaryBouncerIsOrWillBeShowing()).thenReturn(true); in testShouldPauseAuth_bouncerShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacks.java97 private final StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in CentralSurfacesCommandQueueCallbacks
168 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in CentralSurfacesCommandQueueCallbacks()
383 if (mStatusBarKeyguardViewManager.isBouncerShowing()) { in onCameraLaunchGestureDetected()
384 mStatusBarKeyguardViewManager.reset(true /* hide */); in onCameraLaunchGestureDetected()
441 if (mStatusBarKeyguardViewManager.isBouncerShowing()) { in onEmergencyActionLaunchGestureDetected()
442 mStatusBarKeyguardViewManager.reset(true /* hide */); in onEmergencyActionLaunchGestureDetected()
DCentralSurfacesImpl.java783 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in CentralSurfacesImpl()
991 mStatusBarKeyguardViewManager, in start()
1384 || mStatusBarKeyguardViewManager.primaryBouncerIsOrWillBeShowing() in dispatchPanelExpansionForKeyguardDismiss()
1549 .setStatusBarKeyguardViewManager(mStatusBarKeyguardViewManager); in startKeyguard()
1550 mBiometricUnlockController.setKeyguardViewController(mStatusBarKeyguardViewManager); in startKeyguard()
1551 mRemoteInputManager.addControllerCallback(mStatusBarKeyguardViewManager); in startKeyguard()
1799 if (mStatusBarKeyguardViewManager != null) { in dump()
1800 mStatusBarKeyguardViewManager.dump(pw); in dump()
1945 if (mStatusBarKeyguardViewManager != null) { in updateResources()
1946 mStatusBarKeyguardViewManager.updateResources(); in updateResources()
[all …]
DStatusBarRemoteInputCallback.java71 private final StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in StatusBarRemoteInputCallback
100 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in StatusBarRemoteInputCallback()
138 mStatusBarKeyguardViewManager.showBouncer(true /* scrimmed */); in onLockedRemoteInput()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java377 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in transientIndication_visibleWhenWokenUp()
591 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(true); in transientIndication_swipeUpToRetry()
599 verify(mStatusBarKeyguardViewManager).setKeyguardMessage(eq(message), any(), any()); in transientIndication_swipeUpToRetry()
606 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(true); in transientIndication_swipeUpToRetry_faceAuthenticated()
614 verify(mStatusBarKeyguardViewManager, never()).setKeyguardMessage( in transientIndication_swipeUpToRetry_faceAuthenticated()
1046 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in coEx_faceSuccess_showsPressToOpen()
1070 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in coEx_faceSuccess_touchExplorationEnabled_showsFaceUnlockedSwipeToOpen()
1094 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in coEx_faceSuccess_a11yEnabled_showsFaceUnlockedSwipeToOpen()
1117 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in faceOnly_faceSuccess_showsFaceUnlockedSwipeToOpen()
1139 when(mStatusBarKeyguardViewManager.isBouncerShowing()).thenReturn(false); in udfpsOnly_a11yEnabled_showsSwipeToOpen()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DTaskbarDelegateTest.kt69 lateinit var mStatusBarKeyguardViewManager: StatusBarKeyguardViewManager variable in com.android.systemui.navigationbar.TaskbarDelegateTest
80 mStatusBarKeyguardViewManager) in setup()
DNavigationBarTest.java174 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in NavigationBarTest
254 when(mStatusBarKeyguardViewManager.isNavBarVisible()).thenReturn(true); in setup()
529 when(mStatusBarKeyguardViewManager.isNavBarVisible()).thenReturn(true); in testCreateView_initiallyVisible_viewIsVisible()
538 when(mStatusBarKeyguardViewManager.isNavBarVisible()).thenReturn(false); in testCreateView_initiallyNotVisible_viewIsNotVisible()
576 mStatusBarKeyguardViewManager, in createNavBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeControllerImpl.java64 private final StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in ShadeControllerImpl
108 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in ShadeControllerImpl()
403 if (isExpandedVisible() && !mStatusBarKeyguardViewManager.isBouncerShowing()) { in collapseShadeForActivityStart()
DNotificationShadeWindowViewController.java102 private final StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in NotificationShadeWindowViewController
207 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in NotificationShadeWindowViewController()
383 if (mStatusBarKeyguardViewManager.dispatchTouchEvent(ev)) { in setupExpandedStatusBar()
477 if (mStatusBarKeyguardViewManager.shouldInterceptTouchEvent(ev)) { in setupExpandedStatusBar()
560 if (mStatusBarKeyguardViewManager.onTouch(ev)) { in setupExpandedStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DAmbientState.java65 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in AmbientState
280 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in AmbientState()
731 return mStatusBarKeyguardViewManager != null in isBouncerInTransit()
732 && mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit(); in isBouncerInTransit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanelController.java70 private final StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in QSPanelController
120 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in QSPanelController()
297 return mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit(); in isBouncerInTransit()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt60 private val mStatusBarKeyguardViewManager = mock<StatusBarKeyguardViewManager>() in <lambda>() constant
74 mStatusBarKeyguardViewManager, in <lambda>()
302 whenever(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit).thenReturn(false) in <lambda>()
312 whenever(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit).thenReturn(true) in <lambda>()
322 whenever(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit).thenReturn(false) in <lambda>()
335 whenever(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit).thenReturn(false) in <lambda>()
349 whenever(mStatusBarKeyguardViewManager.isPrimaryBouncerInTransit).thenReturn(true) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java186 private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; field in KeyguardIndicationController
1152 mStatusBarKeyguardViewManager = statusBarKeyguardViewManager; in setStatusBarKeyguardViewManager()
1165 if (mStatusBarKeyguardViewManager.isBouncerShowing()) { in showActionToUnlock()
1177 mStatusBarKeyguardViewManager.setKeyguardMessage(message, mInitialTextColorState, in showActionToUnlock()
1350 } else if (mStatusBarKeyguardViewManager.isBouncerShowing()) { in onBiometricHelp()
1356 mStatusBarKeyguardViewManager.setKeyguardMessage(helpString, in onBiometricHelp()
1621 && !mStatusBarKeyguardViewManager.isBouncerShowing()) { in handleFaceAuthTimeoutError()
1655 if (mStatusBarKeyguardViewManager.isBouncerShowing()) { in showErrorMessageNowOrLater()
1656 mStatusBarKeyguardViewManager.setKeyguardMessage(errString, mInitialTextColorState, in showErrorMessageNowOrLater()

12