Searched refs:mKeepScreenOnWakeLock (Results 1 – 1 of 1) sorted by relevance
66 private final PowerManager.WakeLock mKeepScreenOnWakeLock; field in SensorTestScreenManipulator84 mKeepScreenOnWakeLock = powerManager.newWakeLock(levelAndFlags, "SensorTestKeepScreenOn"); in SensorTestScreenManipulator()85 mKeepScreenOnWakeLock.setReferenceCounted(false); in SensorTestScreenManipulator()174 if (mKeepScreenOnWakeLock.isHeld()) { in turnScreenOn()177 mKeepScreenOnWakeLock.release(); in turnScreenOn()179 mKeepScreenOnWakeLock.acquire(); in turnScreenOn()188 if (!mKeepScreenOnWakeLock.isHeld()) { in releaseScreenOn()191 mKeepScreenOnWakeLock.release(); in releaseScreenOn()