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.java211 int batterySaverState, int interactiveState, int dozeState, int plugState) { in statesToIndex() argument
213 ret |= (interactiveState & InteractiveState.MASK) << InteractiveState.SHIFT; in statesToIndex()
252 private Stat getStat(int batterySaverState, int interactiveState, int dozeState, in getStat() argument
254 return getStat(statesToIndex(batterySaverState, interactiveState, dozeState, plugState)); in getStat()
283 void transitionState(int batterySaverState, int interactiveState, int dozeState, in transitionState() argument
287 batterySaverState, interactiveState, dozeState, plugState); in transitionState()
480 int interactiveState, String interactiveLabel, in dumpLineLocked() argument
487 final Stat offStat = getStat(BatterySaverState.OFF, interactiveState, dozeState, in dumpLineLocked()
489 final Stat onStat = getStat(BatterySaverState.ON, interactiveState, dozeState, in dumpLineLocked()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java94 public int interactiveState; field in KeyguardServiceDelegate.KeyguardState
197 if (mKeyguardState.interactiveState == INTERACTIVE_STATE_AWAKE
198 || mKeyguardState.interactiveState == INTERACTIVE_STATE_WAKING) {
202 if (mKeyguardState.interactiveState == INTERACTIVE_STATE_AWAKE) {
326 mKeyguardState.interactiveState = INTERACTIVE_STATE_WAKING; in onStartedWakingUp()
334 mKeyguardState.interactiveState = INTERACTIVE_STATE_AWAKE; in onFinishedWakingUp()
381 mKeyguardState.interactiveState = INTERACTIVE_STATE_GOING_TO_SLEEP; in onStartedGoingToSleep()
389 mKeyguardState.interactiveState = INTERACTIVE_STATE_SLEEP; in onFinishedGoingToSleep()
471 proto.write(INTERACTIVE_STATE, mKeyguardState.interactiveState); in dumpDebug()
492 interactiveStateToString(mKeyguardState.interactiveState)); in dump()