Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowStateTests.java252 assertTrue(appWindowToken.canTurnScreenOn()); in testPrepareWindowToDisplayDuringRelayout()
257 assertFalse(appWindowToken.canTurnScreenOn()); in testPrepareWindowToDisplayDuringRelayout()
268 assertFalse(appWindowToken.canTurnScreenOn()); in testPrepareWindowToDisplayDuringRelayout()
273 assertFalse(appWindowToken.canTurnScreenOn()); in testPrepareWindowToDisplayDuringRelayout()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowToken.java1664 void setCanTurnScreenOn(boolean canTurnScreenOn) { in setCanTurnScreenOn() argument
1665 mCanTurnScreenOn = canTurnScreenOn; in setCanTurnScreenOn()
1675 boolean canTurnScreenOn() { in canTurnScreenOn() method in AppWindowToken
DWindowState.java2324 boolean canTurnScreenOn = mAppToken == null || mAppToken.canTurnScreenOn(); in prepareWindowToDisplayDuringRelayout()
2338 if (allowTheaterMode && canTurnScreenOn && !mPowerManagerWrapper.isInteractive()) { in prepareWindowToDisplayDuringRelayout()
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java1883 if (canTurnScreenOn()) { in completeResumeLocked()
2986 boolean canTurnScreenOn() { in canTurnScreenOn() method in ActivityRecord
DActivityStack.java2302 if (next == null || !next.canTurnScreenOn()) { in resumeTopActivityUncheckedLocked()