diff options
| author | 2024-02-23 19:07:49 +0000 | |
|---|---|---|
| committer | 2024-02-26 17:18:42 +0000 | |
| commit | 35d80c544fe3e0101057db98ce6b50fc15f388ef (patch) | |
| tree | e7fbc05226d9a52f7da7f20e17751ddcc4cb0600 /libs/androidfw/ZipFileRO.cpp | |
| parent | 5234b842a10b56f464cce97ed9a06574c4e7f039 (diff) | |
Fix VibratorManagerService cleanup for repeating/long effects
- Update VibratorManagerService to cancel pending vibrations from the
tear down method to prevent failing tests to skip cleanup. Also add
the configured ramp down duration to the cleanup timeout.
- Fix flaky assertions on noteVibratorOn calls by ensuring the test has
finished the first vibrate step before asserting on the IBatteryStats
mock.
- Remove uses of CLEANUP_TIMEOUT_MILLIS from tests.
- Add request callback to FakeVibratorController to reduce test latency
while waiting for vibration params.
Bug: 300415728
Bug: 300416616
Bug: 300419180
Test: atest --rerun-until-failure 1000 VibratorManagerServiceTest
Change-Id: Ie2b179243a617f74e6ad8852ab87503e0a26b96d
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions