Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java2095 final int requestedSource = InputDevice.SOURCE_TOUCHSCREEN; in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() local
2098 service.setMotionEventSources(requestedSource); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2099 service.setObservedMotionEventSources(requestedSource); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2100 assertThat(service.getServiceInfo().getMotionEventSources()).isEqualTo(requestedSource); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2102 .isEqualTo(requestedSource); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2108 if (motionEvent.getSource() == requestedSource) { in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2184 final int requestedSource = InputDevice.SOURCE_TOUCHSCREEN; in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled() local
2187 service.setMotionEventSources(requestedSource); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()
2188 service.setObservedMotionEventSources(requestedSource); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()
2189 assertThat(service.getServiceInfo().getMotionEventSources()).isEqualTo(requestedSource); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()
[all …]