Searched refs:isOff (Results 1 – 2 of 2) sorted by relevance
1242 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()
1566 bool isOff = (screenState == AudioParameter::valueOff); in setParameters() local1567 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()1568 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()