Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DStubMotionInterceptingAccessibilityService.java71 public void setAndAwaitMotionEventSources(UiAutomation uiAutomation, int canarySource, in setAndAwaitMotionEventSources() argument
73 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()
DAccessibilityEndToEndTest.java2047 final int canarySource = InputDevice.SOURCE_JOYSTICK; in testOnMotionEvent_ignoresEventFromDifferentSource() local
2052 sUiAutomation, canarySource, interestedSource, in testOnMotionEvent_ignoresEventFromDifferentSource()
2063 final int canarySource = InputDevice.SOURCE_JOYSTICK; in testOnMotionEvent_ignoresTouchscreenEventWhenTouchExplorationEnabled() local
2071 sUiAutomation, canarySource, interestedSource, in testOnMotionEvent_ignoresTouchscreenEventWhenTouchExplorationEnabled()