/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerVrTest.java | 93 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/app/ |
D | DreamManager.java | 112 public boolean isDreaming() { in isDreaming() method in DreamManager 114 return mService.isDreaming(); in isDreaming()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImpl.java | 231 boolean isDreaming = false; in shouldHeadsUpWhenAwake() 233 isDreaming = mDreamManager.isDreaming(); in shouldHeadsUpWhenAwake() 237 boolean inUse = mPowerManager.isScreenOn() && !isDreaming; in shouldHeadsUpWhenAwake()
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamManagerInternal.java | 46 public abstract boolean isDreaming(); in isDreaming() method in DreamManagerInternal
|
D | IDreamManager.aidl | 37 boolean isDreaming(); in isDreaming() method
|
D | Sandman.java | 81 if (dreamManagerService != null && !dreamManagerService.isDreaming()) { in startDream()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImplTest.java | 128 when(mDreamManager.isDreaming()).thenReturn(false); in ensureStateForHeadsUpWhenAwake() 353 when(mDreamManager.isDreaming()).thenReturn(true); in testShouldNotHeadsUp_deviceNotInUse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 602 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_nonSuppressedGroupSummary() 626 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_suppressedGroupSummary() 650 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_suppressedHeadsUp() 671 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_noSuppressedHeadsUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BiometricUnlockController.java | 535 boolean deviceDreaming = mUpdateMonitor.isDreaming(); in calculateModeForFingerprint() 566 boolean deviceDreaming = mUpdateMonitor.isDreaming(); in calculateModeForPassiveAuth()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 609 public boolean isDreaming() { in isDreaming() method in DreamManagerService.BinderService 739 public boolean isDreaming() { in isDreaming() method in DreamManagerService.LocalService
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 331 public abstract boolean isDreaming(); in isDreaming() method in ActivityTaskManagerInternal
|
D | ActivityStarter.java | 1747 if (!mTargetRootTask.isTopRootTaskInDisplayArea() && mService.mInternal.isDreaming()) { in startActivityInner() 2012 if (targetTaskTop.canTurnScreenOn() && mService.mInternal.isDreaming()) { in recycleTask()
|
D | WindowState.java | 2952 && (mWmService.mAtmInternal.isDreaming() in prepareWindowToDisplayDuringRelayout()
|
D | ActivityTaskManagerService.java | 5425 public boolean isDreaming() { in isDreaming() method in ActivityTaskManagerService.LocalService
|
D | ActivityRecord.java | 2397 if (!LocalServices.getService(ActivityTaskManagerInternal.class).isDreaming()) { in canLaunchDreamActivity()
|
D | WindowManagerService.java | 3211 if (mAtmInternal.isDreaming()) { in dismissKeyguard()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowManagerServiceTests.java | 163 doReturn(true).when(mWm.mAtmInternal).isDreaming(); in testDismissKeyguardCanWakeUp()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 2981 final boolean isDreaming; 2988 isDreaming = mDreamManager.isDreaming(); 2990 isDreaming = false; 3006 if (startDreaming && isDreaming) { 3025 if (isDreaming && canDreamLocked(groupId)) { 3056 if (isDreaming) { 3067 if (isDreaming) {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 182 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
|
D | PhoneWindowManager.java | 1343 if (mDreamManagerInternal != null && mDreamManagerInternal.isDreaming()) { in handleShortPressOnHome() 4023 if (dreamManager != null && dreamManager.isDreaming()) { in shouldDispatchInputWhenNonInteractive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 731 when(mDreamManagerInternalMock.isDreaming()).thenReturn(true); in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 465 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 658 public boolean isDreaming() { in isDreaming() method in KeyguardUpdateMonitor
|
/frameworks/base/services/ |
D | art-profile-boot | 689 Lcom/android/server/dreams/DreamManagerService$LocalService;->isDreaming()Z
|
/frameworks/base/core/api/ |
D | test-current.txt | 258 …thod @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isDreaming();
|