Home
last modified time | relevance | path

Searched refs:isDreaming (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerVrTest.java93 assertTrue(mDm.isDreaming()); in testNap()
107 assertFalse(mDm.isDreaming()); // ensure dream is still false after waiting. in testNap()
117 private void waitForDreamState(boolean isDreaming) throws Exception { in waitForDreamState() argument
121 if (mDm.isDreaming() == isDreaming) { in waitForDreamState()
/frameworks/base/core/java/android/service/dreams/
DDreamManagerInternal.java44 public abstract boolean isDreaming(); in isDreaming() method in DreamManagerInternal
DIDreamManager.aidl36 boolean isDreaming(); in isDreaming() method
DSandman.java84 if (dreamManagerService != null && !dreamManagerService.isDreaming()) { in startDream()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInterruptionStateProvider.java225 boolean isDreaming = false; in shouldHeadsUp()
227 isDreaming = mDreamManager.isDreaming(); in shouldHeadsUp()
231 boolean inUse = mPowerManager.isScreenOn() && !isDreaming; in shouldHeadsUp()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java513 public boolean isDreaming() { in isDreaming() method in SystemServicesProxy
515 return mDreamManager.isDreaming(); in isDreaming()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java416 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_nonSuppressedGroupSummary()
437 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_suppressedGroupSummary()
458 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_suppressedHeadsUp()
476 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java542 public boolean isDreaming() { in isDreaming() method in DreamManagerService.BinderService
671 public boolean isDreaming() { in isDreaming() method in DreamManagerService.LocalService
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java395 boolean deviceDreaming = mUpdateMonitor.isDreaming(); in calculateMode()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2300 final boolean isDreaming; in handleSandman()
2307 isDreaming = mDreamManager.isDreaming(); in handleSandman()
2309 isDreaming = false; in handleSandman()
2315 if (startDreaming && isDreaming) { in handleSandman()
2332 if (isDreaming && canDreamLocked()) { in handleSandman()
2363 if (isDreaming) { in handleSandman()
2374 if (isDreaming) { in handleSandman()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java181 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
DPhoneWindowManager.java1498 if (mDreamManagerInternal != null && mDreamManagerInternal.isDreaming()) { in handleShortPressOnHome()
4230 if (dreamManager != null && dreamManager.isDreaming()) { in shouldDispatchInputWhenNonInteractive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java256 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java523 public boolean isDreaming() { in isDreaming() method in KeyguardUpdateMonitor
/frameworks/base/services/
Dart-profile7020 PLcom/android/server/dreams/DreamManagerService$BinderService;->isDreaming()Z
7022 HSPLcom/android/server/dreams/DreamManagerService$LocalService;->isDreaming()Z