Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DAtraceCollectorTest.java116 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoOptions()
139 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoCompression()
164 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupCategoriesOption()
191 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupMultipleCategoriesOption()
214 atrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceWithNoCategoriesOption()
216 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStartsAtraceWithNoCategoriesOption()
243 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStopsAtraceDuringTearDown()
270 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testPreserveFileOnDeviceOption()
287 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testLogPullFail()
309 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testUploadsLogWithCompression()
[all …]
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()
DBaseDeviceMetricCollectorTest.java144 public void onTestRunStart(DeviceMetricData runData) { in testForwarding_withException()
150 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in testForwarding_withException()
155 public void onTestStart(DeviceMetricData testData) { in testForwarding_withException()
161 DeviceMetricData testData, in testForwarding_withException()
388 public void onTestStart(DeviceMetricData testData) { in onTestStart()
397 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
541 DeviceMetricData testData, in testOnTestEndWithTestDescription()
DProcessMaxMemoryCollectorTest.java79 DeviceMetricData data = new DeviceMetricData(mContext); in testCollector()
97 DeviceMetricData data = new DeviceMetricData(mContext); in testCollectorNoProcess()
DTemperatureCollectorTest.java68 DeviceMetricData data = new DeviceMetricData(mContext); in testCollector()
89 DeviceMetricData data = new DeviceMetricData(mContext); in testCollectorNoData()
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()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java81 private DeviceMetricData mRunData;
82 private DeviceMetricData mTestData;
155 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
161 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
166 public void onTestStart(DeviceMetricData testData) { in onTestStart()
171 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
176 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) { in onTestAssumptionFailure()
182 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
188 DeviceMetricData testData, in onTestEnd()
246 mRunData = new DeviceMetricData(mContext); in testRunStarted()
[all …]
DIMetricCollector.java71 public void onTestRunStart(DeviceMetricData runData); in onTestRunStart()
81 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics); in onTestRunEnd()
88 public void onTestStart(DeviceMetricData testData); in onTestStart()
96 public void onTestFail(DeviceMetricData testData, TestDescription test); in onTestFail()
104 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test); in onTestAssumptionFailure()
115 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics); in onTestEnd()
127 DeviceMetricData testData, in onTestEnd()
DFilePullerDeviceMetricCollector.java70 public void onTestEnd(DeviceMetricData testData, in onTestEnd()
80 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
97 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData data); in processMetricFile()
108 String key, File metricDirectory, DeviceMetricData data); in processMetricDirectory()
117 private void processMetricRequest(DeviceMetricData data, in processMetricRequest()
DLogcatOnFailureCollector.java55 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
72 public void onTestStart(DeviceMetricData testData) { in onTestStart()
77 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
84 public void onTestRunEnd(DeviceMetricData runData, Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
DFilePullerLogCollector.java35 public final void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile()
56 String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory()
73 protected void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData) {} in postProcessMetricFile()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DHostStatsdMetricCollector.java62 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
70 public void onTestStart(DeviceMetricData testData) { in onTestStart()
78 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
84 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
94 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
126 ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData) { in processStatsReport()
145 private void stopCollection(DeviceMetricData metricData, boolean reportResult) { in stopCollection()
DLogcatTimingMetricCollector.java94 public void onTestRunStart(DeviceMetricData testData) { in onTestRunStart()
118 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestRunEnd()
126 public void onTestStart(DeviceMetricData testData) { in onTestStart()
133 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
141 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
171 private void collectMetrics(DeviceMetricData testData) { in collectMetrics()
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()
DScheduleMultipleDeviceMetricCollector.java113 public final void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
165 private void collect(DeviceMetricData runData) { in collect()
218 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
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()
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()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationScheduledMetricCollector.java19 import com.android.tradefed.device.metric.DeviceMetricData;
49 protected final void onStart(DeviceMetricData runData) { in onStart()
89 DeviceMetricData runData, in onEnd()
115 protected void doStart(DeviceMetricData runData) { in doStart()
124 protected void doEnd(DeviceMetricData runData) { in doEnd()
DBaseGameQualificationMetricCollector.java25 import com.android.tradefed.device.metric.DeviceMetricData;
98 public final void onTestStart(DeviceMetricData testData) { in onTestStart()
113 DeviceMetricData testData, in onTestEnd()
127 protected void onStart(DeviceMetricData testData) { in onStart()
132 DeviceMetricData testData, in onEnd()
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DGameQualificationFpsCollectorTest.java24 import com.android.tradefed.device.metric.DeviceMetricData;
59 mCollector.doStart(new DeviceMetricData(null)); in basic()
78 mCollector.doStart(new DeviceMetricData(null)); in appTerminated()
106 mCollector.doStart(new DeviceMetricData(null)); in regexPattern()
DBaseGameQualificationMetricCollectorTest.java21 import com.android.tradefed.device.metric.DeviceMetricData;
31 protected void onStart(DeviceMetricData testData) { in onTestStartHasErrorOnException()
48 protected void onStart(DeviceMetricData testData) { in onTestEndHasErrorOnException()
DGameQualificationScheduledMetricCollectorTest.java21 import com.android.tradefed.device.metric.DeviceMetricData;
47 protected void doStart(DeviceMetricData runData) { in checkConcurrency()
53 protected void doEnd(DeviceMetricData runData) { in checkConcurrency()
DMetricSummaryTest.java25 import com.android.tradefed.device.metric.DeviceMetricData;
72 DeviceMetricData runData = new DeviceMetricData(context); in testConversion()
DLoopSummaryTest.java6 import com.android.tradefed.device.metric.DeviceMetricData;
134 DeviceMetricData runData = new DeviceMetricData(context); in testParseRunMetrics()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java33 import com.android.tradefed.device.metric.DeviceMetricData;
914 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
923 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
931 public void onTestStart(DeviceMetricData testData) { in onTestStart()
940 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()

123