Searched refs:shouldSleep (Results 1 – 7 of 7) sorted by relevance
1020 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()
2545 if (deferred && !display.shouldSleep()) { in sendSleepTransition()2574 final boolean displayShouldSleep = display.shouldSleep(); in applySleepTokens()3034 if (!display.shouldSleep()) { in hasAwakeDisplay()
5094 final boolean shouldSleep = !mRootWindowContainer.hasAwakeDisplay(); in updateSleepIfNeededLocked()5098 if (!shouldSleep) { in updateSleepIfNeededLocked()5118 } else if (!mSleeping && shouldSleep) { in updateSleepIfNeededLocked()
6531 boolean shouldSleep() { in shouldSleep() method in DisplayContent
428 mWm.mRoot.forAllDisplays(display -> doReturn(true).when(display).shouldSleep()); in testUpdateSleep()464 mWm.mRoot.forAllDisplays(display -> doReturn(false).when(display).shouldSleep()); in testUpdateSleep()
578 doReturn(displayShouldSleep).when(display).shouldSleep(); in verifySleepTokenBehavior()610 doReturn(false).when(display).shouldSleep(); in testAwakeFromSleepingWithAppConfiguration()
26939 PLcom/android/server/wm/DisplayContent;->shouldSleep()Z