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.java81 private void requestPulse(State dozeState) { in requestPulse() argument
82 if (mDozeHost.isPulsingBlocked() || !dozeState.canPulse()) { in requestPulse()
89 private void requestPulseOutNow(State dozeState) { in requestPulseOutNow() argument
90 if (dozeState == State.DOZE_REQUEST_PULSE || dozeState == State.DOZE_PULSING in requestPulseOutNow()
91 || dozeState == State.DOZE_PULSING_BRIGHT) { in requestPulseOutNow()
115 final DozeMachine.State dozeState = mMachine.getState(); in onEvent() local
119 requestPulse(dozeState); in onEvent()
122 if (dozeState == State.DOZE in onEvent()
127 requestPulseOutNow(dozeState); in onEvent()
131 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()