Lines Matching refs:PowerHalController
29 using android::power::PowerHalController;
44 static void runBenchmark(benchmark::State& state, HalResult<T> (PowerHalController::*fn)(Args0...), in runBenchmark()
47 PowerHalController controller; in runBenchmark()
57 HalResult<T> (PowerHalController::*fn)(Args0...), Args1&&... args1) { in runCachedBenchmark()
58 PowerHalController controller; in runCachedBenchmark()
76 PowerHalController controller; in BM_PowerHalControllerBenchmarks_init()
82 PowerHalController controller; in BM_PowerHalControllerBenchmarks_initCached()
93 runBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoost()
98 runCachedBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoostCached()
103 runBenchmark(state, &PowerHalController::setMode, mode, false); in BM_PowerHalControllerBenchmarks_setMode()
108 runCachedBenchmark(state, &PowerHalController::setMode, mode, false); in BM_PowerHalControllerBenchmarks_setModeCached()