summaryrefslogtreecommitdiff
path: root/libs/ui/DebugUtils.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2024-03-27 17:11:30 +0000
committer Lais Andrade <lsandrade@google.com> 2024-03-28 13:26:50 +0000
commit2c6b035a010e0bad27a84120a315f62d5ce031a1 (patch)
tree505208bcd9630dc29a08b9a853b82372f1870655 /libs/ui/DebugUtils.cpp
parentd8b0cc3f24abf065ee8d6ff002840e062ed7feac (diff)
Fix timeouts from libvibratorservice_benchmarks
Setup binder process thread pool for vibrator HAL benchmark tests to fix binder transaction errors of the type: E Vibrator: Failed completion callback: -129 This change also adds checks for HAL results, which will cause them to fail earlier with a useful error message when the device reaches a bad state. This should avoid timeout failures for the whole test suite. Other fixes: - Fix vibrator.on(ms) tests to use a max duration value - Use a smaller fixed # of iterations on tests that iterate on vibrate calls, and add wait for vibration to be complete to measure the HAL in a more stable state; Bug: 329175148 Test: atest libvibratorservice_benchmarks Change-Id: I93a39604b661152ebd60cee38bfc7ccd9ff832b6
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions