commit | 2b0e9ee4ac1dd395e2e68eb6ddb687da17491c60 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Mon Dec 27 13:55:16 2021 +0100 |
committer | Patrick Rohr <prohr@google.com> | Mon Dec 27 14:25:15 2021 +0100 |
tree | a50237817ea5884d28637d91acfb9ee273023d95 | |
parent | 81e149cd06b5fb62a8773ceb2bcccc4ba3b58647 [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