Home
last modified time | relevance | path

Searched refs:canDismissLockScreen (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyControllerTest.java69 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(false); in testDynamicFalseWhenCannotSkipBouncer()
77 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in testDynamicTrueWhenCanSkipBouncer()
84 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in testNotifiedWhenEnabled()
92 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(false); in testNotifiedWhenKeyguardFadingAwayChanges()
127 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in testNotNotifiedWithoutNotifications()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DFakeKeyguardStateController.java50 public void setCanDismissLockScreen(boolean canDismissLockScreen) { in setCanDismissLockScreen() argument
51 mCanDismissLockScreen = canDismissLockScreen; in setCanDismissLockScreen()
55 public boolean canDismissLockScreen() { in canDismissLockScreen() method in FakeKeyguardStateController
DLegacyActivityStarterInternalImplTest.kt259 whenever(keyguardStateController.canDismissLockScreen()).thenReturn(true) in dismissKeyguardThenExecute_startWakeAndUnlock()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/scrim/
DScrimManagerTest.java65 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(false); in testControllerSelection()
73 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in testControllerSelection()
81 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(false); in testCallback()
89 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in testCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java141 assertThat(mKeyguardStateController.canDismissLockScreen()).isTrue(); in testCanSkipLockScreen()
146 assertThat(mKeyguardStateController.canDismissLockScreen()).isFalse(); in testCanSkipLockScreen()
151 assertThat(mKeyguardStateController.canDismissLockScreen()).isTrue(); in testCanSkipLockScreen()
161 assertThat(mKeyguardStateController.canDismissLockScreen()).isFalse(); in testCanSkipLockScreen_updateCalledOnFacesCleared()
166 assertThat(mKeyguardStateController.canDismissLockScreen()).isTrue(); in testCanSkipLockScreen_updateCalledOnFacesCleared()
176 assertThat(mKeyguardStateController.canDismissLockScreen()).isFalse(); in testCanSkipLockScreen_updateCalledOnFingerprintssCleared()
181 assertThat(mKeyguardStateController.canDismissLockScreen()).isTrue(); in testCanSkipLockScreen_updateCalledOnFingerprintssCleared()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java36 return !isShowing() || canDismissLockScreen(); in isUnlocked()
69 boolean canDismissLockScreen(); in canDismissLockScreen() method
DKeyguardStateControllerImpl.java258 boolean canDismissLockScreen = !secure || mKeyguardUpdateMonitor.getUserCanSkipBouncer(user) in update()
263 boolean changed = secure != mSecure || canDismissLockScreen != mCanDismissLockScreen in update()
268 mCanDismissLockScreen = canDismissLockScreen; in update()
280 public boolean canDismissLockScreen() { in canDismissLockScreen() method in KeyguardStateControllerImpl
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeKeyguardStateController.java64 public boolean canDismissLockScreen() { in canDismissLockScreen() method in FakeKeyguardStateController
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java85 return (mKeyguardStateController.canDismissLockScreen() in isDynamicallyUnlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/scrim/
DScrimManager.java80 mCurrentController = mKeyguardStateController.canDismissLockScreen() in updateController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/
DCameraGestureHelper.kt147 val isLockScreenDismissible = keyguardStateController.canDismissLockScreen() in getStartCameraIntent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLegacyLockIconViewController.java286 mCanDismissLockScreen = mKeyguardStateController.canDismissLockScreen(); in setLockIconView()
586 mCanDismissLockScreen = mKeyguardStateController.canDismissLockScreen();
596 mCanDismissLockScreen = mKeyguardStateController.canDismissLockScreen();
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
DKeyguardUpdateMonitorLogger.kt478 canDismissLockScreen: Boolean, in logKeyguardStateUpdate()
487 bool2 = canDismissLockScreen in logKeyguardStateUpdate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java638 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in lockscreenStateMetrics_notShowing()
656 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in lockscreenStateMetrics_notShowing_secure()
675 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in lockscreenStateMetrics_isShowing()
694 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in lockscreenStateMetrics_isShowing_secure()
713 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in lockscreenStateMetrics_isShowingBouncer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/
DCameraGestureHelperTest.kt140 whenever(keyguardStateController.canDismissLockScreen()) in prepare()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DLegacyLockIconViewControllerTest.java179 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in testLockIcon_updateToUnlock()
DLegacyLockIconViewControllerBaseTest.java205 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(false); in setupShowLockIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java234 row.setSecureStateProvider(mKeyguardStateController::canDismissLockScreen); in onBindRow()
DLegacyActivityStarterInternalImpl.kt421 keyguardStateController.canDismissLockScreen() && in <lambda>()
DScrimController.java356 mDarkenWhileDragging = !mKeyguardStateController.canDismissLockScreen(); in ScrimController()
721 mDarkenWhileDragging = !mKeyguardStateController.canDismissLockScreen(); in onTrackingStarted()
DStatusBarKeyguardViewManager.java638 && !mKeyguardStateController.canDismissLockScreen() in beginShowingBouncer()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java397 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in onActionDownTouch_whenCanDismissLockScreen_entersDevice()
429 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in onActionMoveTouch_whenCanDismissLockScreen_entersDevice()
455 when(mKeyguardStateController.canDismissLockScreen()).thenReturn(true); in onMultipleTouch_whenCanDismissLockScreen_entersDeviceOnce()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardUnlockAnimationController.kt1080 if (!keyguardStateController.canDismissLockScreen() && in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerControllerTest.kt205 whenever(keyguardStateController.canDismissLockScreen()).thenReturn(true) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsController.java687 && mKeyguardStateController.canDismissLockScreen() in shouldTryToDismissKeyguard()

12