Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java192 int batterySaverState, int interactiveState, int dozeState) { in statesToIndex() argument
194 ret |= (interactiveState & InteractiveState.MASK) << InteractiveState.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()
431 int interactiveState, String interactiveLabel, 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()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java78 public int interactiveState; field in KeyguardServiceDelegate.KeyguardState
177 if (mKeyguardState.interactiveState == INTERACTIVE_STATE_AWAKE
178 || mKeyguardState.interactiveState == INTERACTIVE_STATE_WAKING) {
181 if (mKeyguardState.interactiveState == INTERACTIVE_STATE_AWAKE) {
299 mKeyguardState.interactiveState = INTERACTIVE_STATE_WAKING; in onStartedWakingUp()
307 mKeyguardState.interactiveState = INTERACTIVE_STATE_AWAKE; in onFinishedWakingUp()
353 mKeyguardState.interactiveState = INTERACTIVE_STATE_GOING_TO_SLEEP; in onStartedGoingToSleep()
360 mKeyguardState.interactiveState = INTERACTIVE_STATE_SLEEP; in onFinishedGoingToSleep()
422 proto.write(INTERACTIVE_STATE, mKeyguardState.interactiveState); in writeToProto()
444 interactiveStateToString(mKeyguardState.interactiveState)); in dump()