Loading tools/perf/benchmarks +2 −2 Original line number Diff line number Diff line Loading @@ -886,7 +886,7 @@ benchmarks: ), Benchmark(id="systemui_pod_api", title="Add an API to a SystemUI pod", change=Modify("frameworks/base/packages/SystemUI/pods/com/android/systemui/util/time/SystemClock.java", change=Modify("frameworks/base/packages/SystemUI/pods/src/com/android/systemui/util/time/SystemClock.java", lambda: f'default long benchmarkMillis() {{ return 0; }}\n', before="long uptimeMillis();"), modules=["SystemUI-application"], Loading @@ -895,7 +895,7 @@ benchmarks: ), Benchmark(id="systemui_pod_impl", title="Modify an internal implementation of a SystemUI pod", change=Modify("frameworks/base/packages/SystemUI/pods/com/android/systemui/util/time/impl/SystemClockImpl.java", change=Modify("frameworks/base/packages/SystemUI/pods/src/com/android/systemui/util/time/impl/SystemClockImpl.java", lambda: f'android.util.Log.v("SystemClockImpl", "BENCHMARK = {random.randint(0, 1000000)}");\n', before="return android.os.SystemClock.uptimeMillis();"), modules=["SystemUI-application"], Loading Loading
tools/perf/benchmarks +2 −2 Original line number Diff line number Diff line Loading @@ -886,7 +886,7 @@ benchmarks: ), Benchmark(id="systemui_pod_api", title="Add an API to a SystemUI pod", change=Modify("frameworks/base/packages/SystemUI/pods/com/android/systemui/util/time/SystemClock.java", change=Modify("frameworks/base/packages/SystemUI/pods/src/com/android/systemui/util/time/SystemClock.java", lambda: f'default long benchmarkMillis() {{ return 0; }}\n', before="long uptimeMillis();"), modules=["SystemUI-application"], Loading @@ -895,7 +895,7 @@ benchmarks: ), Benchmark(id="systemui_pod_impl", title="Modify an internal implementation of a SystemUI pod", change=Modify("frameworks/base/packages/SystemUI/pods/com/android/systemui/util/time/impl/SystemClockImpl.java", change=Modify("frameworks/base/packages/SystemUI/pods/src/com/android/systemui/util/time/impl/SystemClockImpl.java", lambda: f'android.util.Log.v("SystemClockImpl", "BENCHMARK = {random.randint(0, 1000000)}");\n', before="return android.os.SystemClock.uptimeMillis();"), modules=["SystemUI-application"], Loading