/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeDockHandler.java | 42 private final DockManager mDockManager; field in DozeDockHandler 52 mDockManager = dockManager; in DozeDockHandler() 132 if (mDockManager != null) { in register() 133 mDockManager.addListener(this); in register() 142 if (mDockManager != null) { in unregister() 143 mDockManager.removeListener(this); in unregister()
|
D | DozeMachine.java | 151 private final DockManager mDockManager; field in DozeMachine 171 mDockManager = dockManager; in DozeMachine() 433 } else if (mDockManager.isDocked()) { in resolveIntermediateState() 434 nextState = mDockManager.isHidden() ? State.DOZE : State.DOZE_AOD_DOCKED; in resolveIntermediateState()
|
D | DozeTriggers.java | 101 private final DockManager mDockManager; field in DozeTriggers 221 mDockManager = dockManager; in DozeTriggers() 514 mDockManager.addListener(mDockEventListener); in registerCallbacks() 522 mDockManager.removeListener(mDockEventListener); in unregisterCallbacks()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeMachineTest.java | 83 private DockManager mDockManager; field in DozeMachineTest 102 when(mDockManager.isDocked()).thenReturn(false); in setUp() 103 when(mDockManager.isHidden()).thenReturn(false); in setUp() 111 mDockManager, in setUp() 146 when(mDockManager.isDocked()).thenReturn(true); in testInitialize_afterDocked_goesToDockedAod() 157 when(mDockManager.isDocked()).thenReturn(true); in testInitialize_afterDockPaused_goesToDoze() 158 when(mDockManager.isHidden()).thenReturn(true); in testInitialize_afterDockPaused_goesToDoze() 191 when(mDockManager.isDocked()).thenReturn(true); in testInitialize_alwaysOnSuppressed_afterDocked_goesToDoze() 203 when(mDockManager.isDocked()).thenReturn(true); in testInitialize_alwaysOnSuppressed_alwaysOnDisabled_afterDockPaused_goesToDoze() 204 when(mDockManager.isHidden()).thenReturn(true); in testInitialize_alwaysOnSuppressed_alwaysOnDisabled_afterDockPaused_goesToDoze() [all …]
|
D | DozeTriggersTest.java | 95 private DockManager mDockManager; field in DozeTriggersTest 145 asyncSensorManager, wakeLock, mDockManager, mProximitySensor, in setupDozeTriggers() 313 verify(mDockManager).removeListener(any()); in transitionToDozeSuspendTriggers_disablesAllCallbacks() 321 verify(mDockManager).addListener(any()); in testDockEventListener_registerAndUnregister() 324 verify(mDockManager).removeListener(any()); in testDockEventListener_registerAndUnregister()
|
D | DozeScreenBrightnessTest.java | 94 DockManager mDockManager; field in DozeScreenBrightnessTest
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingCollectorImpl.java | 89 private final DockManager mDockManager; field in FalsingCollectorImpl 143 if (isWirelessCharging || mDockManager.isDocked()) { 190 mDockManager = dockManager; in FalsingCollectorImpl() 236 mDockManager.addListener(mDockEventListener); in init() 394 mDockManager.removeListener(mDockEventListener); in cleanup()
|
D | FalsingDataProvider.java | 53 private final DockManager mDockManager; field in FalsingDataProvider 89 mDockManager = dockManager; in FalsingDataProvider() 463 return mBatteryController.isWirelessCharging() || mDockManager.isDocked();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimState.java | 189 final boolean isDocked = mDockManager.isDocked(); in prepare() 369 DockManager mDockManager; field in ScrimState 388 mDockManager = dockManager; in init()
|
D | StatusBarKeyguardViewManager.java | 273 boolean isDocked = mDockManager.isDocked(); 331 private final DockManager mDockManager; field in StatusBarKeyguardViewManager 410 mDockManager = dockManager; in StatusBarKeyguardViewManager() 494 if (mDockManager != null) { in registerListeners() 495 mDockManager.addListener(mDockEventListener); in registerListeners() 496 mIsDocked = mDockManager.isDocked(); in registerListeners()
|
D | ScrimController.java | 216 private final DockManager mDockManager; field in ScrimController 369 mDockManager = dockManager; in ScrimController() 424 states[i].init(mScrimInFront, mScrimBehind, mDozeParameters, mDockManager); in attachViews() 662 && (mDozeParameters.getAlwaysOn() || mDockManager.isDocked())) { in shouldFadeAwayWallpaper() 1200 && (mDozeParameters.getAlwaysOn() || mDockManager.isDocked())) { in shouldUpdateFrontScrimAlpha()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | ClassifierTest.java | 46 private final DockManagerFake mDockManager = new DockManagerFake(); field in ClassifierTest 56 displayMetrics, mBatteryController, mFoldStateListener, mDockManager, false); in setup()
|
D | FalsingCollectorImplTest.java | 105 private final DockManagerFake mDockManager = new DockManagerFake(); field in FalsingCollectorImplTest 126 mDockManager, mFakeExecutor, in setUp() 160 mDockManager.setDockEvent(DockManager.STATE_DOCKED); in testNoProximityWhenDocked() 166 mDockManager.setDockEvent(DockManager.STATE_NONE); in testProximityWhenUndocked()
|
D | FalsingDataProviderTest.java | 57 private final DockManagerFake mDockManager = new DockManagerFake(); field in FalsingDataProviderTest 328 mDockManager.setIsDocked(true); in test_isDocked() 417 mDisplayMetrics, mBatteryController, mFoldStateListener, mDockManager, foldable); in createWithFoldCapability()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewController.java | 138 private final DockManager mDockManager; field in NotificationShadeWindowViewController 201 mDockManager = dockManager; in NotificationShadeWindowViewController() 468 && !mDockManager.isDocked() in setupExpandedStatusBar()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerBaseTest.java | 140 protected DockManager mDockManager; field in KeyguardIndicationControllerBaseTest 282 mDockManager, mBroadcastDispatcher, mDevicePolicyManager, mIBatteryStats, in createController()
|
D | KeyguardIndicationControllerTest.java | 128 verify(mDockManager).addAlignmentStateListener( in createController_addsAlignmentListener() 135 verify(mDockManager).addAlignmentStateListener(mAlignmentListener.capture()); in onAlignmentStateChanged_showsSlowChargingIndication() 150 verify(mDockManager).addAlignmentStateListener(mAlignmentListener.capture()); in onAlignmentStateChanged_showsNotChargingIndication() 166 verify(mDockManager).addAlignmentStateListener(mAlignmentListener.capture()); in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication() 182 verify(mDockManager).addAlignmentStateListener(mAlignmentListener.capture()); in onAlignmentStateChanged_whileDozing_showsNotChargingIndication()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 144 @Mock private DockManager mDockManager; field in ScrimControllerTest 270 when(mDockManager.isDocked()).thenReturn(false); in setup() 285 mDockManager, in setup() 544 when(mDockManager.isDocked()).thenReturn(true); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha() 1233 mDockManager, in blankingNotRequired_leavingAoD() 1390 when(mDockManager.isDocked()).thenReturn(true); in testWillHideDockedWallpaper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 171 private final DockManager mDockManager; field in KeyguardIndicationController 321 mDockManager = dockManager; in KeyguardIndicationController() 380 mDockManager.addAlignmentStateListener( in init()
|