Home
last modified time | relevance | path

Searched refs:runData (Results 1 – 25 of 45) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DScheduleMultipleDeviceMetricCollectorTest.java66 public void collect(ITestDevice device, DeviceMetricData runData) in collect() argument
69 runData.addMetricForDevice( in collect()
88 public void collect(ITestDevice device, DeviceMetricData runData) in collect() argument
91 runData.addMetricForDevice( in collect()
110 public void collect(ITestDevice device, DeviceMetricData runData) in collect() argument
113 runData.addMetricForDevice( in collect()
157 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_success() local
163 mMultipleMetricCollector.onTestRunStart(runData); in testMultipleMetricCollector_success()
166 mMultipleMetricCollector.onTestRunEnd(runData, metrics); in testMultipleMetricCollector_success()
173 runData.addToMetrics(metricsCollected); in testMultipleMetricCollector_success()
[all …]
DBugreportzMetricCollectorTest.java67 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect_success() local
69 mBugreportzMetricCollector.collect(mTestDevice, runData); in testCollect_success()
DBuddyInfoMetricCollectorTest.java76 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
78 mBuddyInfoMetricCollector.collect(device, runData); in testCollect()
DMemInfoMetricCollectorTest.java78 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
81 mMemInfoMetricCollector.collect(mDevice, runData); in testCollect()
DGraphicsStatsMetricCollectorTest.java76 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
78 mGfxInfoMetricCollector.collect(mDevice, runData); in testCollect()
DTraceMetricCollectorTest.java77 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
80 mTraceInfoMetricCollector.collect(mDevice, runData); in testCollect()
DPagetypeInfoMetricCollectorTest.java77 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
80 mPagetypeInfoMetricCollector.collect(mDevice, runData); in testCollect()
DIonHeapInfoMetricCollectorTest.java82 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
84 mIonHeapInfoMetricCollector.collect(mDevice, runData); in testCollect()
DScheduledDeviceMetricCollectorTest.java48 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
50 runData.addMetricForDevice( in collect()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DScheduledDeviceMetricCollector.java56 public final void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() argument
58 onStart(runData); in onTestRunStart()
66 collect(device, runData); in onTestRunStart()
86 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() argument
91 onEnd(runData); in onTestRunEnd()
102 abstract void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException; in collect() argument
109 void onStart(DeviceMetricData runData) { in onStart() argument
118 void onEnd(DeviceMetricData runData) { in onEnd() argument
DTemperatureCollector.java77 void onStart(DeviceMetricData runData) { in onStart() argument
85 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
126 void onEnd(DeviceMetricData runData) { in onEnd() argument
134 runData.addMetricForDevice(device, "temperature", metric); in onEnd()
143 runData.addMetricForDevice(device, "max_temperature", metric); in onEnd()
151 runData.addMetricForDevice(device, "min_temperature", metric); in onEnd()
DProcessMaxMemoryCollector.java62 void onStart(DeviceMetricData runData) { in onStart() argument
75 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
130 void onEnd(DeviceMetricData runData) { in onEnd() argument
141 runData.addMetricForDevice(device, "PSS#" + values.getKey(), metric); in onEnd()
153 runData.addMetricForDevice(device, "USS#" + values.getKey(), metric); in onEnd()
164 runData.addMetricForDevice(device, "MAX_PSS#" + pss.getKey(), metric); in onEnd()
171 runData.addMetricForDevice(device, "MAX_USS#" + uss.getKey(), metric); in onEnd()
DHostStatsdMetricCollector.java62 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() argument
94 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() argument
96 stopCollection(runData, true); in onTestRunEnd()
126 ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData) { in processStatsReport() argument
DRebootReasonCollector.java54 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() argument
73 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() argument
107 runData.addMetricForDevice( in onTestRunEnd()
113 runData.addMetricForDevice( in onTestRunEnd()
DBugreportzMetricCollector.java29 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerLogCollector.java35 public final void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() argument
37 postProcessMetricFile(key, metricFile, runData); in processMetricFile()
57 String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory() argument
60 processMetricDirectory(key, f, runData); in processMetricDirectory()
62 processMetricFile(key, f, runData); in processMetricDirectory()
74 protected void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData) {} in postProcessMetricFile() argument
DIMetricCollector.java71 public void onTestRunStart(DeviceMetricData runData); in onTestRunStart() argument
81 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics); in onTestRunEnd() argument
DIncidentReportCollector.java70 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() argument
71 super.onTestRunEnd(runData, currentRunMetrics); in onTestRunEnd()
109 protected void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData) { in postProcessMetricFile() argument
DLogcatOnFailureCollector.java55 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() argument
84 public void onTestRunEnd(DeviceMetricData runData, Map<String, Metric> currentRunMetrics) { in onTestRunEnd() argument
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationScheduledMetricCollector.java49 protected final void onStart(DeviceMetricData runData) { in onStart() argument
57 doStart(runData); in onStart()
89 DeviceMetricData runData, in onEnd() argument
100 doEnd(runData); in onEnd()
115 protected void doStart(DeviceMetricData runData) { in doStart() argument
124 protected void doEnd(DeviceMetricData runData) { in doEnd() argument
DLoopSummary.java54 void addToMetricData(DeviceMetricData runData, int index, MetricSummary.TimeType type) { in addToMetricData() argument
55 runData.addMetric( in addToMetricData()
62 runData.addMetric( in addToMetricData()
65 runData.addMetric( in addToMetricData()
70 runData.addMetric( in addToMetricData()
73 runData.addMetric( in addToMetricData()
76 runData.addMetric( in addToMetricData()
79 runData.addMetric( in addToMetricData()
82 runData.addMetric( in addToMetricData()
85 runData.addMetric( in addToMetricData()
[all …]
DMetricSummary.java92 public void addToMetricData(DeviceMetricData runData) { in addToMetricData() argument
93 runData.addMetric( in addToMetricData()
98 runData.addMetric( in addToMetricData()
107 summary.addToMetricData(runData, i, type); in addToMetricData()
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DMetricSummaryTest.java72 DeviceMetricData runData = new DeviceMetricData(context); in testConversion() local
73 summary.addToMetricData(runData); in testConversion()
75 runData.addToMetrics(metrics); in testConversion()
DGameQualificationScheduledMetricCollectorTest.java47 protected void doStart(DeviceMetricData runData) { in checkConcurrency()
53 protected void doEnd(DeviceMetricData runData) { in checkConcurrency()
DLoopSummaryTest.java134 DeviceMetricData runData = new DeviceMetricData(context); in testParseRunMetrics() local
135 expected.addToMetricData(runData, 0, MetricSummary.TimeType.PRESENT); in testParseRunMetrics()
138 runData.addToMetrics(metrics); in testParseRunMetrics()

12