summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2020-07-14 12:27:44 +0000
committer Lais Andrade <lsandrade@google.com> 2020-07-29 14:44:35 +0000
commit14e97b774e31d2233488b8406be3d68ad7e69e43 (patch)
tree76d19f38e06d765c30c448ce44c3cc72c62a6be6 /libs/gui/SurfaceComposerClient.cpp
parent5896c6247111f2f0984f76e614bc53315c9a3825 (diff)
Fail Power HAL benchmarks on failed result
This cl adds ranges to benchmark tests to cover all existing power Boost, Mode and Hint values. It also fails the benchmark when a HAL result is fail, and skip AIDL unsupported operations. Checking the hardware::Return status prevents the benchmark execution crash, which was causing the json output to be clipped and unable to be parsed and uploaded to any metric dashboard. Also adding more error logs printing HAL result from within wrappers. Sample output: https://paste.googleplex.com/5185928966438912 Fix: b/160972434 Test: atest libpowermanager_benchmarks Change-Id: I63733baaf7d04428a9a5425a25c5ffe8c72249e1
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions