Home
last modified time | relevance | path

Searched refs:isDocked (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManagerExtensions.kt29 val callback = DockManager.DockEventListener { trySend(isDocked) } in DockManager()
31 trySend(isDocked) in DockManager()
DDockManager.java89 boolean isDocked(); in isDocked() method
DDockManagerImpl.java47 public boolean isDocked() { in isDocked() method in DockManagerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java102 when(mDockManager.isDocked()).thenReturn(false); in setUp()
146 when(mDockManager.isDocked()).thenReturn(true); in testInitialize_afterDocked_goesToDockedAod()
157 when(mDockManager.isDocked()).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()
216 when(mDockManager.isDocked()).thenReturn(true); in testInitialize_alwaysOnSuppressed_alwaysOnEnabled_afterDockPaused_goesToDoze()
267 when(mDockManager.isDocked()).thenReturn(true); in testPulseDone_afterDocked_goesToDockedAoD()
280 when(mDockManager.isDocked()).thenReturn(true); in testPulseDone_whileDockedAoD_staysDockedAod()
292 when(mDockManager.isDocked()).thenReturn(true); in testPulseDone_alwaysOnSuppressed_afterDocked_goesToDoze()
306 when(mDockManager.isDocked()).thenReturn(true); in testPulseDone_afterDockPaused_goesToDoze()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/dock/
DDockManagerFake.java48 public boolean isDocked() { in isDocked() method in DockManagerFake
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DLetterboxEduWindowManagerTest.java429 private LetterboxEduWindowManager createWindowManager(boolean eligible, boolean isDocked) { in createWindowManager() argument
430 return createWindowManager(eligible, USER_ID_1, /* isTaskbarEduShowing= */ false, isDocked); in createWindowManager()
439 boolean isTaskbarEduShowing, boolean isDocked) { in createWindowManager() argument
440 doReturn(isDocked).when(mDockStateReader).isDocked(); in createWindowManager()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDockStateReader.java48 public boolean isDocked() { in isDocked() method in DockStateReader
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java189 final boolean isDocked = mDockManager.isDocked(); in prepare()
193 mFrontAlpha = (alwaysOnEnabled || isDocked || quickPickupEnabled) in prepare()
DStatusBarKeyguardViewManager.java273 boolean isDocked = mDockManager.isDocked();
274 if (isDocked == mIsDocked) {
277 mIsDocked = isDocked;
496 mIsDocked = mDockManager.isDocked(); in registerListeners()
DScrimController.java662 && (mDozeParameters.getAlwaysOn() || mDockManager.isDocked())) { in shouldFadeAwayWallpaper()
1200 && (mDozeParameters.getAlwaysOn() || mDockManager.isDocked())) { in shouldUpdateFrontScrimAlpha()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingDataProviderTest.java319 assertThat(mDataProvider.isDocked()).isFalse(); in test_isWirelessCharging()
322 assertThat(mDataProvider.isDocked()).isTrue(); in test_isWirelessCharging()
327 assertThat(mDataProvider.isDocked()).isFalse(); in test_isDocked()
329 assertThat(mDataProvider.isDocked()).isTrue(); in test_isDocked()
DBrightLineClassifierTest.java206 when(mFalsingDataProvider.isDocked()).thenReturn(true); in testIsFalseTouch_Docked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingDataProvider.java462 public boolean isDocked() {
463 return mBatteryController.isWirelessCharging() || mDockManager.isDocked();
DBrightLineFalsingManager.java397 || mDataProvider.isDocked() in skipFalsing()
476 ipw.println(mDataProvider.isDocked() ? 1 : 0); in dump()
DFalsingCollectorImpl.java143 if (isWirelessCharging || mDockManager.isDocked()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DPulsingGestureListener.kt84 val isNotDocked = !dockManager.isDocked in <lambda>()
DNotificationShadeWindowViewController.java468 && !mDockManager.isDocked() in setupExpandedStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalSceneStartable.kt194 val docked = dockManager.isDocked in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DLetterboxEduWindowManager.java135 && !mDockStateReader.isDocked(); in eligibleToShowLayout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DPulsingGestureListenerTest.kt103 whenever(dockManager.isDocked).thenReturn(false) in setUp()
DNotificationShadeWindowViewTest.kt156 whenever(dockManager.isDocked).thenReturn(false) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java433 } else if (mDockManager.isDocked()) { in resolveIntermediateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java270 when(mDockManager.isDocked()).thenReturn(false); in setup()
544 when(mDockManager.isDocked()).thenReturn(true); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha()
1390 when(mDockManager.isDocked()).thenReturn(true); in testWillHideDockedWallpaper()