commit | d3fb627ee4e0e28ae83d12af0a0b4262152faea8 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Fri Dec 15 01:21:47 2023 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Tue Jan 30 21:21:45 2024 +0000 |
tree | 3ffc6b33b403e776824700646d161743736fdff6 | |
parent | adc59b449bf8c0f7e84afd04edb9073665436b3e [diff] |
InputDispatcher_test: Verify all consumed events are traced Introduce a test implementation of the tracing backend that tracks all of the logged events. Whenever an event is consumed by an input channel in any of the Dispatcher tests, we expect that event to have been logged into the trace. If a consumed event is not present in the trace, the test will fail. Bug: 210460522 Test: atest inputflinger_tests Change-Id: I3b19684c14334d9b2f455cee3b3cfad794a633c0