Searched refs:mOffToken (Results 1 – 1 of 1) sorted by relevance
115 ActivityTaskManagerInternal.SleepToken mOffToken; field in ActivityDisplay184 if (displayState == Display.STATE_OFF && mOffToken == null) { in onDisplayChanged()185 mOffToken = mService.acquireSleepToken("Display-off", displayId); in onDisplayChanged()186 } else if (displayState == Display.STATE_ON && mOffToken != null) { in onDisplayChanged()187 mOffToken.release(); in onDisplayChanged()188 mOffToken = null; in onDisplayChanged()