Searched refs:canarySource (Results 1 – 2 of 2) sorted by relevance
71 public void setAndAwaitMotionEventSources(UiAutomation uiAutomation, int canarySource, in setAndAwaitMotionEventSources() argument73 assertThat(canarySource).isNotEqualTo(interestedSource); in setAndAwaitMotionEventSources()74 final int requestedSources = canarySource | interestedSource; in setAndAwaitMotionEventSources()83 if (motionEvent.getSource() == canarySource) { in setAndAwaitMotionEventSources()92 final String errorMessage = "Expected canary event from source " + canarySource; in setAndAwaitMotionEventSources()94 uiAutomation.injectInputEventToInputFilter(createMotionEvent(canarySource)); in setAndAwaitMotionEventSources()
2047 final int canarySource = InputDevice.SOURCE_JOYSTICK; in testOnMotionEvent_ignoresEventFromDifferentSource() local2052 sUiAutomation, canarySource, interestedSource, in testOnMotionEvent_ignoresEventFromDifferentSource()2063 final int canarySource = InputDevice.SOURCE_JOYSTICK; in testOnMotionEvent_ignoresTouchscreenEventWhenTouchExplorationEnabled() local2071 sUiAutomation, canarySource, interestedSource, in testOnMotionEvent_ignoresTouchscreenEventWhenTouchExplorationEnabled()