Home
last modified time | relevance | path

Searched refs:testData (Results 1 – 22 of 22) sorted by relevance

/tools/test/connectivity/acts/framework/acts/test_utils/wifi/p2p/
Dwifi_p2p_test_utils.py270 testData = genTestData(serviceCategory)
272 ad.droid.wifiP2pCreateUpnpServiceInfo(testData[0], testData[1],
273 testData[2])
276 ad.droid.wifiP2pCreateBonjourServiceInfo(testData[0], testData[1],
277 testData[2])
438 testData = []
440 testData.append(p2pconsts.UpnpTestData.uuid)
441 testData.append(p2pconsts.UpnpTestData.serviceType)
442 testData.append([p2pconsts.UpnpTestData.AVTransport,
445 testData.append(p2pconsts.IppTestData.ippInstanceName)
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java156 final String testData = "Here's some test data, blah"; in testSaveLogData() local
157 ByteArrayInputStream mockInput = new ByteArrayInputStream(testData.getBytes()); in testSaveLogData()
163 assertTrue(actualLogString.equals(testData)); in testSaveLogData()
183 final String testData = "Here's some test data, blah"; in testSaveAndGZipLogData() local
184 ByteArrayInputStream mockInput = new ByteArrayInputStream(testData.getBytes()); in testSaveAndGZipLogData()
191 assertTrue(actualLogString.equals(testData)); in testSaveAndGZipLogData()
207 final String testData = "Here's some test data, blah"; in testSaveAndZipLogData() local
208 ByteArrayInputStream mockInput = new ByteArrayInputStream(testData.getBytes()); in testSaveAndZipLogData()
217 assertTrue(actualLogString.equals(testData)); in testSaveAndZipLogData()
244 final String testData = "Here's some test data, blah"; in testCreateAndGZipLogData() local
[all …]
DFileSystemLogSaverTest.java176 final String testData = "Here's some test data, blah"; in testSaveLogData_uncompressed() local
177 ByteArrayInputStream mockInput = new ByteArrayInputStream(testData.getBytes()); in testSaveLogData_uncompressed()
186 assertTrue(actualLogString.equals(testData)); in testSaveLogData_uncompressed()
210 final String testData = "Here's some test data, blah"; in testSaveLogData_compressed() local
211 ByteArrayInputStream mockInput = new ByteArrayInputStream(testData.getBytes()); in testSaveLogData_compressed()
217 assertTrue(actualLogString.equals(testData)); in testSaveLogData_compressed()
238 final String testData = "Here's some test data, blah"; in testSaveLogDataRaw() local
239 ByteArrayInputStream mockInput = new ByteArrayInputStream(testData.getBytes()); in testSaveLogDataRaw()
245 assertTrue(actualLogString.equals(testData)); in testSaveLogDataRaw()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DTableFormatterTest.java32 List<List<String>> testData = new ArrayList<List<String>>(); in testDisplayTable() local
34 testData.add(Arrays.asList("1234", "12", "1234", "1")); in testDisplayTable()
35 testData.add(Arrays.asList("12", "1234", "1", "11")); in testDisplayTable()
39 String actualOutput = doDisplayTable(testData); in testDisplayTable()
47 List<List<String>> testData = new ArrayList<List<String>>(); in testDisplayTable_missized() local
49 testData.add(Arrays.asList("1234", "12", "1234")); in testDisplayTable_missized()
50 testData.add(Arrays.asList("12", "1234")); in testDisplayTable_missized()
54 String actualOutput = doDisplayTable(testData); in testDisplayTable_missized()
62 private String doDisplayTable(List<List<String>> testData) { in doDisplayTable() argument
65 new TableFormatter().displayTable(testData, writer); in doDisplayTable()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DLogcatTimingMetricCollector.java94 public void onTestRunStart(DeviceMetricData testData) { in onTestRunStart() argument
118 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestRunEnd() argument
120 collectMetrics(testData); in onTestRunEnd()
126 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
133 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() argument
135 collectMetrics(testData); in onTestEnd()
141 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
171 private void collectMetrics(DeviceMetricData testData) { in collectMetrics() argument
180 testData.addMetricForDevice(device, name, createMetric(values)); in collectMetrics()
182 testData.addMetric(name, createMetric(values)); in collectMetrics()
DHostStatsdMetricCollector.java70 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
78 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
84 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() argument
86 stopCollection(testData, !mTestFailed); in onTestEnd()
DAtraceCollector.java166 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
248 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() argument
DAtraceRunMetricCollector.java64 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() argument
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DBaseGameQualificationMetricCollector.java98 public final void onTestStart(DeviceMetricData testData) { in onTestStart() argument
99 super.onTestStart(testData); in onTestStart()
101 onStart(testData); in onTestStart()
113 DeviceMetricData testData, in onTestEnd() argument
115 super.onTestEnd(testData, currentTestCaseMetrics); in onTestEnd()
117 onEnd(testData, currentTestCaseMetrics); in onTestEnd()
127 protected void onStart(DeviceMetricData testData) { in onStart() argument
132 DeviceMetricData testData, in onEnd() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java155 public void onTestStart(DeviceMetricData testData) { in testForwarding_withException()
161 DeviceMetricData testData, in testForwarding_withException()
388 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
389 testData.addMetric( in onTestStart()
397 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() argument
398 testData.addMetric( in onTestEnd()
541 DeviceMetricData testData, in testOnTestEndWithTestDescription()
544 testData.addMetric( in testOnTestEndWithTestDescription()
DDebugHostLogOnFailureCollectorTest.java59 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
60 super.onTestStart(testData); in onTestStart()
65 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
66 super.onTestFail(testData, test); in onTestFail()
DLogcatOnFailureCollectorTest.java63 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
64 super.onTestStart(testData); in onTestStart()
69 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
70 super.onTestFail(testData, test); in onTestFail()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java166 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
171 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
176 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) { in onTestAssumptionFailure() argument
182 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() argument
188 DeviceMetricData testData, in onTestEnd() argument
192 onTestEnd(testData, currentTestCaseMetrics); in onTestEnd()
DIMetricCollector.java88 public void onTestStart(DeviceMetricData testData); in onTestStart() argument
96 public void onTestFail(DeviceMetricData testData, TestDescription test); in onTestFail() argument
104 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test); in onTestAssumptionFailure() argument
115 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics); in onTestEnd() argument
127 DeviceMetricData testData, in onTestEnd() argument
DLogcatOnFailureCollector.java72 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
77 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
DFilePullerDeviceMetricCollector.java70 public void onTestEnd(DeviceMetricData testData, in onTestEnd() argument
75 processMetricRequest(testData, currentTestCaseMetrics); in onTestEnd()
DBugreportzOnFailureCollector.java28 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
DScreenshotOnFailureCollector.java32 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
DDebugHostLogOnFailureCollector.java53 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
/tools/loganalysis/test_framework/com/android/tradefed/device/metric/
DLogcatTimingMetricCollector.java86 public void onTestRunStart(DeviceMetricData testData) { in onTestRunStart() argument
124 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestRunEnd() argument
133 testData.addMetricForDevice(device, name, createMetric(values)); in onTestRunEnd()
135 testData.addMetric(name, createMetric(values)); in onTestRunEnd()
152 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java931 public void onTestStart(DeviceMetricData testData) { in onTestStart() argument
932 testData.addMetric( in onTestStart()
940 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() argument
941 testData.addMetric( in onTestEnd()
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DBaseGameQualificationMetricCollectorTest.java31 protected void onStart(DeviceMetricData testData) { in onTestStartHasErrorOnException()
48 protected void onStart(DeviceMetricData testData) { in onTestEndHasErrorOnException()