summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2023-09-04 14:49:47 +0000
committer Harry Cutts <hcutts@google.com> 2023-09-11 15:27:38 +0000
commite5245548379993e16d20f3f2a8c69fb2b4fb5154 (patch)
tree45aff8222fd0475575fa3e66a2c68368ea4c96a0 /api/api_test.go
parente935b9e77f22d8a86a5fbb3c77b86764de042353 (diff)
MotionEvent: add test API to identify resampled events
The VirtualTouchscreenTest#sendTouchEvent CTS test injects input events and checks that they are delivered to an app correctly. However, we think that performance issues in the test device fleet sometimes cause these events to be delivered so slowly that they end up being resampled, causing the test's assertions to fail. Exposing this API allows the test to ignore resampled events. I can't just make the raw field visible (like the others are), as metalava complains if I do so. Bug: 292544797 Test: see the CTS CL Change-Id: I553d1daba65f1d9886cc778d4ac4bdccc29954b7
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions