Home
last modified time | relevance | path

Searched refs:runBenchmark (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/powermanager/benchmarks/
DPowerHalHidlBenchmarks.cpp47 static void runBenchmark(benchmark::State& state, microseconds delay, Return<R> (I::*fn)(Args0...), in runBenchmark() function
69 runBenchmark(state, 0us, &IPower1_0::setFeature, Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE, in BM_PowerHalHidlBenchmarks_setFeature()
74 runBenchmark(state, 0us, &IPower1_0::setInteractive, false); in BM_PowerHalHidlBenchmarks_setInteractive()
79 runBenchmark(state, 0us, &IPower1_0::powerHint, powerHint, 0); in BM_PowerHalHidlBenchmarks_powerHint()
84 runBenchmark(state, ONEWAY_API_DELAY, &IPower1_1::powerHintAsync, powerHint, 0); in BM_PowerHalHidlBenchmarks_powerHintAsync()
DPowerHalAidlBenchmarks.cpp67 static void runBenchmark(benchmark::State& state, microseconds delay, R (IPower::*fn)(Args0...), in runBenchmark() function
142 runBenchmark(state, 0us, &IPower::isBoostSupported, boost, &isSupported); in BM_PowerHalAidlBenchmarks_isBoostSupported()
148 runBenchmark(state, 0us, &IPower::isModeSupported, mode, &isSupported); in BM_PowerHalAidlBenchmarks_isModeSupported()
153 runBenchmark(state, ONEWAY_API_DELAY, &IPower::setBoost, boost, 1); in BM_PowerHalAidlBenchmarks_setBoost()
158 runBenchmark(state, ONEWAY_API_DELAY, &IPower::setMode, mode, false); in BM_PowerHalAidlBenchmarks_setMode()
194 runBenchmark(state, 0us, &IPower::getHintSessionPreferredRate, &rate); in BM_PowerHalAidlBenchmarks_getHintSessionPreferredRate()
DPowerHalControllerBenchmarks.cpp44 static void runBenchmark(benchmark::State& state, HalResult<T> (PowerHalController::*fn)(Args0...), in runBenchmark() function
93 runBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoost()
103 runBenchmark(state, &PowerHalController::setMode, mode, false); in BM_PowerHalControllerBenchmarks_setMode()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java82 new TestWindow().runBenchmark(state); in testAddRemoveWindow()
100 void runBenchmark(ManualBenchmarkState state) throws RemoteException { in runBenchmark() method in WindowAddRemovePerfTest.TestWindow
DRelayoutPerfTest.java103 relayoutRunner.runBenchmark(state); in testRelayout()
161 void runBenchmark(BenchmarkState state) throws RemoteException { in runBenchmark() method in RelayoutPerfTest.RelayoutRunner
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java94 runBenchmark(); in run()
230 public void runBenchmark() throws Exception { in runBenchmark() method in Sm