Home
last modified time | relevance | path

Searched refs:DeviceMetricData (Results 1 – 25 of 36) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DIMetricCollector.java70 public void onTestRunStart(DeviceMetricData runData); in onTestRunStart()
80 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics); in onTestRunEnd()
87 public void onTestStart(DeviceMetricData testData); in onTestStart()
98 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics); in onTestEnd()
DScheduledDeviceMetricCollector.java56 public final void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
86 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
102 abstract void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException; in collect()
109 void onStart(DeviceMetricData runData) { in onStart()
118 void onEnd(DeviceMetricData runData) { in onEnd()
DBaseDeviceMetricCollector.java66 private DeviceMetricData mRunData;
67 private DeviceMetricData mTestData;
99 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
105 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
110 public void onTestStart(DeviceMetricData testData) { in onTestStart()
116 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
145 mRunData = new DeviceMetricData(mContext); in testRunStarted()
186 mTestData = new DeviceMetricData(mContext); in testStarted()
DFilePullerLogCollector.java44 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
52 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile()
65 public void processMetricDirectory(String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory()
DFilePullerDeviceMetricCollector.java61 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
66 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
78 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData runData); in processMetricFile()
89 String key, File metricDirectory, DeviceMetricData runData); in processMetricDirectory()
91 private void processMetricRequest(DeviceMetricData data, Map<String, String> currentMetrics) { in processMetricRequest()
DDeviceMetricData.java32 public class DeviceMetricData implements Serializable { class
43 public DeviceMetricData(IInvocationContext context) { in DeviceMetricData() method in DeviceMetricData
DTemperatureCollector.java77 void onStart(DeviceMetricData runData) { in onStart()
85 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect()
126 void onEnd(DeviceMetricData runData) { in onEnd()
DScheduleMultipleDeviceMetricCollector.java106 public final void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
158 private void collect(DeviceMetricData runData) { in collect()
211 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
DBugreportzMetricCollector.java29 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect()
DAtraceRunMetricCollector.java64 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
69 public void processMetricDirectory(String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory()
194 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile()
DProcessMaxMemoryCollector.java62 void onStart(DeviceMetricData runData) { in onStart()
75 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect()
130 void onEnd(DeviceMetricData runData) { in onEnd()
DPagetypeInfoMetricCollector.java35 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DScheduleMultipleDeviceMetricCollectorTest.java66 public void collect(ITestDevice device, DeviceMetricData runData) in collect()
88 public void collect(ITestDevice device, DeviceMetricData runData) in collect()
110 public void collect(ITestDevice device, DeviceMetricData runData) in collect()
157 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_success()
185 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_noFailureEvenIfNoCollectorRequested()
229 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_collectorNotFound()
272 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_failsForNonNegativeInterval()
DAtraceCollectorTest.java110 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoOptions()
133 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoCompression()
158 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupCategoriesOption()
185 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupMultipleCategoriesOption()
208 atrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceWithNoCategoriesOption()
210 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStartsAtraceWithNoCategoriesOption()
239 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStopsAtraceDuringTearDown()
266 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testPreserveFileOnDeviceOption()
283 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testLogPullFail()
305 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testUploadsLogWithCompression()
[all …]
DProcessMaxMemoryCollectorTest.java79 DeviceMetricData data = new DeviceMetricData(mContext); in testCollector()
97 DeviceMetricData data = new DeviceMetricData(mContext); in testCollectorNoProcess()
DTraceCmdCollectorTest.java105 mTraceCmd.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceAndTraceCmdOptions()
136 mTraceCmd.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceAndTraceCmdFails()
166 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStopsTraceCmdDuringTearDown()
190 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testUploadslogWithRawKernelBuffer()
DBugreportzMetricCollectorTest.java67 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect_success()
DMemInfoMetricCollectorTest.java78 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
DTraceMetricCollectorTest.java77 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
DBuddyInfoMetricCollectorTest.java76 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
DGraphicsStatsMetricCollectorTest.java76 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
DIonHeapInfoMetricCollectorTest.java82 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
DDeviceMetricDataTest.java39 private DeviceMetricData mData;
48 mData = new DeviceMetricData(mContext); in setUp()
DDeviceMetricDataFuncTest.java68 DeviceMetricData deviceMetricData = new DeviceMetricData(mContext); in testAddToMetricsMultiThreaded()
DBaseDeviceMetricCollectorTest.java116 public void onTestRunStart(DeviceMetricData runData) { in testForwarding_withException()
122 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in testForwarding_withException()
127 public void onTestStart(DeviceMetricData testData) { in testForwarding_withException()
133 DeviceMetricData testData, in testForwarding_withException()
356 public void onTestStart(DeviceMetricData testData) { in onTestStart()
365 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()

12