Searched refs:isDreaming (Results 1 – 6 of 6) sorted by relevance
119 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 …]
101 public boolean isDreaming() { in isDreaming() method in DreamCoordinator102 return SystemUtil.runWithShellPermissionIdentity(mDreamManager::isDreaming); in isDreaming()
69 && SystemUtil.runWithShellPermissionIdentity(dreamManager::isDreaming))) { in wakeUpAndUnlock()
97 !dreamManager.isDreaming in <lambda>()138 isDreaming in <lambda>()146 !isDreaming in <lambda>()
192 assertFalse("DreamService is still dreaming", mDreamCoordinator.isDreaming()); in testDreamServiceOnDestroyCallback()309 assertThat(mDreamCoordinator.isDreaming()).isTrue(); in testKeyHandling_InteractiveDreamConsumesConfirmNoWakeup()
329 …thod @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isDreaming();