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.java1216 final boolean isOff = (state == Display.STATE_OFF);
1221 if (isOff && !mScreenOffBecauseOfProximity) {
1251 if (isOff && mReportedScreenStateToPolicy != REPORTED_TO_POLICY_SCREEN_OFF
1256 } else if (!isOff
1265 if (!isOff && mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_OFF) {
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1552 bool isOff = (screenState == AudioParameter::valueOff); in setParameters() local
1553 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()
1554 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()