diff options
author | 2025-01-14 10:14:41 -0800 | |
---|---|---|
committer | 2025-01-15 02:09:27 -0800 | |
commit | 63e4c30a4e99f352afaf15a4d861007ef00ace25 (patch) | |
tree | 15adf22a255d4490ecf1417a3f1b601652467da9 /libs/gui/DisplayEventDispatcher.cpp | |
parent | c09f9fa24c60880b92ed7b42a454824e559b2027 (diff) |
Fixes in power benchmarks
- Add support check before running PowerHalAidlBenchmarks for setBoost
and setMode, to avoid testing unsupported values and getting the HAL
in a bad state.
- Introduce loop breaks when a binder call fails, since SkipWithError
is not enough to end the loop early and might cause test timeout if
we try to interact with a HAL in a bad state.
- Move PauseTiming/ResumeTimings to wrap one-way call delays only, as
this API is expensive and should be used sparsely (and it's needed
there to avoid filling up the one-way binder queue).
- Make sure we close all sessions in createHintSession tests.
- Use ndk::enum_range in AIDL enums to cover all available boost and
mode values.
Fix: 351008375
Flag: EXEMPT test only
Change-Id: I6b277d60767f5928e397765b7dcabd709c4f8953
Test: libpowermanager_benchmarks
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions