Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDreamManagerServiceTests.java119 assertTrue(mDreamCoordinator.isDreaming()); in testStartAndStopDream()
144 assertTrue(mDreamCoordinator.isDreaming()); in testShowWhenLockedActivityUnderDream()
160 assertFalse(mDreamCoordinator.isDreaming()); in testDreamServiceStopsTimely()
181 assertFalse(mDreamCoordinator.isDreaming()); in testForceStopStubbornDream()
208 assertTrue(mDreamCoordinator.isDreaming()); in testStartActivityDoesNotWakeAndIsNotResumed()
219 assertFalse(mDreamCoordinator.isDreaming()); in testStartActivityWakesDevice()
259 assertTrue(mDreamCoordinator.isDreaming()); in testStartActivityOnKeyguardLocked()
265 assertFalse(mDreamCoordinator.isDreaming()); in testStartActivityOnKeyguardLocked()
281 assertFalse(mDreamCoordinator.isDreaming()); in testStartActivityDismissesDreamOnKeyguardLocked()
302 assertTrue(mDreamCoordinator.isDreaming()); in waitAndAssertDreaming()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDreamCoordinator.java101 public boolean isDreaming() { in isDreaming() method in DreamCoordinator
102 return SystemUtil.runWithShellPermissionIdentity(mDreamManager::isDreaming); in isDreaming()
DUiDeviceUtils.java69 && SystemUtil.runWithShellPermissionIdentity(dreamManager::isDreaming))) { in wakeUpAndUnlock()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DBasicPipTests.kt97 !dreamManager.isDreaming in <lambda>()
138 isDreaming in <lambda>()
146 !isDreaming in <lambda>()
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamServiceTest.java192 assertFalse("DreamService is still dreaming", mDreamCoordinator.isDreaming()); in testDreamServiceOnDestroyCallback()
309 assertThat(mDreamCoordinator.isDreaming()).isTrue(); in testKeyHandling_InteractiveDreamConsumesConfirmNoWakeup()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt329 …thod @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isDreaming();