commit | 10d9dc7a52a84059451963e2f8c6308a509f188d | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Wed May 20 12:00:49 2020 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Thu Jun 18 11:45:33 2020 +0000 |
tree | 66594321a9912141a628ace9d60fcfe94a4f2e7a | |
parent | 928b139f5430ff8c7e70cc3d62278729df6d0ce9 [diff] |
Create CallbackScheduler for Vibrator HAL callbacks This scheduler keeps a single thread looping and executing callbacks after a delay. This mechanism is used to simulate the callbacks that some Vibrator HALs do not support. Bug: 153418251 Test: atest libvibratorservice_test Change-Id: If19481dfe2eca662d33738a11257bd4509fe81ca