Home
last modified time | relevance | path

Searched refs:isOff (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java806 final boolean isOff = (state == Display.STATE_OFF);
807 if (isOff && mReportedScreenStateToPolicy != REPORTED_TO_POLICY_SCREEN_OFF
812 } else if (!isOff && mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_OFF) {
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1146 bool isOff = screenState == "off"; in setParameters() local
1147 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()
1148 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()