Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskFragment.java1020 boolean shouldSleep = true; in sleepIfPossible()
1029 shouldSleep = false; in sleepIfPossible()
1033 shouldSleep = false; in sleepIfPossible()
1043 shouldSleep = false; in sleepIfPossible()
1047 if (shouldSleep) { in sleepIfPossible()
1051 return shouldSleep; in sleepIfPossible()
DRootWindowContainer.java2545 if (deferred && !display.shouldSleep()) { in sendSleepTransition()
2574 final boolean displayShouldSleep = display.shouldSleep(); in applySleepTokens()
3034 if (!display.shouldSleep()) { in hasAwakeDisplay()
DActivityTaskManagerService.java5094 final boolean shouldSleep = !mRootWindowContainer.hasAwakeDisplay(); in updateSleepIfNeededLocked()
5098 if (!shouldSleep) { in updateSleepIfNeededLocked()
5118 } else if (!mSleeping && shouldSleep) { in updateSleepIfNeededLocked()
DDisplayContent.java6531 boolean shouldSleep() { in shouldSleep() method in DisplayContent
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java428 mWm.mRoot.forAllDisplays(display -> doReturn(true).when(display).shouldSleep()); in testUpdateSleep()
464 mWm.mRoot.forAllDisplays(display -> doReturn(false).when(display).shouldSleep()); in testUpdateSleep()
DRootWindowContainerTests.java578 doReturn(displayShouldSleep).when(display).shouldSleep(); in verifySleepTokenBehavior()
610 doReturn(false).when(display).shouldSleep(); in testAwakeFromSleepingWithAppConfiguration()
/frameworks/base/services/
Dart-wear-profile26939 PLcom/android/server/wm/DisplayContent;->shouldSleep()Z