platform_hardware_interfaces/vibrator
Lais Andrade 59a5d543b0 Fix binder transaction errors on vibrator benchmark tests
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 valid max duration value
  (previously failing with illegal argument);
- 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;
- Skip getSupportedAlwaysOnEffects on devices without capability;

Fix: 329239120
Bug: 329899022
Bug: 329203383
Test: atest VibratorHalIntegrationBenchmark
Change-Id: Id541a62745320a601934fd3f176f8ba42b5a7b2d
2024-03-20 13:54:13 +00:00
..
1.0 vibrator: clean OWNERS 2023-01-03 23:53:54 +00:00
1.1 vibrator: clean OWNERS 2023-01-03 23:53:54 +00:00
1.2 vibrator: clean OWNERS 2023-01-03 23:53:54 +00:00
1.3 vibrator: clean OWNERS 2023-01-03 23:53:54 +00:00
aidl Remove uses of std::rand() from vibrator VTS tests 2024-02-12 16:00:40 +00:00
bench Fix binder transaction errors on vibrator benchmark tests 2024-03-20 13:54:13 +00:00
OWNERS Update haptics framework owners file 2023-10-09 11:55:22 +00:00