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
Loading
Please register or sign in to comment