Home
last modified time | relevance | path

Searched refs:PerfStatsCollector (Results 1 – 12 of 12) sorted by relevance

/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DPerfStatsCollector.java13 public class PerfStatsCollector { class
15 private static final PerfStatsCollector INSTANCE = new PerfStatsCollector();
22 public PerfStatsCollector() { in PerfStatsCollector() method in PerfStatsCollector
26 PerfStatsCollector(Clock clock) { in PerfStatsCollector() method in PerfStatsCollector
30 public static PerfStatsCollector getInstance() { in getInstance()
131 synchronized (PerfStatsCollector.this) { in finished()
DPerfStatsReporter.java4 import org.robolectric.util.PerfStatsCollector.Metadata;
5 import org.robolectric.util.PerfStatsCollector.Metric;
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DPerfStatsCollectorTest.java12 import org.robolectric.util.PerfStatsCollector.Event;
13 import org.robolectric.util.PerfStatsCollector.Metric;
19 private PerfStatsCollector collector;
24 collector = new PerfStatsCollector(fakeClock); in setUp()
/external/robolectric-shadows/junit/src/main/java/org/robolectric/internal/
DSandboxTestRunner.java36 import org.robolectric.util.PerfStatsCollector;
37 import org.robolectric.util.PerfStatsCollector.Event;
38 import org.robolectric.util.PerfStatsCollector.Metadata;
39 import org.robolectric.util.PerfStatsCollector.Metric;
219 PerfStatsCollector perfStatsCollector = PerfStatsCollector.getInstance();
275 private void reportPerfStats(PerfStatsCollector perfStatsCollector) {
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java16 import org.robolectric.util.PerfStatsCollector;
110 return PerfStatsCollector.getInstance().measure("load sandboxed class", in findClass()
120 MutableClass mutableClass = PerfStatsCollector.getInstance().measure("analyze class", in maybeInstrumentClass()
127 bytes = PerfStatsCollector.getInstance().measure("instrument class", in maybeInstrumentClass()
DShadowWrangler.java28 import org.robolectric.util.PerfStatsCollector;
177 return PerfStatsCollector.getInstance().measure("find shadow method", () -> { in calculatePlan()
200 return PerfStatsCollector.getInstance().measure("find shadow method handle", () -> { in findShadowMethodHandle()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceTableFactory.java6 import org.robolectric.util.PerfStatsCollector;
11 return PerfStatsCollector.getInstance() in newFrameworkResourceTable()
37 return PerfStatsCollector.getInstance() in newResourceTable()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppApkAssets.java22 import org.robolectric.util.PerfStatsCollector;
199 return PerfStatsCollector.getInstance() in LoadImpl()
DCppAssetManager.java34 import org.robolectric.util.PerfStatsCollector;
569 return PerfStatsCollector.getInstance() in appendPathToResTable()
704 PerfStatsCollector.getInstance().measure("load binary resources", () -> { in getResTable()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectricTestRunner.java58 import org.robolectric.util.PerfStatsCollector;
351 PerfStatsCollector perfStatsCollector = PerfStatsCollector.getInstance(); in beforeTest()
410 PerfStatsCollector.getInstance() in finallyAfterTest()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java63 import org.robolectric.util.PerfStatsCollector;
270 PerfStatsCollector.getInstance() in setUpApplicationState()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerTest.java40 import org.robolectric.util.PerfStatsCollector.Metric;