Add CTS test for View::onTouchEventListener

We currently don't have coverage for the API onTouchEventListener. Add
the CTS test here, and ensure that MotionEvents received by the listener
actually match in basic parameters like action, sources, and times.

The test passes on both Pixel 1 and Xiaomi Mi 5. The test has not been
tried on Xiaomi Mi 6.

Bug: 131769336
Test: m CtsViewTestCases && cts-tradefed run cts -m CtsViewTestCases -t
android.view.cts.ViewTest

Merged-In: I3c70a89bac9fb6bd8f4b6a2a4b358429ef1ab546
Change-Id: I3c70a89bac9fb6bd8f4b6a2a4b358429ef1ab546
1 file changed