summaryrefslogtreecommitdiff
path: root/vibrator/aidl/vts/VtsHalVibratorManagerTargetTest.cpp
AgeCommit message (Collapse)Author
2022-09-21Fix VtsHalVibratorManagerTargetTest test failChase Wu
Adding the cancelSynced() once prepareSynced() was called and return ok. Fix: 247687286 Test: atest VtsHalVibratorManagerTargetTest Signed-off-by: Chase Wu <chasewu@google.com> Change-Id: I91e08e92cb8e1399eb6acdbedf95958fbf44c393
2021-06-11Fix vibrator VTS failure on older HAL versionsLais Andrade
Fix tests to expect STATUS_UNKNOWN_TRANSACTION as well as EX_UNSUPPORTED_OPERATION when the vibrator does not have a capability required for the method being tested. Older versions of the HAL will return that status code instead of unsupported, as explained at: https://source.android.com/devices/architecture/aidl/stable-aidl#versioning-interfaces Fix: 190526054 Test: VtsHalVibratorTargetTest & VtsHalVibratorManagerTargetTest Change-Id: I538843fbbdbf8353cd57f1c83392baeabdcbadd2
2020-11-16Introduce IVibratorManager.aidlLais Andrade
Introduce interface for vibrator manager HAL. A default implementation is made available to the existing android.hardware.vibrator-service.example, which now provides a top level devault IVibrator and a top level IVibratorManager with a different vibrator in it. VTS tests were also introduced for the new manager, and existing tests for IVibrator where changed to run in all top level and managed HAL instances found on a device. Bug: 166586119 Test: atest VtsHalVibratorTargetTest atest VtsHalVibratorManagerTargetTest Change-Id: Iec9175167e795bc03c4f3d873e2ac6682ed52512