summaryrefslogtreecommitdiff
path: root/sensors/aidl/default/Sensor.cpp
diff options
context:
space:
mode:
authorPatrick Rohr <prohr@google.com>2021-12-27 13:55:16 +0100
committerPatrick Rohr <prohr@google.com>2021-12-27 14:25:15 +0100
commit2b0e9ee4ac1dd395e2e68eb6ddb687da17491c60 (patch)
treea50237817ea5884d28637d91acfb9ee273023d95 /sensors/aidl/default/Sensor.cpp
parent81e149cd06b5fb62a8773ceb2bcccc4ba3b58647 (diff)
Fix time measurement in FilterDelayHintTest
The startTime needs to be set before setting the delayHint timeout as that is when the callback scheduler's clock start ticking. In addition, we need to await the first callback before starting the test to make sure the scheduler thread has been run at least once (so the timeout should be initialized correctly). Test: atest TunerFilterAidlTest#FilterDelayHintTest Bug: 210943300 Change-Id: I0b2443f3e7d33977fb6666ba09d3ff51d8b1f152
Diffstat (limited to 'sensors/aidl/default/Sensor.cpp')
0 files changed, 0 insertions, 0 deletions