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.java64 private int mScreenState; field in DisplayPowerState
91 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_OFF
309 if (mPhotonicModulator.setState(mScreenState, brightness)) {
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java253 int mScreenState = Display.STATE_UNKNOWN; field in BatteryStatsImpl
3021 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 …]
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp90 uint32_t AudioFlinger::mScreenState; member in android::AudioFlinger
1057 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()
1058 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()
DThreads.cpp1197 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()
DAudioFlinger.h383 static uint32_t mScreenState; variable
DThreads.h804 uint32_t mScreenState; // cached copy of gScreenState variable