Home
last modified time | relevance | path

Searched refs:mPerfCollector (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java31 private PerformanceCollector mPerfCollector; field in PerformanceCollectorTest
36 mPerfCollector = new PerformanceCollector(); in setUp()
42 mPerfCollector = null; in tearDown()
47 mPerfCollector.beginSnapshot("testBeginSnapshotNoWriter"); in testBeginSnapshotNoWriter()
49 assertTrue((Long)readPrivateField("mSnapshotCpuTime", mPerfCollector) > 0); in testBeginSnapshotNoWriter()
50 assertTrue((Long)readPrivateField("mSnapshotExecTime", mPerfCollector) > 0); in testBeginSnapshotNoWriter()
51 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); in testBeginSnapshotNoWriter()
58 mPerfCollector.beginSnapshot("testEndSnapshotNoWriter"); in testEndSnapshotNoWriter()
60 Bundle snapshot = mPerfCollector.endSnapshot(); in testEndSnapshotNoWriter()
67 mPerfCollector.startTiming("testStartTimingNoWriter"); in testStartTimingNoWriter()
[all …]
/frameworks/base/test-runner/src/android/test/
DPerformanceCollectorTestCase.java35 public PerformanceCollector mPerfCollector = new PerformanceCollector(); field
DInstrumentationTestRunner.java752 PerformanceCollector mPerfCollector = new PerformanceCollector(); field in InstrumentationTestRunner.WatcherResultPrinter
829 mPerfCollector.beginSnapshot(""); in startTest()
831 mPerfCollector.startTiming(""); in startTest()
864 mTestResult.putAll(mPerfCollector.endSnapshot()); in endTest()
866 writeStopTiming(mPerfCollector.stopTiming("")); in endTest()