Searched refs:mCaptor2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 136 ArgumentCaptor<MotionEvent> mCaptor2 = ArgumentCaptor.forClass(MotionEvent.class); field in MotionEventInjectorTest 205 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(expectedFlags)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 270 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected() 291 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected() 303 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected() 309 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), in testInjectEvents_withRealGestureFinished_shouldJustPassInjected() 324 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassReal() 341 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_fromMouseWithInjectedGestureInProgress_shouldNotCancelAndPassReal() 368 verify(next, times(4)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal() 388 verify(next, times(3)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassNew() [all …]
|
D | AccessibilityInputFilterTest.java | 103 private EventCaptor mCaptor2; field in AccessibilityInputFilterTest 268 mCaptor2 = new EventCaptor(); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 270 mEventHandler.put(SECOND_DISPLAY, mCaptor2); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 277 assertEquals(1, mCaptor2.mEvents.size()); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 309 mCaptor2 = new EventCaptor(); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers() 311 mEventHandler.put(SECOND_DISPLAY, mCaptor2); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers()
|