Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DIMetricCollector.java74 public void onTestRunStart(DeviceMetricData runData) throws DeviceNotAvailableException; in onTestRunStart()
82 public default void onTestRunStart(DeviceMetricData runData, int testCount) in onTestRunStart()
95 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd()
103 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException; in onTestStart()
111 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail()
120 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) in onTestAssumptionFailure()
132 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) in onTestEnd()
145 DeviceMetricData testData, in onTestEnd()
DModuleLogcatCollector.java48 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
53 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail()
59 public void onTestRunEnd(DeviceMetricData runData, Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
64 public void onTestRunFailed(DeviceMetricData testData, FailureDescription failure) in onTestRunFailed()
DBugreportzOnTestCaseFailureCollector.java32 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
37 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
43 DeviceMetricData runData, in onTestRunEnd()
DLogcatOnFailureCollector.java60 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
81 public void onTestStart(DeviceMetricData testData) { in onTestStart()
86 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail()
102 public void onTestRunFailed(DeviceMetricData testData, FailureDescription failure) in onTestRunFailed()
111 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()
74 String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory()
92 protected void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData) {} in postProcessMetricFile()
DBaseDeviceMetricCollector.java90 private DeviceMetricData mRunData;
91 private DeviceMetricData mTestData;
202 public void onTestRunStart(DeviceMetricData runData) throws DeviceNotAvailableException { in onTestRunStart()
213 public void onTestRunFailed(DeviceMetricData testData, FailureDescription failure) in onTestRunFailed()
219 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd()
225 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestStart()
230 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail()
236 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) in onTestAssumptionFailure()
243 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) in onTestEnd()
250 DeviceMetricData testData, in onTestEnd()
[all …]
DFilePullerDeviceMetricCollector.java78 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) in onTestEnd()
89 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd()
108 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData data); in processMetricFile()
119 String key, File metricDirectory, DeviceMetricData data); in processMetricDirectory()
128 private void processMetricRequest(DeviceMetricData data, Map<String, Metric> metrics) in processMetricRequest()
DCountTestCasesCollector.java44 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
52 public void onTestRunEnd(DeviceMetricData runData, Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
DScreenshotOnFailureCollector.java37 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
43 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail()
DDeviceMetricData.java32 public class DeviceMetricData implements Serializable { class
43 public DeviceMetricData(IInvocationContext context) { in DeviceMetricData() method in DeviceMetricData
DDebugHostLogOnFailureCollector.java41 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart()
58 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
/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()
112 DeviceMetricData testData, in onTestEnd()
125 protected void onStart(DeviceMetricData testData) { in onStart()
130 DeviceMetricData testData, in onEnd()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DHostStatsdMetricCollector.java63 public void onTestRunStart(DeviceMetricData runData) throws DeviceNotAvailableException { in onTestRunStart()
71 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestStart()
79 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
85 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) in onTestEnd()
95 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd()
128 ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData) { in processStatsReport()
147 private void stopCollection(DeviceMetricData metricData, boolean reportResult) in stopCollection()
DBluetoothHciSnoopLogCollector.java54 public void onTestRunStart(DeviceMetricData runData) throws DeviceNotAvailableException { in onTestRunStart()
67 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd()
78 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestStart()
94 DeviceMetricData testData, in onTestEnd()
117 public final void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile()
126 public void processMetricDirectory(String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory()
DLogcatTimingMetricCollector.java92 public void onTestRunStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestRunStart()
116 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestRunEnd()
124 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestStart()
131 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
139 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
162 private void collectMetrics(DeviceMetricData testData) { in collectMetrics()
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/tradefederation/core/javatests/com/android/tradefed/device/metric/
DAtraceCollectorTest.java106 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoOptions()
126 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoCompression()
145 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupCategoriesOption()
169 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupMultipleCategoriesOption()
197 atrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceWithNoCategoriesOption()
199 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStartsAtraceWithNoCategoriesOption()
216 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testStopsAtraceDuringTearDown()
243 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testPreserveFileOnDeviceOption()
266 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testLogPullFail()
283 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testUploadsLogWithCompression()
[all …]
DTraceCmdCollectorTest.java86 mTraceCmd.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceAndTraceCmdOptions()
123 mTraceCmd.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceAndTraceCmdFails()
145 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testStopsTraceCmdDuringTearDown()
172 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testUploadslogWithRawKernelBuffer()
DDeviceMetricDataTest.java39 private DeviceMetricData mData;
48 mData = new DeviceMetricData(mContext); in setUp()
DDeviceMetricDataFuncTest.java68 DeviceMetricData deviceMetricData = new DeviceMetricData(mContext); in testAddToMetricsMultiThreaded()
/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()

123