Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DMotionEventInjectorTest.java305 assertThat(mCaptor1.getAllValues().get(1), mIsClickUp); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected()
344 assertThat(mCaptor1.getAllValues().get(2), mIsLineEnd); in testOnMotionEvents_fromMouseWithInjectedGestureInProgress_shouldNotCancelAndPassReal()
433 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes()
473 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes()
506 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes()
546 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes()
574 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_nonContinuingGestureArrivesDuringDispatch_gestureCanceled()
593 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_nonContinuingGestureArrivesAfterDispatch_gestureCanceled()
615 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_misMatchedContinuationArrives_bothGesturesCanceled()
633 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesFromOtherService_bothGesturesCanceled()
[all …]
H A DAccessibilityInputFilterTest.java102 private EventCaptor mCaptor1; field in AccessibilityInputFilterTest
268 mCaptor1 = new EventCaptor(); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
277 assertEquals(1, mCaptor1.mEvents.size()); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
288 mCaptor1 = new EventCaptor(); in testInputEvent_shouldClearEventsForDisplayEventHandlers()
293 assertEquals(2, mCaptor1.mEvents.size()); in testInputEvent_shouldClearEventsForDisplayEventHandlers()
298 assertEquals(1, mCaptor1.mEvents.size()); in testInputEvent_shouldClearEventsForDisplayEventHandlers()
309 mCaptor1 = new EventCaptor(); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers()
322 assertEquals(2, mCaptor1.mEvents.size()); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers()
330 mCaptor1 = new EventCaptor(); in testInputEvent_shouldNotClearEventsForOtherDisplayAfterOnDisplayAdded()
335 assertEquals(2, mCaptor1.mEvents.size()); in testInputEvent_shouldNotClearEventsForOtherDisplayAfterOnDisplayAdded()
[all …]