Searched refs:mScreenState (Results 1 – 6 of 6) sorted by relevance
64 private int mScreenState; field in DisplayPowerState91 mScreenState = Display.STATE_ON; in DisplayPowerState()130 if (mScreenState != state) { in setScreenState()135 mScreenState = state; in setScreenState()145 return mScreenState; in getScreenState()160 if (mScreenState != Display.STATE_OFF) { in setScreenBrightness()224 if (mScreenState != Display.STATE_OFF) { in setColorFadeLevel()261 pw.println(" mScreenState=" + Display.stateToString(mScreenState)); in dump()307 int brightness = mScreenState != Display.STATE_OFF309 if (mPhotonicModulator.setState(mScreenState, brightness)) {
253 int mScreenState = Display.STATE_UNKNOWN; field in BatteryStatsImpl3021 if (mScreenState != state) { in noteScreenStateLocked()3022 final int oldState = mScreenState; in noteScreenStateLocked()3023 mScreenState = state; in noteScreenStateLocked()3102 if (mScreenState == Display.STATE_ON) { in noteScreenBrightnessLocked()6639 return mScreenState == Display.STATE_ON; in isScreenOn()6679 if (mScreenState == Display.STATE_ON) { in resetAllStatsCmdLocked()6811 final boolean screenOn = mScreenState == Display.STATE_ON; in pullPendingStateUpdatesLocked()6825 final boolean screenOn = mScreenState == Display.STATE_ON; in setOnBatteryLocked()7493 if (mOnBattery && mScreenState == Display.STATE_ON in getDischargeAmountScreenOn()[all …]
90 uint32_t AudioFlinger::mScreenState; member in android::AudioFlinger1057 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()1058 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()
1197 mScreenState(AudioFlinger::mScreenState), in PlaybackThread()2124 uint32_t screenState = AudioFlinger::mScreenState; in threadLoop_write()2125 if (screenState != mScreenState) { in threadLoop_write()2126 mScreenState = screenState; in threadLoop_write()2129 pipe->setAvgFrames((mScreenState & 1) ? in threadLoop_write()2855 monoPipe->setAvgFrames((mScreenState & 1) ? in MixerThread()
383 static uint32_t mScreenState; variable
804 uint32_t mScreenState; // cached copy of gScreenState variable