Searched refs:getPulseReason (Results 1 – 5 of 5) sorted by relevance
115 when(mMachine.getPulseReason()).thenReturn(DozeLog.PULSE_REASON_DOCKING); in testOnEvent_dockedHideWhenPulsing_requestPulseOut()126 when(mMachine.getPulseReason()).thenReturn(DozeLog.PULSE_REASON_DOCKING); in testOnEvent_undockedWhenPulsing_requestPulseOut()208 when(mMachine.getPulseReason()).thenReturn(DozeLog.PULSE_REASON_DOCKING); in testTransitionToPulsing_whenDockedHide_requestPulseOut()
243 assertEquals(DozeLog.REASON_SENSOR_DOUBLE_TAP, mMachine.getPulseReason()); in testPulseReason_getMatchesRequest()255 assertEquals(DozeLog.PULSE_REASON_NOTIFICATION, mMachine.getPulseReason()); in testPulseReason_getFromTransition()
93 final int pulseReason = mMachine.getPulseReason(); in requestPulseOutNow()
140 pulseWhileDozing(mMachine.getPulseReason()); in transitionTo()
216 public int getPulseReason() { in getPulseReason() method in DozeMachine