1// Signature format: 4.0
2package androidx.benchmark.junit4 {
3
4  public class AndroidBenchmarkRunner extends androidx.test.runner.AndroidJUnitRunner {
5    ctor public AndroidBenchmarkRunner();
6  }
7
8  public final class BenchmarkRule implements org.junit.rules.TestRule {
9    ctor public BenchmarkRule();
10    ctor @SuppressCompatibility @androidx.benchmark.ExperimentalBenchmarkConfigApi public BenchmarkRule(androidx.benchmark.MicrobenchmarkConfig config);
11    method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description);
12    method public androidx.benchmark.BenchmarkState getState();
13  }
14
15  public final class BenchmarkRule.Scope {
16    method @kotlin.PublishedApi internal androidx.benchmark.BenchmarkState getOuterState();
17    method public inline <T> T runWithTimingDisabled(kotlin.jvm.functions.Function0<? extends T> block);
18  }
19
20  public final class BenchmarkRuleKt {
21    method public static inline void measureRepeated(androidx.benchmark.junit4.BenchmarkRule, kotlin.jvm.functions.Function1<? super androidx.benchmark.junit4.BenchmarkRule.Scope,kotlin.Unit> block);
22    method public static inline void measureRepeatedOnMainThread(androidx.benchmark.junit4.BenchmarkRule, kotlin.jvm.functions.Function1<? super androidx.benchmark.junit4.BenchmarkRule.Scope,kotlin.Unit> block);
23  }
24
25  @SuppressCompatibility @androidx.benchmark.perfetto.ExperimentalPerfettoCaptureApi public final class PerfettoTraceRule implements org.junit.rules.TestRule {
26    ctor public PerfettoTraceRule(optional boolean enableAppTagTracing, optional boolean enableUserspaceTracing, optional kotlin.jvm.functions.Function1<? super androidx.benchmark.perfetto.PerfettoTrace,kotlin.Unit>? traceCallback);
27    method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description);
28    method public boolean getEnableAppTagTracing();
29    method public boolean getEnableUserspaceTracing();
30    method public kotlin.jvm.functions.Function1<androidx.benchmark.perfetto.PerfettoTrace,kotlin.Unit>? getTraceCallback();
31    property public final boolean enableAppTagTracing;
32    property public final boolean enableUserspaceTracing;
33    property public final kotlin.jvm.functions.Function1<androidx.benchmark.perfetto.PerfettoTrace,kotlin.Unit>? traceCallback;
34  }
35
36}
37
38