Searched refs:requestPulse (Results 1 – 4 of 4) sorted by relevance
110 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToDoze()123 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToAoD()167 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_heldInPulseStates()190 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_releasedAfterPulse()202 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDuringPulse_doesntCrash()204 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDuringPulse_doesntCrash()213 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testSuppressingPulse_doesntCrash()226 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testTransitions_canRequestTransitions()235 mMachine.requestPulse(DozeLog.PULSE_REASON_SENSOR_DOUBLE_TAP); in testPulseReason_getMatchesRequest()257 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseReason_getFromTransition()
102 verify(mMachine, never()).requestPulse(anyInt()); in testOnNotification_stillWorksAfterOneFailedProxCheck()112 verify(mMachine).requestPulse(anyInt()); in testOnNotification_stillWorksAfterOneFailedProxCheck()
96 requestPulse(DozeLog.PULSE_REASON_NOTIFICATION, false /* performedProxCheck */); in onNotification()101 requestPulse(DozeLog.PULSE_REASON_NOTIFICATION, false /* performedProxCheck */); in onWhisper()147 requestPulse(pulseReason, sensorPerformedProxCheck); in onSensor()224 private void requestPulse(final int reason, boolean performedProxCheck) {259 mMachine.requestPulse(reason); in continuePulseRequest()353 requestPulse(DozeLog.PULSE_REASON_INTENT, false /* performedProxCheck */);
149 public void requestPulse(int pulseReason) { in requestPulse() method in DozeMachine