Searched refs:addBenchmark (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 40 void addBenchmark(CharSequence name, Runnable thunk); in addBenchmark() method 61 benchmarks.addBenchmark("getInstalledApplications", () -> { in initializeBenchmarks() 65 benchmarks.addBenchmark("getInstalledPackages", () -> { in initializeBenchmarks() 69 benchmarks.addBenchmark("getPackageInfo", () -> { in initializeBenchmarks() 77 benchmarks.addBenchmark("getApplicationInfo", () -> { in initializeBenchmarks() 87 benchmarks.addBenchmark("getResourcesForApplication", () -> { in initializeBenchmarks() 95 benchmarks.addBenchmark("getPackagesForUid", () -> { in initializeBenchmarks() 103 benchmarks.addBenchmark("getActivityInfo", () -> { in initializeBenchmarks() 111 benchmarks.addBenchmark("getLaunchIntentForPackage", () -> { in initializeBenchmarks() 115 benchmarks.addBenchmark("getPackageUid", () -> { in initializeBenchmarks() [all …]
|
D | InitCheckOverheadBenchmarks.java | 106 benchmarks.addBenchmark("GC", () -> { in initializeBenchmarks() 110 benchmarks.addBenchmark("InitCheckFor (local)", () -> { in initializeBenchmarks() 114 benchmarks.addBenchmark("InitCheckFor (non-local)", () -> { in initializeBenchmarks() 118 benchmarks.addBenchmark("InitCheckForTwo (local)", () -> { in initializeBenchmarks() 122 benchmarks.addBenchmark("InitCheckForTwo (non-local)", () -> { in initializeBenchmarks() 126 benchmarks.addBenchmark("InitCheckDoWhile (local)", () -> { in initializeBenchmarks() 130 benchmarks.addBenchmark("InitCheckDoWhile (non-local)", () -> { in initializeBenchmarks()
|
D | CPUIntensiveBenchmarks.java | 73 benchmarks.addBenchmark("Use 1 thread", () -> { in initializeBenchmarks() 76 benchmarks.addBenchmark("Use 2 threads", () -> { in initializeBenchmarks() 79 benchmarks.addBenchmark("Use 4 threads", () -> { in initializeBenchmarks() 82 benchmarks.addBenchmark("Use 8 threads", () -> { in initializeBenchmarks() 85 benchmarks.addBenchmark("Use 16 threads", () -> { in initializeBenchmarks()
|
D | ApplicationBenchmarks.java | 27 benchmarks.addBenchmark("Complex Layout", () -> { in initializeBenchmarks() 31 benchmarks.addBenchmark("TextView List Layout", () -> { in initializeBenchmarks() 35 benchmarks.addBenchmark("FrameLayout List Layout", () -> { in initializeBenchmarks()
|
D | InteractiveMicrobenchmarkActivity.java | 36 addBenchmark("Empty", () -> { in onCreate() 68 public void addBenchmark(CharSequence name, Runnable thunk) { in addBenchmark() method in InteractiveMicrobenchmarkActivity
|