Home
last modified time | relevance | path

Searched refs:mScreenState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerState.java59 private int mScreenState; field in DisplayPowerState
85 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_OFF
310 if (mPhotonicModulator.setState(mScreenState, brightness)) {
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java382 int mScreenState = Display.STATE_UNKNOWN; field in BatteryStatsImpl
4058 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 …]
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp100 uint32_t AudioFlinger::mScreenState; member in android::AudioFlinger
1219 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()
1220 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()
DAudioFlinger.h428 static uint32_t mScreenState; variable
DThreads.cpp1663 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()
DThreads.h984 uint32_t mScreenState; // cached copy of gScreenState variable