Home
last modified time | relevance | path

Searched refs:mCaptor2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java123 ArgumentCaptor<MotionEvent> mCaptor2 = ArgumentCaptor.forClass(MotionEvent.class); field in MotionEventInjectorTest
186 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
251 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
271 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected()
283 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected()
289 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected()
302 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassReal()
319 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_fromMouseWithInjectedGestureInProgress_shouldNotCancelAndPassReal()
346 verify(next, times(4)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal()
366 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassNew()
[all …]
DAccessibilityInputFilterTest.java88 private EventCaptor mCaptor2; field in AccessibilityInputFilterTest
210 mCaptor2 = new EventCaptor(); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
212 mEventHandler.put(SECOND_DISPLAY, mCaptor2); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
219 assertEquals(1, mCaptor2.mEvents.size()); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()