Searched refs:shouldSleep (Results 1 – 6 of 6) sorted by relevance
1561 boolean shouldSleep = true; in goToSleepIfPossible()1570 shouldSleep = false ; in goToSleepIfPossible()1574 shouldSleep = false; in goToSleepIfPossible()1584 shouldSleep = false; in goToSleepIfPossible()1591 shouldSleep = false; in goToSleepIfPossible()1595 if (shouldSleep) { in goToSleepIfPossible()1599 return shouldSleep; in goToSleepIfPossible()
1205 final boolean displayShouldSleep = display.shouldSleep(); in applySleepTokens()1661 if (!display.shouldSleep()) { in hasAwakeDisplay()
1218 boolean shouldSleep() { in shouldSleep() method in ActivityDisplay
5586 final boolean shouldSleep = !mRootActivityContainer.hasAwakeDisplay(); in updateSleepIfNeededLocked()5590 if (!shouldSleep) { in updateSleepIfNeededLocked()5607 } else if (!mSleeping && shouldSleep) { in updateSleepIfNeededLocked()
205 doReturn(displayShouldSleep).when(display).shouldSleep(); in verifySleepTokenBehavior()
14719 HSPLcom/android/server/wm/ActivityDisplay;->shouldSleep()Z