Searched refs:mScreenState (Results 1 – 6 of 6) sorted by relevance
59 private int mScreenState; field in DisplayPowerState85 mScreenState = Display.STATE_ON; in DisplayPowerState()124 if (mScreenState != state) { in setScreenState()129 mScreenState = state; in setScreenState()139 return mScreenState; in getScreenState()154 if (mScreenState != Display.STATE_OFF) { in setScreenBrightness()225 if (mScreenState != Display.STATE_OFF) { in setColorFadeLevel()262 pw.println(" mScreenState=" + Display.stateToString(mScreenState)); in dump()308 int brightness = mScreenState != Display.STATE_OFF310 if (mPhotonicModulator.setState(mScreenState, brightness)) {
382 int mScreenState = Display.STATE_UNKNOWN; field in BatteryStatsImpl4058 if (mScreenState != state) { in noteScreenStateLocked()4060 final int oldState = mScreenState; in noteScreenStateLocked()4061 mScreenState = state; in noteScreenStateLocked()4140 if (mScreenState == Display.STATE_ON) { in noteScreenBrightnessLocked()9215 return mScreenState == Display.STATE_ON; in isScreenOn()9255 if (mScreenState == Display.STATE_ON) { in resetAllStatsCmdLocked()9422 final boolean screenOn = mScreenState == Display.STATE_ON; in pullPendingStateUpdatesLocked()10397 final boolean screenOn = mScreenState == Display.STATE_ON; in setOnBatteryLocked()10968 if (mOnBattery && mScreenState == Display.STATE_ON in getDischargeAmountScreenOn()[all …]
100 uint32_t AudioFlinger::mScreenState; member in android::AudioFlinger1219 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()1220 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()
428 static uint32_t mScreenState; variable
1663 mScreenState(AudioFlinger::mScreenState), in PlaybackThread()2648 uint32_t screenState = AudioFlinger::mScreenState; in threadLoop_write()2649 if (screenState != mScreenState) { in threadLoop_write()2650 mScreenState = screenState; in threadLoop_write()2653 pipe->setAvgFrames((mScreenState & 1) ? in threadLoop_write()3682 monoPipe->setAvgFrames((mScreenState & 1) ? in MixerThread()
984 uint32_t mScreenState; // cached copy of gScreenState variable