commit | a71d4edb3fe7acbe31f3273efdff3ad471ed6bb4 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Fri Feb 09 21:40:12 2024 +0000 |
committer | Adrian Roos <roosa@google.com> | Fri Feb 09 21:40:12 2024 +0000 |
tree | a6765475b0b3baea0b457376c43ec2a7dc8f2388 | |
parent | 427e333041183a32f306d945f05b31e65414614a [diff] |
vibratorservice: Fix broken benchmarks Fixes an issue with the benchmarks, where they would skip unsupported situations by early returning without reaching the measure loop and without notifying the framework. The framework would then retry the exact same scenario indefinitely. To fix, makes sure every early return also calls SkipWithMessage. Fixes: 279134938 Test: adb shell /tmp/VibratorHalControllerBenchmarks --v=2 Change-Id: If7f92816133bf3d03a5915b6f077eb961d55cf75