Searched refs:interestedSource (Results 1 – 2 of 2) sorted by relevance
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | StubMotionInterceptingAccessibilityService.java | 72 int interestedSource, long timeoutMs) { in setAndAwaitMotionEventSources() argument 73 assertThat(canarySource).isNotEqualTo(interestedSource); in setAndAwaitMotionEventSources() 74 final int requestedSources = canarySource | interestedSource; in setAndAwaitMotionEventSources()
|
D | AccessibilityEndToEndTest.java | 2020 final int interestedSource = InputDevice.SOURCE_DPAD; in testOnMotionEvent_interceptsEventFromRequestedSource_SetAndUnset() local 2024 sUiAutomation, canarySource1, interestedSource, in testOnMotionEvent_interceptsEventFromRequestedSource_SetAndUnset() 2026 service.injectAndAwaitMotionEvent(sUiAutomation, interestedSource, in testOnMotionEvent_interceptsEventFromRequestedSource_SetAndUnset() 2037 assertThrows("Expected no event from source " + interestedSource, AssertionError.class, in testOnMotionEvent_interceptsEventFromRequestedSource_SetAndUnset() 2038 () -> service.injectAndAwaitMotionEvent(sUiAutomation, interestedSource, in testOnMotionEvent_interceptsEventFromRequestedSource_SetAndUnset() 2048 final int interestedSource = InputDevice.SOURCE_DPAD; in testOnMotionEvent_ignoresEventFromDifferentSource() local 2052 sUiAutomation, canarySource, interestedSource, in testOnMotionEvent_ignoresEventFromDifferentSource() 2064 final int interestedSource = InputDevice.SOURCE_TOUCHSCREEN; in testOnMotionEvent_ignoresTouchscreenEventWhenTouchExplorationEnabled() local 2071 sUiAutomation, canarySource, interestedSource, in testOnMotionEvent_ignoresTouchscreenEventWhenTouchExplorationEnabled() 2074 assertThrows("Expected no event from source " + interestedSource, AssertionError.class, in testOnMotionEvent_ignoresTouchscreenEventWhenTouchExplorationEnabled() [all …]
|