Home
last modified time | relevance | path

Searched refs:requestState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java81 mMachine.requestState(INITIALIZED); in testInitialize_initializesParts()
90 mMachine.requestState(INITIALIZED); in testInitialize_goesToDoze()
100 mMachine.requestState(INITIALIZED); in testInitialize_goesToAod()
109 mMachine.requestState(INITIALIZED); in testPulseDone_goesToDoze()
111 mMachine.requestState(DOZE_PULSING); in testPulseDone_goesToDoze()
113 mMachine.requestState(DOZE_PULSE_DONE); in testPulseDone_goesToDoze()
122 mMachine.requestState(INITIALIZED); in testPulseDone_goesToAoD()
124 mMachine.requestState(DOZE_PULSING); in testPulseDone_goesToAoD()
126 mMachine.requestState(DOZE_PULSE_DONE); in testPulseDone_goesToAoD()
134 mMachine.requestState(INITIALIZED); in testFinished_staysFinished()
[all …]
DDozeTriggersTest.java98 verify(mMachine, never()).requestState(any()); in testOnNotification_stillWorksAfterOneFailedProxCheck()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java58 mDozeMachine.requestState(DozeMachine.State.INITIALIZED); in onDreamingStarted()
65 mDozeMachine.requestState(DozeMachine.State.FINISH); in onDreamingStopped()
DDozeMachine.java136 public void requestState(State requestedState) { in requestState() method in DozeMachine
138 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState()
147 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
150 private void requestState(State requestedState, int pulseReason) { in requestState() method in DozeMachine
DDozeTriggers.java119 mMachine.requestState(DozeMachine.State.DOZE_PULSE_DONE);
123 mMachine.requestState(DozeMachine.State.DOZE_AOD);
126 mMachine.requestState(DozeMachine.State.DOZE_AOD_PAUSED);
131 mMachine.requestState(DozeMachine.State.FINISH);
135 mMachine.requestState(DozeMachine.State.FINISH);
DDozeUi.java65 mMachine.requestState(DozeMachine.State.DOZE_PULSING); in pulseWhileDozing()
70 mMachine.requestState(DozeMachine.State.DOZE_PULSE_DONE); in pulseWhileDozing()