Searched refs:requestState (Results 1 – 9 of 9) sorted by relevance
80 mMachine.requestState(INITIALIZED); in testInitialize_initializesParts()89 mMachine.requestState(INITIALIZED); in testInitialize_goesToDoze()99 mMachine.requestState(INITIALIZED); in testInitialize_goesToAod()108 mMachine.requestState(INITIALIZED); in testPulseDone_goesToDoze()110 mMachine.requestState(DOZE_PULSING); in testPulseDone_goesToDoze()112 mMachine.requestState(DOZE_PULSE_DONE); in testPulseDone_goesToDoze()121 mMachine.requestState(INITIALIZED); in testPulseDone_goesToAoD()123 mMachine.requestState(DOZE_PULSING); in testPulseDone_goesToAoD()125 mMachine.requestState(DOZE_PULSE_DONE); in testPulseDone_goesToAoD()133 mMachine.requestState(INITIALIZED); in testFinished_staysFinished()[all …]
151 verify(mMachine).requestState(eq(State.DOZE_AOD)); in testOnEvent_undockedWhenDozeAndEnabledAoD_requestDozeAoD()201 verify(mMachine).requestState(eq(State.DOZE)); in testTransitionToDozeAoD_whenDockedHide_requestDoze()
103 verify(mMachine, never()).requestState(any()); in testOnNotification_stillWorksAfterOneFailedProxCheck()
88 mDozeMachine.requestState(DozeMachine.State.INITIALIZED); in onDreamingStarted()98 mDozeMachine.requestState(DozeMachine.State.FINISH); in onDreamingStopped()122 mDozeMachine.requestState(DozeMachine.State.DOZE_AOD); in onRequestShowDoze()129 mDozeMachine.requestState(DozeMachine.State.DOZE); in onRequestHideDoze()
64 mMachine.requestState(State.DOZE); in transitionTo()124 mMachine.requestState(State.DOZE_AOD); in onEvent()132 mMachine.requestState(State.DOZE); in onEvent()
225 mMachine.requestState(DozeMachine.State.DOZE_AOD);228 mMachine.requestState(DozeMachine.State.DOZE_AOD_PAUSING);249 mMachine.requestState(DozeMachine.State.DOZE_AOD);260 mMachine.requestState(DozeMachine.State.DOZE);320 mMachine.requestState(DozeMachine.State.FINISH); in checkTriggersAtInit()332 mMachine.requestState(DozeMachine.State.DOZE_PULSING_BRIGHT); in requestPulse()469 mMachine.requestState(DozeMachine.State.FINISH);523 mMachine.requestState(DozeMachine.State.FINISH);
152 public void requestState(State requestedState) { in requestState() method in DozeMachine154 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState()163 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()166 private void requestState(State requestedState, int pulseReason) { in requestState() method in DozeMachine
97 mMachine.requestState( in pulseWhileDozing()110 mMachine.requestState(DozeMachine.State.DOZE_PULSE_DONE); in pulseWhileDozing()
54 mMachine.requestState(DozeMachine.State.DOZE_AOD_PAUSED); in onTimeout()