Searched refs:mScreenState (Results 1 – 10 of 10) sorted by relevance
47 private @ScreenState int mScreenState = SCREEN_STATE_UNKNOWN; field in DisplayFoldDurationLogger58 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()
61 private int mScreenState; field in DisplayPowerState87 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_OFF313 if (mPhotonicModulator.setState(mScreenState, brightness)) {
40 private int mScreenState = SCREEN_OFF; field in ScreenLifecycle47 return mScreenState; in getScreenState()73 pw.println(" mScreenState=" + mScreenState); in dump()77 mScreenState = screenState; in setScreenState()
73 return mScreenState; in getScreenState()
777 protected int mScreenState = Display.STATE_UNKNOWN; field in BatteryStatsImpl4739 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 …]
107 uint32_t AudioFlinger::mScreenState; member in android::AudioFlinger1553 if (isOff != (AudioFlinger::mScreenState & 1)) { in setParameters()1554 AudioFlinger::mScreenState = ((AudioFlinger::mScreenState & ~1) + 2) | isOff; in setParameters()
448 static uint32_t mScreenState; variable
1823 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()
1177 uint32_t mScreenState; // cached copy of gScreenState variable
88875 Lcom/android/internal/os/BatteryStatsImpl;->mScreenState:I