Home
last modified time | relevance | path

Searched refs:runData (Results 1 – 25 of 29) 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()
DMemInfoMetricCollectorTest.java78 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
81 mMemInfoMetricCollector.collect(mDevice, runData); in testCollect()
DTraceMetricCollectorTest.java77 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
80 mTraceInfoMetricCollector.collect(mDevice, runData); in testCollect()
DBuddyInfoMetricCollectorTest.java76 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
78 mBuddyInfoMetricCollector.collect(device, runData); in testCollect()
DGraphicsStatsMetricCollectorTest.java76 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect() local
78 mGfxInfoMetricCollector.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()
DFilePullerDeviceMetricCollectorTest.java57 String key, File metricFile, DeviceMetricData runData) { in setUp()
64 String key, File metricDirectory, DeviceMetricData runData) { in setUp()
DAtraceRunMetricCollectorTest.java58 String key, File metricDirectory, DeviceMetricData runData) { in setUp()
/tools/tradefederation/core/src/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
DFilePullerLogCollector.java52 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() argument
65 public void processMetricDirectory(String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory() argument
68 processMetricDirectory(key, f, runData); in processMetricDirectory()
70 processMetricFile(key, f, runData); in processMetricDirectory()
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()
DScheduleMultipleDeviceMetricCollector.java106 public final void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() argument
131 collect(runData); in onTestRunStart()
158 private void collect(DeviceMetricData runData) { in collect() argument
169 singleMetricCollector.collect(device, runData); in collect()
211 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() argument
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()
DIMetricCollector.java70 public void onTestRunStart(DeviceMetricData runData); in onTestRunStart() argument
80 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics); in onTestRunEnd() argument
DFilePullerDeviceMetricCollector.java61 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() argument
62 processMetricRequest(runData, TfMetricProtoUtil.compatibleConvert(currentRunMetrics)); in onTestRunEnd()
78 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData runData); in processMetricFile() argument
89 String key, File metricDirectory, DeviceMetricData runData); in processMetricDirectory() argument
DBugreportzMetricCollector.java29 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
DPagetypeInfoMetricCollector.java35 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
DMemInfoMetricCollector.java35 public void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
DGraphicsStatsMetricCollector.java35 public void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
DTraceMetricCollector.java35 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
DIonHeapInfoMetricCollector.java38 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() argument
DAtraceRunMetricCollector.java69 public void processMetricDirectory(String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory() argument
194 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() argument
DBaseDeviceMetricCollector.java99 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() argument
105 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() argument

12