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.cpp1143 bool isOff = screenState == "off"; in setParameters() local
1144 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()
1145 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()