commit | 2574dfa1fe4b83cda231a4f4ec4de3cb5f5109a5 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Wed Oct 16 16:35:07 2019 -0700 |
committer | Prabir Pradhan <prabirmsp@google.com> | Mon Oct 28 15:27:23 2019 -0700 |
tree | bff866cfcf0c6f095e151ca4b98b47fb4fd20255 | |
parent | 72f94e1d6f76913d9346b9b843e452ad237d6137 [diff] |
Make InputReader test components thread safe This changes all assert*() methods in the following classes to enable waiting for the assertion to be true: - FakeInputReaderPolicy - FakeEventHub - FakeInputMapper - TestInputListener This change should make InputReader robust to being run on another thread. Bug: 130819454 Test: atest inputflinger_tests # on crosshatch Change-Id: I9619109e3377eb706d71fb34d525bd3bdc4ef81a