/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalHidlBenchmarks.cpp | 47 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()
|
D | PowerHalAidlBenchmarks.cpp | 67 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()
|
D | PowerHalControllerBenchmarks.cpp | 44 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/ |
D | WindowAddRemovePerfTest.java | 82 new TestWindow().runBenchmark(state); in testAddRemoveWindow() 100 void runBenchmark(ManualBenchmarkState state) throws RemoteException { in runBenchmark() method in WindowAddRemovePerfTest.TestWindow
|
D | RelayoutPerfTest.java | 103 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/ |
D | Sm.java | 94 runBenchmark(); in run() 230 public void runBenchmark() throws Exception { in runBenchmark() method in Sm
|