/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistHandleLikeHomeBehavior.java | 80 private final Lazy<StatusBarStateController> mStatusBarStateController; field in AssistHandleLikeHomeBehavior 95 mStatusBarStateController = statusBarStateController; in AssistHandleLikeHomeBehavior() 103 mIsDozing = mStatusBarStateController.get().isDozing(); in onModeActivated() 104 mStatusBarStateController.get().addCallback(mStatusBarStateListener); in onModeActivated() 115 mStatusBarStateController.get().removeCallback(mStatusBarStateListener); in onModeDeactivated()
|
D | PhoneStateMonitor.java | 65 private final StatusBarStateController mStatusBarStateController; field in PhoneStateMonitor 72 mStatusBarStateController = Dependency.get(StatusBarStateController.class); in PhoneStateMonitor() 162 int statusBarState = mStatusBarStateController.getState(); in isShadeFullscreen() 168 return mStatusBarStateController.isDozing(); in isDozing()
|
D | AssistHandleReminderExpBehavior.java | 160 private final Lazy<StatusBarStateController> mStatusBarStateController; field in AssistHandleReminderExpBehavior 200 mStatusBarStateController = statusBarStateController; in AssistHandleReminderExpBehavior() 218 mOnLockscreen = onLockscreen(mStatusBarStateController.get().getState()); in onModeActivated() 219 mIsDozing = mStatusBarStateController.get().isDozing(); in onModeActivated() 220 mStatusBarStateController.get().addCallback(mStatusBarStateListener); in onModeActivated() 251 mStatusBarStateController.get().removeCallback(mStatusBarStateListener); in onModeDeactivated()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSectionsManagerTest.java | 64 @Mock private StatusBarStateController mStatusBarStateController; field in NotificationSectionsManagerTest 75 mStatusBarStateController, in setUp() 83 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in setUp() 209 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderNotShownOnLockscreen() 222 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderShownWhenEnterLockscreen() 227 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testHeaderShownWhenEnterLockscreen() 237 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE_LOCKED); in testHeaderHiddenWhenEnterLockscreen() 242 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderHiddenWhenEnterLockscreen()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowControllerTest.java | 60 private SysuiStatusBarStateController mStatusBarStateController; field in StatusBarWindowControllerTest 74 mActivityManager, mDozeParameters, mStatusBarStateController, in setUp() 100 mActivityManager, mDozeParameters, mStatusBarStateController, in testOnThemeChanged_doesntCrash() 113 mActivityManager, mDozeParameters, mStatusBarStateController, in testSetForcePluginOpen_beforeStatusBarInitialization()
|
D | CollapsedStatusBarFragmentTest.java | 53 private StatusBarStateController mStatusBarStateController; field in CollapsedStatusBarFragmentTest 65 mStatusBarStateController = mDependency in setup() 156 reset(mStatusBarStateController); in testOnDozingChanged() 157 when(mStatusBarStateController.isDozing()).thenReturn(true); in testOnDozingChanged() 160 Mockito.verify(mStatusBarStateController).isDozing(); in testOnDozingChanged()
|
D | NotificationPanelViewTest.java | 76 private SysuiStatusBarStateController mStatusBarStateController; field in NotificationPanelViewTest 120 mStatusBarStateController); in setup() 132 mock(NotificationRoundnessManager.class), mStatusBarStateController); in setup() 145 InOrder inOrder = inOrder(mNotificationStackScrollLayout, mStatusBarStateController); in testSetDozing_notifiesNsslAndStateController() 147 inOrder.verify(mStatusBarStateController).setDozeAmount(eq(1f), eq(true)); in testSetDozing_notifiesNsslAndStateController()
|
D | StatusBarTest.java | 159 @Mock private StatusBarStateControllerImpl mStatusBarStateController; field in StatusBarTest 199 mDependency.injectTestDependency(StatusBarStateController.class, mStatusBarStateController); in setup() 214 mStatusBarStateController, mBatteryController); in setup() 226 Dependency.get(UiOffloadThread.class), mEntryManager, mStatusBarStateController, in setup() 718 verify(mStatusBarStateController).setState(eq(StatusBarState.KEYGUARD)); in testShowKeyguardImplementation_setsState() 724 verify(mStatusBarStateController).setState(eq(StatusBarState.FULLSCREEN_USER_SWITCHER)); in testShowKeyguardImplementation_setsState() 730 when(mStatusBarStateController.isKeyguardRequested()).thenReturn(true); in testStartStopDozing() 733 verify(mStatusBarStateController).setIsDozing(eq(true)); in testStartStopDozing() 736 verify(mStatusBarStateController).setIsDozing(eq(false)); in testStartStopDozing() 742 when(mStatusBarStateController.isKeyguardRequested()).thenReturn(true); in testOnStartedWakingUp_isNotDozing() [all …]
|
D | HeadsUpManagerPhoneTest.java | 59 @Mock private StatusBarStateController mStatusBarStateController; field in HeadsUpManagerPhoneTest 88 mGroupManager, mBar, mVSManager, mStatusBarStateController, mBypassController); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CollapsedStatusBarFragment.java | 59 private StatusBarStateController mStatusBarStateController; field in CollapsedStatusBarFragment 84 mStatusBarStateController = Dependency.get(StatusBarStateController.class); in onCreate() 126 mStatusBarStateController.addCallback(this); in onResume() 133 mStatusBarStateController.removeCallback(this); in onPause() 213 && !(mStatusBarStateController.getState() == StatusBarState.KEYGUARD in adjustDisableFlags() 232 if (mStatusBarStateController.isDozing() in adjustDisableFlags() 272 && !mStatusBarStateController.isDozing()) { in clockHiddenMode()
|
D | LightBarTransitionsController.java | 51 private final StatusBarStateController mStatusBarStateController; field in LightBarTransitionsController 77 mStatusBarStateController = Dependency.get(StatusBarStateController.class); in LightBarTransitionsController() 80 mStatusBarStateController.addCallback(this); in LightBarTransitionsController() 81 mDozeAmount = mStatusBarStateController.getDozeAmount(); in LightBarTransitionsController() 89 mStatusBarStateController.removeCallback(this); in destroy()
|
D | StatusBarRemoteInputCallback.java | 63 private final SysuiStatusBarStateController mStatusBarStateController = field in StatusBarRemoteInputCallback 87 mStatusBarStateController.addCallback(this); in StatusBarRemoteInputCallback() 99 && (mStatusBarStateController.leaveOpenOnKeyguardHide() || hasPendingRemoteInput)) { in onStateChanged() 100 if (!mStatusBarStateController.isKeyguardRequested()) { in onStateChanged() 112 mStatusBarStateController.setLeaveOpenOnKeyguardHide(true); in onLockedRemoteInput()
|
D | StatusBarNotificationPresenter.java | 97 private final SysuiStatusBarStateController mStatusBarStateController = field in StatusBarNotificationPresenter 328 if (mStatusBarStateController.getState() == StatusBarState.SHADE) { in onNotificationRemoved() 330 } else if (mStatusBarStateController.getState() == StatusBarState.SHADE_LOCKED in onNotificationRemoved() 459 if (mStatusBarStateController.getState() == StatusBarState.KEYGUARD) { in onExpandClicked() 463 mStatusBarStateController.setLeaveOpenOnKeyguardHide(true); in onExpandClicked() 476 mStatusBarStateController.setLeaveOpenOnKeyguardHide(true); in onLockedNotificationImportanceChange()
|
D | LockIcon.java | 79 private final StatusBarStateController mStatusBarStateController; field in LockIcon 188 mStatusBarStateController = statusBarStateController; in LockIcon() 199 mStatusBarStateController.addCallback(this); in onAttachedToWindow() 216 mStatusBarStateController.removeCallback(this); in onDetachedFromWindow() 342 || mStatusBarStateController.getState() == StatusBarState.KEYGUARD) in updateIconVisibility()
|
D | StatusBar.java | 582 private final SysuiStatusBarStateController mStatusBarStateController = field in StatusBar 654 sliceProvider.initDependencies(mMediaManager, mStatusBarStateController, in start() 661 mStatusBarStateController.addCallback(this, in start() 818 mStatusBarStateController); in makeStatusBarView() 866 mStatusBarStateController, mKeyguardBypassController, in makeStatusBarView() 1051 mStatusBarStateController); in setUpPresenter() 1080 mBarService, mStatusBarStateController, mKeyguardManager, mDreamManager, in setUpPresenter() 1581 return mStatusBarStateController.getState() == StatusBarState.KEYGUARD; in isFalsingThresholdNeeded() 1665 if (isExpanded && mStatusBarStateController.getState() != StatusBarState.KEYGUARD) { in setPanelExpanded() 2201 mStatusBarStateController.setSystemUiVisibility(mSystemUiVisibility); in setSystemUiVisibility() [all …]
|
D | HeadsUpAppearanceController.java | 69 private final StatusBarStateController mStatusBarStateController; field in HeadsUpAppearanceController 159 mStatusBarStateController = stateController; in HeadsUpAppearanceController() 300 if (mStatusBarStateController.getState() != StatusBarState.SHADE) { in setShown() 380 (mStatusBarStateController.getState() == StatusBarState.KEYGUARD in shouldBeVisible()
|
D | NotificationIconAreaController.java | 53 private final StatusBarStateController mStatusBarStateController; field in NotificationIconAreaController 92 mStatusBarStateController = statusBarStateController; in NotificationIconAreaController() 93 mStatusBarStateController.addCallback(this); in NotificationIconAreaController() 524 boolean inShade = mStatusBarStateController.getState() == StatusBarState.SHADE; in updateAnimations() 595 if (mStatusBarStateController.getState() != StatusBarState.KEYGUARD) { in updateAodIconsVisibility()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInterruptionStateProviderTest.java | 82 StatusBarStateController mStatusBarStateController; field in NotificationInterruptionStateProviderTest 104 mStatusBarStateController, in setup() 141 when(mStatusBarStateController.isDozing()).thenReturn(false); in ensureStateForHeadsUpWhenAwake() 155 when(mStatusBarStateController.isDozing()).thenReturn(true); in ensureStateForHeadsUpWhenDozing() 280 when(mStatusBarStateController.isDozing()).thenReturn(false); in testShouldHeadsUpWhenDozing_false_notDozing() 344 when(mStatusBarStateController.isDozing()).thenReturn(true); in testShouldHeadsUp_false_dozing() 359 when(mStatusBarStateController.getState()).thenReturn(SHADE); in testShouldHeadsUp_false_bubble()
|
D | SmartReplyControllerTest.java | 74 @Mock private StatusBarStateController mStatusBarStateController; field in SmartReplyControllerTest 90 mStatusBarStateController, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationInterruptionStateProvider.java | 61 private final StatusBarStateController mStatusBarStateController; field in NotificationInterruptionStateProvider 107 mStatusBarStateController = statusBarStateController; in NotificationInterruptionStateProvider() 212 if (mStatusBarStateController.isDozing()) { in shouldHeadsUp() 237 boolean inShade = mStatusBarStateController.getState() == SHADE; in shouldHeadsUpWhenAwake() 429 || mStatusBarStateController.getState() == StatusBarState.KEYGUARD); in shouldLaunchFullScreenIntentWhenAdded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 75 private StatusBarStateController mStatusBarStateController; field in QSTileImplTest 87 mStatusBarStateController = in setup() 106 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testClick_Metrics_Status_Bar_Status() 121 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testSecondaryClick_Metrics_Status_Bar_Status() 136 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE_LOCKED); in testLongClick_Metrics_Status_Bar_Status()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSFragment.java | 63 private final StatusBarStateController mStatusBarStateController; field in QSFragment 106 mStatusBarStateController = statusBarStateController; in QSFragment() 142 mStatusBarStateController.addCallback(this); in onViewCreated() 143 onStateChanged(mStatusBarStateController.getState()); in onViewCreated() 149 mStatusBarStateController.removeCallback(this); in onDestroy() 274 return mStatusBarStateController.getState() == StatusBarState.KEYGUARD; in isKeyguardShowing()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSectionsManager.java | 46 private final StatusBarStateController mStatusBarStateController; field in NotificationSectionsManager 64 mStatusBarStateController = statusBarStateController; in NotificationSectionsManager() 153 && mStatusBarStateController.getState() != StatusBarState.KEYGUARD; in adjustGentleHeaderVisibilityAndPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 64 private final StatusBarStateController mStatusBarStateController; field in KeyguardClockSwitch 165 mStatusBarStateController = statusBarStateController; in KeyguardClockSwitch() 166 mStatusBarState = mStatusBarStateController.getState(); in KeyguardClockSwitch() 206 mStatusBarStateController.addCallback(mStateListener); in onAttachedToWindow() 217 mStatusBarStateController.removeCallback(mStateListener); in onDetachedFromWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationRowBinderImpl.java | 74 private final StatusBarStateController mStatusBarStateController; field in NotificationRowBinderImpl 93 mStatusBarStateController = statusBarStateController; in NotificationRowBinderImpl() 156 row.setStatusBarStateController(mStatusBarStateController); in bindRow()
|