Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java83 private void requestPulse(State dozeState) { in requestPulse() argument
84 if (!mDozeHost.isPulsingBlocked() && dozeState.canPulse()) { in requestPulse()
90 private void requestPulseOutNow(State dozeState) { in requestPulseOutNow() argument
91 if (dozeState == State.DOZE_REQUEST_PULSE || dozeState == State.DOZE_PULSING in requestPulseOutNow()
92 || dozeState == State.DOZE_PULSING_BRIGHT) { in requestPulseOutNow()
116 final DozeMachine.State dozeState = mMachine.getState(); in onEvent() local
120 requestPulse(dozeState); in onEvent()
123 if (dozeState == State.DOZE in onEvent()
128 requestPulseOutNow(dozeState); in onEvent()
132 if (dozeState == State.DOZE_AOD) { in onEvent()
[all …]
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java192 int batterySaverState, int interactiveState, int dozeState) { in statesToIndex() argument
195 ret |= (dozeState & DozeState.MASK) << DozeState.SHIFT; in statesToIndex()
233 private Stat getStat(int batterySaverState, int interactiveState, int dozeState) { in getStat() argument
234 return getStat(statesToIndex(batterySaverState, interactiveState, dozeState)); in getStat()
264 public void transitionState(int batterySaverState, int interactiveState, int dozeState) { in transitionState() argument
267 batterySaverState, interactiveState, dozeState); in transitionState()
432 int dozeState, String dozeLabel) { in dumpLineLocked() argument
439 final Stat offStat = getStat(BatterySaverState.OFF, interactiveState, dozeState); in dumpLineLocked()
440 final Stat onStat = getStat(BatterySaverState.ON, interactiveState, dozeState); in dumpLineLocked()