Home
last modified time | relevance | path

Searched refs:PerformanceCollector (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java19 import android.os.PerformanceCollector.PerformanceResultsWriter;
31 private PerformanceCollector mPerfCollector;
36 mPerfCollector = new PerformanceCollector(); in setUp()
402 assertTrue(snapshot.containsKey(PerformanceCollector.METRIC_KEY_CPU_TIME)); in verifySnapshotBundle()
403 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); in verifySnapshotBundle()
404 assertTrue(snapshot.containsKey(PerformanceCollector.METRIC_KEY_EXECUTION_TIME)); in verifySnapshotBundle()
405 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_EXECUTION_TIME) > 0); in verifySnapshotBundle()
408 PerformanceCollector.METRIC_KEY_PRE_RECEIVED_TRANSACTIONS)); in verifySnapshotBundle()
409 assertTrue(snapshot.containsKey(PerformanceCollector.METRIC_KEY_PRE_SENT_TRANSACTIONS)); in verifySnapshotBundle()
410 assertTrue(snapshot.containsKey(PerformanceCollector.METRIC_KEY_RECEIVED_TRANSACTIONS)); in verifySnapshotBundle()
[all …]
/frameworks/base/test-runner/src/android/test/
DPerformanceCollectorTestCase.java19 import android.os.PerformanceCollector;
20 import android.os.PerformanceCollector.PerformanceResultsWriter;
35 public PerformanceCollector mPerfCollector = new PerformanceCollector();
DInstrumentationTestRunner.java28 import android.os.PerformanceCollector;
29 import android.os.PerformanceCollector.PerformanceResultsWriter;
752 PerformanceCollector mPerfCollector = new PerformanceCollector();
900 results.getParcelableArrayList(PerformanceCollector.METRIC_KEY_ITERATIONS)) { in writeStopTiming()
903 mTestResult.putString(index + PerformanceCollector.METRIC_KEY_LABEL, in writeStopTiming()
904 iteration.getString(PerformanceCollector.METRIC_KEY_LABEL)); in writeStopTiming()
905 mTestResult.putLong(index + PerformanceCollector.METRIC_KEY_CPU_TIME, in writeStopTiming()
906 iteration.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME)); in writeStopTiming()
907 mTestResult.putLong(index + PerformanceCollector.METRIC_KEY_EXECUTION_TIME, in writeStopTiming()
908 iteration.getLong(PerformanceCollector.METRIC_KEY_EXECUTION_TIME)); in writeStopTiming()
DAndroidTestRunner.java21 import android.os.PerformanceCollector.PerformanceResultsWriter;
/frameworks/base/core/java/android/os/
DPerformanceCollector.java59 public class PerformanceCollector { class
288 public PerformanceCollector() { in PerformanceCollector() method in PerformanceCollector
291 public PerformanceCollector(PerformanceResultsWriter writer) { in PerformanceCollector() method in PerformanceCollector
/frameworks/base/core/java/android/app/
DInstrumentation.java34 import android.os.PerformanceCollector;
106 private PerformanceCollector mPerformanceCollector;
249 mPerformanceCollector = new PerformanceCollector(); in setAutomaticPerformanceSnapshots()