/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationPanelViewControllerTest.java | 25 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD; 113 mStatusBarStateController.setState(KEYGUARD); in onNotificationHeightChangeWhileOnKeyguardWillComputeMaxKeyguardNotifications() 306 mNotificationPanelViewController.getStatusBarStateListener().onStateChanged(KEYGUARD); in testOnDozeAmountChanged_positionClockAndNotificationsUsesUdfpsLocation() 498 mStatusBarStateController.setState(KEYGUARD); in testKeyguardStatusViewInSplitShade_changesConstraintsDependingOnNotifications() 518 mStatusBarStateController.setState(KEYGUARD); in keyguardStatusView_splitShade_dozing_alwaysDozingOn_isCentered() 530 mStatusBarStateController.setState(KEYGUARD); in keyguardStatusView_splitShade_dozing_alwaysDozingOff_isNotCentered() 542 mStatusBarStateController.setState(KEYGUARD); in keyguardStatusView_splitShade_notDozing_alwaysDozingOn_isNotCentered() 555 mStatusBarStateController.setState(KEYGUARD); in keyguardStatusView_splitShade_pulsing_isNotCentered() 568 mStatusBarStateController.setState(KEYGUARD); in keyguardStatusView_splitShade_notPulsing_isNotCentered() 584 mStatusBarStateController.setState(KEYGUARD); in keyguardStatusView_singleShade_isCentered() [all …]
|
D | NotificationPanelViewControllerWithCoroutinesTest.kt | 32 import com.android.systemui.statusbar.StatusBarState.KEYGUARD in <lambda>() 150 mStatusBarStateController.setState(KEYGUARD) in <lambda>() 163 mStatusBarStateController.setState(KEYGUARD) in <lambda>() 204 mStatusBarStateController.setState(KEYGUARD) in <lambda>() 209 KEYGUARD /*statusBarState*/, in <lambda>()
|
D | NotificationPanelUnfoldAnimationControllerTest.kt | 26 import com.android.systemui.statusbar.StatusBarState.KEYGUARD 90 whenever(statusBarStateController.getState()).thenReturn(KEYGUARD) in whenInKeyguardState_viewDoesNotMove() 150 whenever(statusBarStateController.getState()).thenReturn(KEYGUARD) in whenInKeyguardState_statusBarViewDoesNotMove()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | UdfpsKeyguardViewLegacyControllerTest.java | 51 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in testShouldPauseAuth_bouncerShowing() 94 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in testShouldPauseAuthUnpausedAlpha0() 104 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in testShouldNotPauseAuthOnKeyguard() 114 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in onBiometricAuthenticated_pauseAuth() 130 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in testShouldPauseAuthIsLaunchTransitionFadingAway() 169 mStatusBarStateListener.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD); in testShouldPauseAuthAnimatingScreenOffFromShade() 182 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in testDoNotPauseAuthAnimatingScreenOffFromLS()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchTest.java | 124 mKeyguardClockSwitch.setClock(null, StatusBarState.KEYGUARD); in noPluginConnected_showNothing() 131 mKeyguardClockSwitch.setClock(mClock, StatusBarState.KEYGUARD); in pluginConnectedThenDisconnected_showNothing() 135 mKeyguardClockSwitch.setClock(null, StatusBarState.KEYGUARD); in pluginConnectedThenDisconnected_showNothing() 142 mKeyguardClockSwitch.setClock(mClock, StatusBarState.KEYGUARD); in onPluginConnected_showClock() 158 mKeyguardClockSwitch.setClock(mClock, StatusBarState.KEYGUARD); in onPluginConnected_showSecondPluginClock() 159 mKeyguardClockSwitch.setClock(otherClock, StatusBarState.KEYGUARD); in onPluginConnected_showSecondPluginClock() 178 mKeyguardClockSwitch.setClock(otherClock, StatusBarState.KEYGUARD); in onPluginDisconnected_secondOfTwoDisconnected() 179 mKeyguardClockSwitch.setClock(mClock, StatusBarState.KEYGUARD); in onPluginDisconnected_secondOfTwoDisconnected() 181 mKeyguardClockSwitch.setClock(null, StatusBarState.KEYGUARD); in onPluginDisconnected_secondOfTwoDisconnected()
|
D | KeyguardUnfoldTransitionTest.kt | 28 import com.android.systemui.statusbar.StatusBarState.KEYGUARD 86 whenever(statusBarStateController.getState()).thenReturn(KEYGUARD) in onTransition_centeredViewDoesNotMove() 131 whenever(statusBarStateController.getState()).thenReturn(KEYGUARD) in whenInKeyguardState_viewDoesMove()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarState.java | 34 public static final int KEYGUARD = 1; field in StatusBarState 52 case KEYGUARD: in toString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 312 mScrimController.legacyTransitionTo(ScrimState.KEYGUARD); in setup() 330 mScrimController.legacyTransitionTo(ScrimState.KEYGUARD); in transitionToKeyguard() 479 mScrimController.legacyTransitionTo(ScrimState.KEYGUARD); in transitionToAod_withFrontAlphaUpdates() 526 mScrimController.legacyTransitionTo(ScrimState.KEYGUARD); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha() 545 mScrimController.legacyTransitionTo(ScrimState.KEYGUARD); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha() 641 mScrimController.legacyTransitionTo(ScrimState.KEYGUARD); in lockscreenToHubTransition_setsBehindScrimAlpha() 646 float expectedAlpha = ScrimState.KEYGUARD.getBehindAlpha(); in lockscreenToHubTransition_setsBehindScrimAlpha() 659 expectedAlpha = (1 - runningProgress) * ScrimState.KEYGUARD.getBehindAlpha(); in lockscreenToHubTransition_setsBehindScrimAlpha() 705 expectedAlpha = runningProgress * ScrimState.KEYGUARD.getBehindAlpha(); in hubToLockscreenTransition_setsViewAlpha() 718 expectedAlpha = finishedProgress * ScrimState.KEYGUARD.getBehindAlpha(); in hubToLockscreenTransition_setsViewAlpha() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardVisibilityHelper.java | 19 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD; 100 if ((!keyguardFadingAway && oldStatusBarState == KEYGUARD in setViewVisibility() 101 && statusBarState != KEYGUARD) || goingToFullShade) { in setViewVisibility() 122 } else if (oldStatusBarState == StatusBarState.SHADE_LOCKED && statusBarState == KEYGUARD) { in setViewVisibility() 136 } else if (statusBarState == KEYGUARD) { in setViewVisibility()
|
D | KeyguardUnfoldTransition.kt | 31 import com.android.systemui.statusbar.StatusBarState.KEYGUARD in <lambda>() 56 statusBarStateController.getState() == KEYGUARD && !statusViewCentered } in <lambda>() 57 private val filterKeyguard: () -> Boolean = { statusBarStateController.getState() == KEYGUARD } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardKeyEventInteractorTest.kt | 144 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in dispatchKeyEvent_menuActionUp_asleepKeyguard_neverCollapsesShade() 153 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in dispatchKeyEvent_spaceActionUp_awakeKeyguard_collapsesShade() 169 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in dispatchKeyEvent_enterActionUp_awakeKeyguard_showsPrimaryBouncer() 184 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in dispatchKeyEventPreIme_back_keyguard_onBackRequested() 199 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in dispatchKeyEventPreIme_back_keyguard_SBKVMdoesNotHandle_neverOnBackRequested() 220 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in interceptMediaKey_keyguard_SBKVMdoesNotHandle_doesNotHandleMediaKey() 230 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in interceptMediaKey_keyguard_handleMediaKey()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardKeyEventInteractor.kt | 88 statusBarStateController.state == StatusBarState.KEYGUARD && in dispatchKeyEventPreIme() 98 return statusBarStateController.state == StatusBarState.KEYGUARD && in interceptMediaKey() 121 StatusBarState.KEYGUARD -> { in collapseShadeLockedOrShowPrimaryBouncer()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/ |
D | StatusBarStateControllerImplTest.kt | 120 underTest.state = StatusBarState.KEYGUARD in testChangeState_logged() 147 underTest.setUpcomingState(StatusBarState.KEYGUARD) in testSetState_appliesState_sameStateButDifferentUpcomingState() 160 underTest.setUpcomingState(StatusBarState.KEYGUARD) in testSetState_appliesState_differentStateEqualToUpcomingState() 165 assertTrue(underTest.setState(StatusBarState.KEYGUARD)) in testSetState_appliesState_differentStateEqualToUpcomingState() 262 assertThat(statusBarState).isEqualTo(StatusBarState.KEYGUARD) in start_hydratesStatusBarState_whileLocked() 280 assertThat(statusBarState).isEqualTo(StatusBarState.KEYGUARD) in start_hydratesStatusBarState_whileLocked() 288 assertThat(statusBarState).isEqualTo(StatusBarState.KEYGUARD) in start_hydratesStatusBarState_whileLocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSImplTest.java | 21 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD; 192 setStatusBarCurrentAndUpcomingState(KEYGUARD); in transitionToFullShade_onKeyguard_noBouncer_setsAlphaUsingLinearInterpolator() 207 setStatusBarCurrentAndUpcomingState(KEYGUARD); in transitionToFullShade_onKeyguard_bouncerActive_setsAlphaUsingBouncerInterpolator() 260 when(mStatusBarStateController.getState()).thenReturn(KEYGUARD); in setQsExpansion_whenShouldUpdateSquishinessTrue_setsSquishinessBasedOnFraction() 282 setStatusBarCurrentAndUpcomingState(KEYGUARD); in setQsExpansion_whenOnKeyguardAndShouldUpdateSquishinessFalse_setsSquishiness() 328 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in setQsExpansion_inSplitShade_whenTransitioningToKeyguard_setsAlphaBasedOnShadeTransitionProgress() 520 mUnderTest.onUpcomingStateChanged(KEYGUARD); in testQsUpdatesQsAnimatorWithUpcomingState() 540 mUnderTest.onStateChanged(KEYGUARD); in testSceneContainerFlagsEnabled_statusBarStateIsShade() 550 mUnderTest.onStateChanged(KEYGUARD); in testSceneContainerFlagsEnabled_isKeyguardState_alwaysFalse() 553 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in testSceneContainerFlagsEnabled_isKeyguardState_alwaysFalse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | SplitShadeLockScreenOverScrollerTest.kt | 61 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in setDragDownAmount_onKeyguard_appliesOverScroll() 81 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in setDragAmount_onKeyguard_thenNotOnKeyguard_resetsOverScrollToZero() 93 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in setDragAmount_onKeyguard_thenNotOnKeyguard_multipleTimes_resetsOverScrollToZeroOnlyOnce()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | AccessibilityActionsViewModelTest.kt | 62 keyguardRepository.setStatusBarState(StatusBarState.KEYGUARD) in isOnKeyguard_isFalse_whenTransitioningAwayFromLockscreen() 96 keyguardRepository.setStatusBarState(StatusBarState.KEYGUARD) in isOnKeyguard_isFalse_whenTransitioningToLockscreenIsRunning() 135 keyguardRepository.setStatusBarState(StatusBarState.KEYGUARD) in isOnKeyguard_isTrue_whenKeyguardStateIsLockscreen_andShadeIsNotOpened()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileViewModel.kt | 59 StatusBarLocation.KEYGUARD -> KeyguardMobileIconViewModel(commonImpl) in <lambda>() 121 location = StatusBarLocation.KEYGUARD,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | AmbientStateTest.kt | 108 sut.setStatusBarState(StatusBarState.KEYGUARD) in <lambda>() 115 sut.setStatusBarState(StatusBarState.KEYGUARD) in <lambda>() 325 sut.setStatusBarState(StatusBarState.KEYGUARD) in <lambda>() 369 setStatusBarState(StatusBarState.KEYGUARD) in AmbientState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | KeyguardNotificationVisibilityProviderTest.java | 27 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD; 222 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in notifyListeners_onReceiveUserSwitchCallback() 230 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in notifyListeners_onSettingChange_lockScreenShowNotifs() 241 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in notifyListeners_onSettingChange_lockScreenAllowPrivateNotifs() 252 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in hideSilentNotificationsPerUserSettingWithHighPriorityParent() 274 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in keyguardShowing_hideSilentNotifications_perUserSetting() 367 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in notifyListeners_onSettingChange_zenMode() 378 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in notifyListeners_onSettingChange_lockScreenShowSilentNotifs() 663 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD); in setupUnfilteredState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/ |
D | CameraGestureHelperTest.kt | 180 assertThat(underTest.canCameraGestureBeLaunched(StatusBarState.KEYGUARD)).isTrue() in canCameraGestureBeLaunched_statusBarStateIsKeyguard_returnsTrue() 192 assertThat(underTest.canCameraGestureBeLaunched(StatusBarState.KEYGUARD)).isTrue() in canCameraGestureBeLaunched_stateIsKeyguard_cameraActivityOnTop_returnsTrue() 206 assertThat(underTest.canCameraGestureBeLaunched(StatusBarState.KEYGUARD)).isFalse() in canCameraGestureBeLaunched_notAllowedByAdmin_returnsFalse() 213 assertThat(underTest.canCameraGestureBeLaunched(StatusBarState.KEYGUARD)).isFalse() in canCameraGestureBeLaunched_intentDoesNotResolveToAnyApp_returnsFalse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/ |
D | StatusBarState.kt | 21 KEYGUARD,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarLocation.kt | 24 KEYGUARD,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaHierarchyManager.kt | 309 if (bypassController.bypassEnabled || statusbarState != StatusBarState.KEYGUARD) { 335 statusbarState == StatusBarState.KEYGUARD 491 oldState == StatusBarState.KEYGUARD && in onStatePreChange() 729 (statusbarState == StatusBarState.KEYGUARD)) in updateDesiredLocation() 893 statusbarState == StatusBarState.KEYGUARD && in shouldAnimateTransition() 1040 if (statusbarState != StatusBarState.KEYGUARD && progress >= 0) { in getTransformationProgress() 1054 if (previousHost.visible || statusbarState != StatusBarState.KEYGUARD) { in getQSTransformationProgress() 1205 (!bypassController.bypassEnabled && (statusbarState == StatusBarState.KEYGUARD)) in calculateLocation() 1304 statusBarStateController.state == StatusBarState.KEYGUARD && in isLockScreenVisibleToUser() 1314 (statusBarStateController.state == StatusBarState.KEYGUARD && qsExpanded)) in isLockScreenShadeVisibleToUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | OnUserInteractionCallbackImpl.java | 21 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD; 75 } else if (mStatusBarStateController.getState() == KEYGUARD) { in getDismissedByUserStats()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ui/viewmodel/ |
D | KeyguardStatusBarViewModelTest.kt | 98 keyguardRepository.setStatusBarState(StatusBarState.KEYGUARD) in isVisible_dozing_false() 133 keyguardRepository.setStatusBarState(StatusBarState.KEYGUARD) in isVisible_headsUpStatusBarShown_false() 145 keyguardRepository.setStatusBarState(StatusBarState.KEYGUARD) in isVisible_statusBarStateKeyguard_andNotDozing_andNotShowingHeadsUpStatusBar_true()
|