Home
last modified time | relevance | path

Searched refs:requestPulse (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java110 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()
DDozeTriggersTest.java102 verify(mMachine, never()).requestPulse(anyInt()); in testOnNotification_stillWorksAfterOneFailedProxCheck()
112 verify(mMachine).requestPulse(anyInt()); in testOnNotification_stillWorksAfterOneFailedProxCheck()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java96 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 */);
DDozeMachine.java149 public void requestPulse(int pulseReason) { in requestPulse() method in DozeMachine