summaryrefslogtreecommitdiff
path: root/vibrator/aidl/default/VibratorManager.cpp
AgeCommit message (Collapse)Author
2022-06-01Use a shared ref for Vibrator when passed to a worker thread.Simon Bowden
To try to protect against this easy mistake, I removed the implicit capture from thread lambdas. Bug: 228523213 Test: atest Change-Id: I8fa37dacb4acf89848a8b17db8db317a988809d4
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