Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DDisplayFoldDurationLogger.java47 private @ScreenState int mScreenState = SCREEN_STATE_UNKNOWN; field in DisplayFoldDurationLogger
58 mScreenState = SCREEN_STATE_UNKNOWN; in onFinishedWakingUp()
60 mScreenState = SCREEN_STATE_ON_FOLDED; in onFinishedWakingUp()
62 mScreenState = SCREEN_STATE_ON_UNFOLDED; in onFinishedWakingUp()
69 mScreenState = SCREEN_STATE_OFF; in onFinishedGoingToSleep()
80 mScreenState = folded ? SCREEN_STATE_ON_FOLDED : SCREEN_STATE_ON_UNFOLDED; in setDeviceFolded()
97 switch (mScreenState) { in log()
115 return mScreenState == SCREEN_STATE_ON_UNFOLDED || mScreenState == SCREEN_STATE_ON_FOLDED; in isOn()
/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.java40 private int mScreenState = SCREEN_OFF; field in ScreenLifecycle
47 return mScreenState; in getScreenState()
73 pw.println(" mScreenState=" + mScreenState); in dump()
77 mScreenState = screenState; in setScreenState()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMockBatteryStatsImpl.java73 return mScreenState; in getScreenState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java777 protected int mScreenState = Display.STATE_UNKNOWN; field in BatteryStatsImpl
4739 if (mScreenState != state) { in noteScreenStateLocked()
4741 final int oldState = mScreenState; in noteScreenStateLocked()
4742 mScreenState = state; in noteScreenStateLocked()
4828 if (mScreenState == Display.STATE_ON) { in noteScreenBrightnessLocked()
10449 if (isScreenOn(mScreenState)) { in resetAllStatsCmdLocked()
10453 } else if (isScreenDoze(mScreenState)) { in resetAllStatsCmdLocked()
10671 updateDischargeScreenLevelsLocked(mScreenState, mScreenState); in pullPendingStateUpdatesLocked()
12058 final int screenState = mScreenState; in setOnBatteryLocked()
12289 if (isScreenDoze(mScreenState)) { in setBatteryStateLocked()
[all …]
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp107 uint32_t AudioFlinger::mScreenState; member in android::AudioFlinger
1553 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()
1554 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()
DAudioFlinger.h448 static uint32_t mScreenState; variable
DThreads.cpp1823 mScreenState(AudioFlinger::mScreenState), in PlaybackThread()
2983 uint32_t screenState = AudioFlinger::mScreenState; in threadLoop_write()
2984 if (screenState != mScreenState) { in threadLoop_write()
2985 mScreenState = screenState; in threadLoop_write()
2988 pipe->setAvgFrames((mScreenState & 1) ? in threadLoop_write()
4301 monoPipe->setAvgFrames((mScreenState & 1) ? in MixerThread()
DThreads.h1177 uint32_t mScreenState; // cached copy of gScreenState variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt88875 Lcom/android/internal/os/BatteryStatsImpl;->mScreenState:I