Home
last modified time | relevance | path

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

12

/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/app/
DDreamManager.java112 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/
DNotificationInterruptStateProviderImpl.java231 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/
DDreamManagerInternal.java46 public abstract boolean isDreaming(); in isDreaming() method in DreamManagerInternal
DIDreamManager.aidl37 boolean isDreaming(); in isDreaming() method
DSandman.java81 if (dreamManagerService != null && !dreamManagerService.isDreaming()) { in startDream()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java128 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/
DStatusBarTest.java602 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/
DBiometricUnlockController.java535 boolean deviceDreaming = mUpdateMonitor.isDreaming(); in calculateModeForFingerprint()
566 boolean deviceDreaming = mUpdateMonitor.isDreaming(); in calculateModeForPassiveAuth()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java609 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/
DActivityTaskManagerInternal.java331 public abstract boolean isDreaming(); in isDreaming() method in ActivityTaskManagerInternal
DActivityStarter.java1747 if (!mTargetRootTask.isTopRootTaskInDisplayArea() && mService.mInternal.isDreaming()) { in startActivityInner()
2012 if (targetTaskTop.canTurnScreenOn() && mService.mInternal.isDreaming()) { in recycleTask()
DWindowState.java2952 && (mWmService.mAtmInternal.isDreaming() in prepareWindowToDisplayDuringRelayout()
DActivityTaskManagerService.java5425 public boolean isDreaming() { in isDreaming() method in ActivityTaskManagerService.LocalService
DActivityRecord.java2397 if (!LocalServices.getService(ActivityTaskManagerInternal.class).isDreaming()) { in canLaunchDreamActivity()
DWindowManagerService.java3211 if (mAtmInternal.isDreaming()) { in dismissKeyguard()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java163 doReturn(true).when(mWm.mAtmInternal).isDreaming(); in testDismissKeyguardCanWakeUp()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2981 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/
DLegacyGlobalActions.java182 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
DPhoneWindowManager.java1343 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/
DPowerManagerServiceTest.java731 when(mDreamManagerInternalMock.isDreaming()).thenReturn(true); in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java465 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java658 public boolean isDreaming() { in isDreaming() method in KeyguardUpdateMonitor
/frameworks/base/services/
Dart-profile-boot689 Lcom/android/server/dreams/DreamManagerService$LocalService;->isDreaming()Z
/frameworks/base/core/api/
Dtest-current.txt258 …thod @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isDreaming();

12