summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-12-14 22:07:23 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2023-12-15 18:37:53 +0000
commita8fe7c57932dcfe2dc38f72c2f8ba5d3b9e627f5 (patch)
tree3763fbe45a7110eb718aafc68b4b75ed6ded122a /libs/ultrahdr/jpegencoderhelper.cpp
parentb507b71cc52f9203657f221808eef04d58dd6398 (diff)
InputDispatcher_test: Use InputEvent::nextId() for all injected events
Input events are tracked through the pipeline using their event ID. There is an underlying assumption that each new event will have a different ID (apart from the small chance that there's a collission in the randomly-generated IDs). This assumption needs to be fulfilled for features like tracing and latency tracking to work as intended. Before adding tests to ensure all events are traced correctly in tests for InputDispatcher, we must uphold this assumption and use a new eventId for each injected event. Bug: 210460522 Test: atest inputflinger_tests Change-Id: Icbbd3eb6d62f9de1c9320207a4d6fa6070f2b30b
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions