Home
last modified time | relevance | path

Searched refs:mGoingToSleepWakeLock (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java374 PowerManager.WakeLock mGoingToSleepWakeLock; field in ActivityTaskSupervisor
531 mGoingToSleepWakeLock = mPowerManager in initPowerManagement()
1987 if (!mGoingToSleepWakeLock.isHeld()) { in goingToSleepLocked()
1988 mGoingToSleepWakeLock.acquire(); in goingToSleepLocked()
2035 if (mGoingToSleepWakeLock.isHeld()) { in comeOutOfSleepIfNeededLocked()
2036 mGoingToSleepWakeLock.release(); in comeOutOfSleepIfNeededLocked()
2059 if (mGoingToSleepWakeLock.isHeld()) { in checkReadyForSleepLocked()
2060 mGoingToSleepWakeLock.release(); in checkReadyForSleepLocked()
DActivityTaskManagerService.java6895 pw.println(" mGoingToSleepWakeLock=" + mTaskSupervisor.mGoingToSleepWakeLock); in dumpForProcesses()
6933 mTaskSupervisor.mGoingToSleepWakeLock.dumpDebug(proto, GOING_TO_SLEEP); in writeProcessesToProto()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java413 mSupervisor.mGoingToSleepWakeLock = in testUpdateSleep()
431 verify(mSupervisor.mGoingToSleepWakeLock).acquire(); in testUpdateSleep()
432 doReturn(true).when(mSupervisor.mGoingToSleepWakeLock).isHeld(); in testUpdateSleep()
457 verify(mSupervisor.mGoingToSleepWakeLock).release(); in testUpdateSleep()
DRootWindowContainerTests.java241 mSupervisor.mGoingToSleepWakeLock = mock(PowerManager.WakeLock.class); in testTaskLayerRank()
242 doReturn(false).when(mSupervisor.mGoingToSleepWakeLock).isHeld(); in testTaskLayerRank()