Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4747 int stepState = state-1; in noteScreenStateLocked() local
4748 if ((stepState & STEP_LEVEL_MODE_SCREEN_STATE) == stepState) { in noteScreenStateLocked()
4749 mModStepMode |= (mCurStepMode & STEP_LEVEL_MODE_SCREEN_STATE) ^ stepState; in noteScreenStateLocked()
4750 mCurStepMode = (mCurStepMode & ~STEP_LEVEL_MODE_SCREEN_STATE) | stepState; in noteScreenStateLocked()
4932 int stepState = enabled ? STEP_LEVEL_MODE_POWER_SAVE : 0; in notePowerSaveModeLocked() local
4933 mModStepMode |= (mCurStepMode&STEP_LEVEL_MODE_POWER_SAVE) ^ stepState; in notePowerSaveModeLocked()
4934 mCurStepMode = (mCurStepMode&~STEP_LEVEL_MODE_POWER_SAVE) | stepState; in notePowerSaveModeLocked()
4984 int stepState = nowIdling ? STEP_LEVEL_MODE_DEVICE_IDLE : 0; in noteDeviceIdleModeLocked() local
4985 mModStepMode |= (mCurStepMode&STEP_LEVEL_MODE_DEVICE_IDLE) ^ stepState; in noteDeviceIdleModeLocked()
4986 mCurStepMode = (mCurStepMode&~STEP_LEVEL_MODE_DEVICE_IDLE) | stepState; in noteDeviceIdleModeLocked()