Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 429760be authored by Lais Andrade's avatar Lais Andrade
Browse files

Introduce HalVibratorHelper for tests

Move fake VibratorController test helper to new class that can provide
an HalVibrator implementation for testing, in preparation for new
implementation.

Extract VibratorController unit tests to run against HalVibrator
interface, so same tests can be reused by new implementation.

All tests were preserved by this change.

Bug: 421428555
Flag: android.os.vibrator.remove_hidl_support
Test: FrameworksVibratorServicesTests
Change-Id: I56afcb542aace24bbe95345bec9587cd10135150
parent ba55b9ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment