Searched refs:PerformanceCollector (Results 1 – 6 of 6) sorted by relevance
19 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 …]
19 import android.os.PerformanceCollector;20 import android.os.PerformanceCollector.PerformanceResultsWriter;35 public PerformanceCollector mPerfCollector = new PerformanceCollector();
28 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()
21 import android.os.PerformanceCollector.PerformanceResultsWriter;
59 public class PerformanceCollector { class288 public PerformanceCollector() { in PerformanceCollector() method in PerformanceCollector291 public PerformanceCollector(PerformanceResultsWriter writer) { in PerformanceCollector() method in PerformanceCollector
34 import android.os.PerformanceCollector;106 private PerformanceCollector mPerformanceCollector;249 mPerformanceCollector = new PerformanceCollector(); in setAutomaticPerformanceSnapshots()