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.java4744 int stepState = state-1; in noteScreenStateLocked() local
4745 if ((stepState & STEP_LEVEL_MODE_SCREEN_STATE) == stepState) { in noteScreenStateLocked()
4746 mModStepMode |= (mCurStepMode & STEP_LEVEL_MODE_SCREEN_STATE) ^ stepState; in noteScreenStateLocked()
4747 mCurStepMode = (mCurStepMode & ~STEP_LEVEL_MODE_SCREEN_STATE) | stepState; in noteScreenStateLocked()
4929 int stepState = enabled ? STEP_LEVEL_MODE_POWER_SAVE : 0; in notePowerSaveModeLocked() local
4930 mModStepMode |= (mCurStepMode&STEP_LEVEL_MODE_POWER_SAVE) ^ stepState; in notePowerSaveModeLocked()
4931 mCurStepMode = (mCurStepMode&~STEP_LEVEL_MODE_POWER_SAVE) | stepState; in notePowerSaveModeLocked()
4981 int stepState = nowIdling ? STEP_LEVEL_MODE_DEVICE_IDLE : 0; in noteDeviceIdleModeLocked() local
4982 mModStepMode |= (mCurStepMode&STEP_LEVEL_MODE_DEVICE_IDLE) ^ stepState; in noteDeviceIdleModeLocked()
4983 mCurStepMode = (mCurStepMode&~STEP_LEVEL_MODE_DEVICE_IDLE) | stepState; in noteDeviceIdleModeLocked()