Lines Matching refs:addBenchmark
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()
123 benchmarks.addBenchmark("checkPermission", () -> { in initializeBenchmarks()
128 benchmarks.addBenchmark("checkSignatures", () -> { in initializeBenchmarks()
134 benchmarks.addBenchmark("queryBroadcastReceivers", () -> { in initializeBenchmarks()
138 benchmarks.addBenchmark("hasSystemFeature", () -> { in initializeBenchmarks()
142 benchmarks.addBenchmark("resolveService", () -> { in initializeBenchmarks()
147 benchmarks.addBenchmark("getRunningAppProcesses", () -> { in initializeBenchmarks()
155 benchmarks.addBenchmark("getPackageIntentForSender", () -> { in initializeBenchmarks()
161 benchmarks.addBenchmark("WakeLock Acquire/Release", () -> { in initializeBenchmarks()
168 benchmarks.addBenchmark("AppOpsService.checkOperation", () -> { in initializeBenchmarks()
172 benchmarks.addBenchmark("AppOpsService.checkPackage", () -> { in initializeBenchmarks()
176 benchmarks.addBenchmark("AppOpsService.noteOperation", () -> { in initializeBenchmarks()
180 benchmarks.addBenchmark("AppOpsService.noteProxyOperation", () -> { in initializeBenchmarks()
185 benchmarks.addBenchmark("isUserUnlocked", () -> { in initializeBenchmarks()
189 benchmarks.addBenchmark("getIntentSender", () -> { in initializeBenchmarks()
195 benchmarks.addBenchmark("getActiveNetworkInfo", () -> { in initializeBenchmarks()