Searched refs:shouldSleep (Results 1 – 5 of 5) sorted by relevance
238 doReturn(displayShouldSleep).when(display).shouldSleep(); in verifySleepTokenBehavior()
1320 boolean shouldSleep = true; in goToSleepIfPossible()1329 shouldSleep = false ; in goToSleepIfPossible()1333 shouldSleep = false; in goToSleepIfPossible()1343 shouldSleep = false; in goToSleepIfPossible()1350 shouldSleep = false; in goToSleepIfPossible()1354 if (shouldSleep) { in goToSleepIfPossible()1358 return shouldSleep; in goToSleepIfPossible()
705 boolean shouldSleep() { in shouldSleep() method in ActivityDisplay
3475 if (!display.shouldSleep()) { in hasAwakeDisplay()3546 final boolean displayShouldSleep = display.shouldSleep(); in applySleepTokensLocked()
13311 final boolean shouldSleep = !mStackSupervisor.hasAwakeDisplay(); in updateSleepIfNeededLocked()13314 if (!shouldSleep) { in updateSleepIfNeededLocked()13328 } else if (!mSleeping && shouldSleep) { in updateSleepIfNeededLocked()