summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventDispatcher.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2021-02-04 22:09:01 +0000
committer Siarhei Vishniakou <svv@google.com> 2021-02-08 22:35:27 +0000
commit370039c4685ecbd637ac39f68cb68c4347034a9e (patch)
tree0be8fc4f3906dd2c80508d7aecbd42017e405c91 /libs/gui/DisplayEventDispatcher.cpp
parent4cd01842d4b1ba10eed64fd947c03b53c4fe3105 (diff)
Allow multiple events to be processed in FakeEventHub
Currently, we are only allowing fake event hub to return a single input event during tests. That means, tests have to call 'loopOnce' for every event that is enqueued to fake event hub. The eventhub interface, however, does not have such a limitation. EventHubInterface allows up to 'bufferSize' events to be returned at each 'getEvents' call. Therefore, adjust FakeEventHub to use this interface in the full capacity. Bug: 169866723 Test: atest inputflinger_tests Change-Id: Icb4dd8fffea9bfef51861ab38ba529a814e7577f
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions