/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | RankingCoordinator.java | 37 private final StatusBarStateController mStatusBarStateController; field in RankingCoordinator 41 mStatusBarStateController = statusBarStateController; in RankingCoordinator() 46 mStatusBarStateController.addCallback(mStatusBarStateCallback); in attach() 68 if (mStatusBarStateController.isDozing() && entry.shouldSuppressAmbient()) { 72 return !mStatusBarStateController.isDozing() && entry.shouldSuppressNotificationList();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | RankingCoordinatorTest.java | 52 @Mock private StatusBarStateController mStatusBarStateController; field in RankingCoordinatorTest 64 RankingCoordinator rankingCoordinator = new RankingCoordinator(mStatusBarStateController); in setup() 101 when(mStatusBarStateController.isDozing()).thenReturn(true); in filterDozingSuppressAmbient() 107 when(mStatusBarStateController.isDozing()).thenReturn(false); in filterDozingSuppressAmbient() 121 when(mStatusBarStateController.isDozing()).thenReturn(true); in filterDozingSuppressNotificationList() 127 when(mStatusBarStateController.isDozing()).thenReturn(false); in filterDozingSuppressNotificationList()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistHandleLikeHomeBehavior.java | 76 private final Lazy<StatusBarStateController> mStatusBarStateController; field in AssistHandleLikeHomeBehavior 91 mStatusBarStateController = statusBarStateController; in AssistHandleLikeHomeBehavior() 99 mIsDozing = mStatusBarStateController.get().isDozing(); in onModeActivated() 100 mStatusBarStateController.get().addCallback(mStatusBarStateListener); in onModeActivated() 111 mStatusBarStateController.get().removeCallback(mStatusBarStateListener); in onModeDeactivated()
|
D | PhoneStateMonitor.java | 73 private final StatusBarStateController mStatusBarStateController; field in PhoneStateMonitor 83 mStatusBarStateController = Dependency.get(StatusBarStateController.class); in PhoneStateMonitor() 174 int statusBarState = mStatusBarStateController.getState(); in isShadeFullscreen() 180 return mStatusBarStateController.isDozing(); in isDozing()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | BrightLineFalsingManagerTest.java | 56 private SysuiStatusBarStateController mStatusBarStateController; field in BrightLineFalsingManagerTest 71 mStatusBarStateController = new StatusBarStateControllerImpl(new UiEventLoggerFake()); in setup() 72 mStatusBarStateController.setState(StatusBarState.KEYGUARD); in setup() 75 mStatusBarStateController); in setup() 116 mStatusBarStateController.setState(StatusBarState.SHADE); in testUnregisterSensor_StateTransition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenLockIconController.java | 69 private final StatusBarStateController mStatusBarStateController; field in LockscreenLockIconController 93 mStatusBarStateController.addCallback(mSBStateListener); 108 mStatusBarStateController.removeCallback(mSBStateListener); 336 mStatusBarStateController = statusBarStateController; in LockscreenLockIconController() 364 setStatusBarState(mStatusBarStateController.getState()); in attach() 468 mLockIcon.update(state, mStatusBarStateController.isPulsing(), in update() 469 mStatusBarStateController.isDozing(), mKeyguardJustShown); in update() 486 && !mStatusBarStateController.isPulsing()) { in getState() 512 boolean onAodNotPulsingOrDocked = mStatusBarStateController.isDozing() in updateIconVisibility() 513 && (!mStatusBarStateController.isPulsing() || mDocked); in updateIconVisibility()
|
D | DozeServiceHost.java | 74 private final SysuiStatusBarStateController mStatusBarStateController; field in DozeServiceHost 117 mStatusBarStateController = statusBarStateController; in DozeServiceHost() 198 mDozeLog.traceDozing(mStatusBarStateController.isDozing()); in startDozing() 207 mDozingRequested && mStatusBarStateController.getState() == StatusBarState.KEYGUARD in updateDozing() 217 mStatusBarStateController.setIsDozing(dozing); in updateDozing() 257 mStatusBarStateController.setPulsing(pulsing); in pulseWhileDozing() 281 mDozeLog.traceDozing(mStatusBarStateController.isDozing()); in stopDozing() 291 if (mStatusBarStateController.isDozing() && ignore) { in onIgnoreTouchWhilePulsing()
|
D | LightBarTransitionsController.java | 50 private final StatusBarStateController mStatusBarStateController; field in LightBarTransitionsController 78 mStatusBarStateController = Dependency.get(StatusBarStateController.class); in LightBarTransitionsController() 81 mStatusBarStateController.addCallback(this); in LightBarTransitionsController() 82 mDozeAmount = mStatusBarStateController.getDozeAmount(); in LightBarTransitionsController() 89 mStatusBarStateController.removeCallback(this); in destroy()
|
D | CollapsedStatusBarFragment.java | 58 private StatusBarStateController mStatusBarStateController; field in CollapsedStatusBarFragment 83 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 | StatusBarRemoteInputCallback.java | 61 private final SysuiStatusBarStateController mStatusBarStateController; field in StatusBarRemoteInputCallback 96 mStatusBarStateController = (SysuiStatusBarStateController) statusBarStateController; in StatusBarRemoteInputCallback() 98 mStatusBarStateController.addCallback(this); in StatusBarRemoteInputCallback() 111 && (mStatusBarStateController.leaveOpenOnKeyguardHide() || hasPendingRemoteInput)) { in onStateChanged() 112 if (!mStatusBarStateController.isKeyguardRequested()) { in onStateChanged() 124 mStatusBarStateController.setLeaveOpenOnKeyguardHide(true); in onLockedRemoteInput()
|
D | NotificationShadeWindowViewController.java | 78 private final SysuiStatusBarStateController mStatusBarStateController; field in NotificationShadeWindowViewController 144 mStatusBarStateController = statusBarStateController; in NotificationShadeWindowViewController() 249 if (mStatusBarStateController.isDozing()) { in setupExpandedStatusBar() 290 if (mStatusBarStateController.isDozing() && !mService.isPulsing() in setupExpandedStatusBar() 299 && !mStatusBarStateController.isDozing()) { in setupExpandedStatusBar() 319 if (mStatusBarStateController.isDozing()) { in setupExpandedStatusBar() 365 if (mStatusBarStateController.isDozing()) { in setupExpandedStatusBar()
|
D | ShadeControllerImpl.java | 46 private final StatusBarStateController mStatusBarStateController; field in ShadeControllerImpl 68 mStatusBarStateController = statusBarStateController; in ShadeControllerImpl() 110 if (!force && mStatusBarStateController.getState() != StatusBarState.SHADE) { in animateCollapsePanels()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/ |
D | FullscreenUserSwitcherViewMediator.java | 34 private final StatusBarStateController mStatusBarStateController; field in FullscreenUserSwitcherViewMediator 46 mStatusBarStateController = statusBarStateController; in FullscreenUserSwitcherViewMediator() 58 mStatusBarStateController.addCallback(new StatusBarStateController.StateListener() { in registerUserSwitcherHideListeners()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | DozeServiceHostTest.java | 73 @Mock private StatusBarStateControllerImpl mStatusBarStateController; field in DozeServiceHostTest 97 mStatusBarStateController, mDeviceProvisionedController, mHeadsUpManager, in setup() 111 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testStartStopDozing() 112 when(mStatusBarStateController.isKeyguardRequested()).thenReturn(true); in testStartStopDozing() 117 verify(mStatusBarStateController).setIsDozing(eq(true)); in testStartStopDozing() 121 verify(mStatusBarStateController).setIsDozing(eq(false)); in testStartStopDozing()
|
D | CollapsedStatusBarFragmentTest.java | 51 private StatusBarStateController mStatusBarStateController; field in CollapsedStatusBarFragmentTest 61 mStatusBarStateController = mDependency in setup() 153 reset(mStatusBarStateController); in testOnDozingChanged() 154 when(mStatusBarStateController.isDozing()).thenReturn(true); in testOnDozingChanged() 157 Mockito.verify(mStatusBarStateController).isDozing(); in testOnDozingChanged()
|
D | NotificationShadeWindowViewTest.java | 74 @Mock private SysuiStatusBarStateController mStatusBarStateController; field in NotificationShadeWindowViewTest 96 when(mStatusBarStateController.isDozing()).thenReturn(false); in setUp() 114 mStatusBarStateController, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilter.java | 51 private final StatusBarStateController mStatusBarStateController; field in NotificationFilter 63 mStatusBarStateController = statusBarStateController; in NotificationFilter() 117 if (mStatusBarStateController.isDozing() && entry.shouldSuppressAmbient()) { in shouldFilterOut() 121 if (!mStatusBarStateController.isDozing() && entry.shouldSuppressNotificationList()) { in shouldFilterOut()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingManagerProxyTest.java | 69 private StatusBarStateController mStatusBarStateController = field in FalsingManagerProxyTest 91 mDumpManager, mUiBgExecutor, mStatusBarStateController); in test_brightLineFalsingManagerDisabled() 102 mDumpManager, mUiBgExecutor, mStatusBarStateController); in test_brightLineFalsingManagerEnabled() 110 mDumpManager, mUiBgExecutor, mStatusBarStateController); in test_brightLineFalsingManagerToggled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 96 private StatusBarStateController mStatusBarStateController; field in QSTileImplTest 111 mStatusBarStateController = in setup() 136 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testClick_log() 144 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testClick_Metrics_Status_Bar_Status() 162 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testSecondaryClick_log() 170 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testSecondaryClick_Metrics_Status_Bar_Status() 189 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testLongClick_log() 197 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE_LOCKED); in testLongClick_Metrics_Status_Bar_Status()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilterTest.java | 83 StatusBarStateController mStatusBarStateController; field in NotificationFilterTest 126 mNotificationFilter = new NotificationFilter(mStatusBarStateController, mMediaFeatureFlag); in setUp() 246 NotificationFilter filter = new NotificationFilter(mStatusBarStateController, in shouldFilterOtherNotificationWhenDisabled() 259 NotificationFilter filter = new NotificationFilter(mStatusBarStateController, in shouldFilterOtherNotificationWhenEnabled() 272 NotificationFilter filter = new NotificationFilter(mStatusBarStateController, in shouldFilterMediaNotificationWhenDisabled() 284 NotificationFilter filter = new NotificationFilter(mStatusBarStateController, in shouldFilterMediaNotificationWhenEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImpl.java | 61 private final StatusBarStateController mStatusBarStateController; field in NotificationInterruptStateProviderImpl 91 mStatusBarStateController = statusBarStateController; in NotificationInterruptStateProviderImpl() 165 if (mStatusBarStateController.isDozing()) { in shouldHeadsUp() 180 || mStatusBarStateController.getState() == StatusBarState.KEYGUARD); in shouldLaunchFullScreenIntentWhenAdded() 208 boolean inShade = mStatusBarStateController.getState() == SHADE; in shouldHeadsUpWhenAwake()
|
D | HeadsUpController.java | 51 private final StatusBarStateController mStatusBarStateController; field in HeadsUpController 68 mStatusBarStateController = statusBarStateController; in HeadsUpController() 113 if (!mStatusBarStateController.isDozing()) { in showAlertingView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImplTest.java | 80 StatusBarStateController mStatusBarStateController; field in NotificationInterruptStateProviderImplTest 102 mStatusBarStateController, in setup() 127 when(mStatusBarStateController.isDozing()).thenReturn(false); in ensureStateForHeadsUpWhenAwake() 140 when(mStatusBarStateController.isDozing()).thenReturn(true); in ensureStateForHeadsUpWhenDozing() 243 when(mStatusBarStateController.isDozing()).thenReturn(false); in testShouldNotHeadsUpWhenDozing_notDozing() 293 when(mStatusBarStateController.getState()).thenReturn(SHADE); in testShouldNotHeadsUp_bubble()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationTestHelper.java | 105 private StatusBarStateController mStatusBarStateController; field in NotificationTestHelper 117 mStatusBarStateController = mock(StatusBarStateController.class); in NotificationTestHelper() 119 mStatusBarStateController, in NotificationTestHelper() 121 mHeadsUpManager = new HeadsUpManagerPhone(mContext, mStatusBarStateController, in NotificationTestHelper() 356 return mStatusBarStateController; in getStatusBarStateController() 424 mStatusBarStateController, in generateRow()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSectionsManagerTest.java | 82 @Mock private StatusBarStateController mStatusBarStateController; field in NotificationSectionsManagerTest 115 mStatusBarStateController, in setUp() 127 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in setUp() 262 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderNotShownOnLockscreen() 279 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderShownWhenEnterLockscreen() 288 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.SHADE); in testHeaderShownWhenEnterLockscreen() 304 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderHiddenWhenEnterLockscreen() 494 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testMediaControls_AddWhenEnterKeyguard() 513 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testMediaControls_AddWhenEnterKeyguardWithHeadsUp()
|