Searched refs:requestState (Results 1 – 6 of 6) sorted by relevance
81 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 …]
98 verify(mMachine, never()).requestState(any()); in testOnNotification_stillWorksAfterOneFailedProxCheck()
58 mDozeMachine.requestState(DozeMachine.State.INITIALIZED); in onDreamingStarted()65 mDozeMachine.requestState(DozeMachine.State.FINISH); in onDreamingStopped()
136 public void requestState(State requestedState) { in requestState() method in DozeMachine138 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
119 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);
65 mMachine.requestState(DozeMachine.State.DOZE_PULSING); in pulseWhileDozing()70 mMachine.requestState(DozeMachine.State.DOZE_PULSE_DONE); in pulseWhileDozing()