Home
last modified time | relevance | path

Searched refs:shouldSleep (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackSupervisorTests.java238 doReturn(displayShouldSleep).when(display).shouldSleep(); in verifySleepTokenBehavior()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java1320 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()
DActivityDisplay.java705 boolean shouldSleep() { in shouldSleep() method in ActivityDisplay
DActivityStackSupervisor.java3475 if (!display.shouldSleep()) { in hasAwakeDisplay()
3546 final boolean displayShouldSleep = display.shouldSleep(); in applySleepTokensLocked()
DActivityManagerService.java13311 final boolean shouldSleep = !mStackSupervisor.hasAwakeDisplay(); in updateSleepIfNeededLocked()
13314 if (!shouldSleep) { in updateSleepIfNeededLocked()
13328 } else if (!mSleeping && shouldSleep) { in updateSleepIfNeededLocked()