Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerState.java61 private int mScreenState; field in DisplayPowerState
87 mScreenState = Display.STATE_ON; in DisplayPowerState()
126 if (mScreenState != state) { in setScreenState()
131 mScreenState = state; in setScreenState()
141 return mScreenState; in getScreenState()
156 if (mScreenState != Display.STATE_OFF) { in setScreenBrightness()
228 if (mScreenState != Display.STATE_OFF) { in setColorFadeLevel()
265 pw.println(" mScreenState=" + Display.stateToString(mScreenState)); in dump()
311 int brightness = mScreenState != Display.STATE_OFF
313 if (mPhotonicModulator.setState(mScreenState, brightness)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DScreenLifecycle.java36 private int mScreenState = SCREEN_OFF; field in ScreenLifecycle
39 return mScreenState; in getScreenState()
65 pw.println(" mScreenState=" + mScreenState); in dump()
69 mScreenState = screenState; in setScreenState()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMockBatteryStatsImpl.java49 return mScreenState; in getScreenState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java423 protected int mScreenState = Display.STATE_UNKNOWN; field in BatteryStatsImpl
4178 if (mScreenState != state) { in noteScreenStateLocked()
4180 final int oldState = mScreenState; in noteScreenStateLocked()
4181 mScreenState = state; in noteScreenStateLocked()
4264 if (mScreenState == Display.STATE_ON) { in noteScreenBrightnessLocked()
9496 if (isScreenOn(mScreenState)) { in resetAllStatsCmdLocked()
9500 } else if (isScreenDoze(mScreenState)) { in resetAllStatsCmdLocked()
9704 updateDischargeScreenLevelsLocked(mScreenState, mScreenState); in pullPendingStateUpdatesLocked()
10768 final int screenState = mScreenState; in setOnBatteryLocked()
10993 if (isScreenDoze(mScreenState)) { in setBatteryStateLocked()
[all …]
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp99 uint32_t AudioFlinger::mScreenState; member in android::AudioFlinger
1210 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()
1211 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()
DAudioFlinger.h432 static uint32_t mScreenState; variable
DThreads.cpp1668 mScreenState(AudioFlinger::mScreenState), in PlaybackThread()
2652 uint32_t screenState = AudioFlinger::mScreenState; in threadLoop_write()
2653 if (screenState != mScreenState) { in threadLoop_write()
2654 mScreenState = screenState; in threadLoop_write()
2657 pipe->setAvgFrames((mScreenState & 1) ? in threadLoop_write()
3685 monoPipe->setAvgFrames((mScreenState & 1) ? in MixerThread()
DThreads.h986 uint32_t mScreenState; // cached copy of gScreenState variable