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.java1242 final boolean isOff = (state == Display.STATE_OFF); in setScreenState()
1247 if (isOff && !mScreenOffBecauseOfProximity) { in setScreenState()
1279 if (isOff && mReportedScreenStateToPolicy != REPORTED_TO_POLICY_SCREEN_OFF in setScreenState()
1284 } else if (!isOff in setScreenState()
1293 if (!isOff && mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_OFF) { in setScreenState()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1566 bool isOff = (screenState == AudioParameter::valueOff); in setParameters() local
1567 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()
1568 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()