Home
last modified time | relevance | path

Searched refs:dataStream (Results 1 – 25 of 46) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/result/
DLogSaverResultForwarder.java111 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
112 testLogForward(dataName, dataType, dataStream); in testLog()
114 if (dataStream == null) { in testLog()
119 dataStream.createInputStream()); in testLog()
123 dataStream, logFile); in testLog()
135 String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLogForward() argument
136 super.testLog(dataName, dataType, dataStream); in testLogForward()
147 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument
152 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
DLogFileSaver.java200 public File saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() argument
202 return saveLogDataRaw(dataName, dataType.getFileExt(), dataStream); in saveLogData()
213 public File saveLogDataRaw(String dataName, String ext, InputStream dataStream) in saveLogDataRaw() argument
219 FileUtil.writeToFile(dataStream, logFile); in saveLogDataRaw()
234 public File saveAndGZipLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveAndGZipLogData() argument
238 return saveLogData(dataName, dataType, dataStream); in saveAndGZipLogData()
245 bufInput = new BufferedInputStream(dataStream); in saveAndGZipLogData()
266 public File saveAndZipLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveAndZipLogData() argument
270 return saveLogData(dataName, dataType, dataStream); in saveAndZipLogData()
279 bufInput = new BufferedInputStream(dataStream); in saveAndZipLogData()
DFileSystemLogSaver.java115 public LogFile saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() argument
118 File log = saveLogDataInternal(dataName, dataType.getFileExt(), dataStream); in saveLogData()
134 bufferedDataStream = new BufferedInputStream(dataStream); in saveLogData()
149 public LogFile saveLogDataRaw(String dataName, LogDataType dataType, InputStream dataStream) in saveLogDataRaw() argument
151 File log = saveLogDataInternal(dataName, dataType.getFileExt(), dataStream); in saveLogDataRaw()
155 private File saveLogDataInternal(String dataName, String ext, InputStream dataStream) in saveLogDataInternal() argument
166 FileUtil.writeToFile(dataStream, log); in saveLogDataInternal()
DResultAndLogForwarder.java43 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument
48 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
DTextResultReporter.java79 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
86 public void testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, in testLogSaved() argument
DNameMangleListener.java146 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
147 mListener.testLog(dataName, dataType, dataStream); in testLog()
DJUnitToInvocationResultForwarder.java109 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
111 listener.testLog(dataName, dataType, dataStream); in testLog()
DSubprocessResultsReporter.java211 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
215 if (dataStream != null && dataStream.size() != 0) { in testLog()
222 FileUtil.writeToFile(dataStream.createInputStream(), tmpFile); in testLog()
DXmlResultReporter.java210 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
218 public void testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, in testLogSaved() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DMetricTestCase.java76 String dataName, LogDataType dataType, InputStreamSource dataStream) { in addTestLog() argument
77 mLogs.add(new LogHolder(dataName, dataType, dataStream)); in addTestLog()
86 public LogHolder(String dataName, LogDataType dataType, InputStreamSource dataStream) { in LogHolder() argument
91 new SnapshotInputStreamSource("LogHolder", dataStream.createInputStream()); in LogHolder()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardMainResultForwarder.java126 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument
132 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
143 String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLogForward() argument
148 ((LogSaverResultForwarder) listener).testLogForward(dataName, dataType, dataStream); in testLogForward()
151 listener.testLog(dataName, dataType, dataStream); in testLogForward()
DShardListener.java112 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
119 .testLogForward(dataName, dataType, dataStream); in testLog()
121 mMainListener.testLog(dataName, dataType, dataStream); in testLog()
129 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument
130 super.testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
135 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleListener.java207 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
211 .testLogForward(dataName, dataType, dataStream); in testLog()
213 super.testLog(dataName, dataType, dataStream); in testLog()
220 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument
222 super.testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
226 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
DTestFailureListener.java102 String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLogForward() argument
103 mLogger.testLog(dataName, dataType, dataStream); in testLogForward()
107 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DILogSaver.java73 public LogFile saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() argument
87 public LogFile saveLogDataRaw(String dataName, LogDataType type, InputStream dataStream) in saveLogDataRaw() argument
DILogSaverListener.java50 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DHostStatsdMetricCollector.java126 ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData) { in processStatsReport() argument
150 try (InputStreamSource dataStream = getReportByteStream(device, configId)) { in stopCollection() argument
162 testLog(reportName, LogDataType.PB, dataStream); in stopCollection()
163 processStatsReport(device, dataStream, metricData); in stopCollection()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/log/
DITestLogger.java46 InputStreamSource dataStream) { } in testLog() argument
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java191 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
192 super.testLog(dataName, dataType, dataStream); in testLog()
193 mAllForwarder.testLog(dataName, dataType, dataStream); in testLog()
289 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument
290 super.testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
291 mDetailedForwarder.testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestMetricsCollectionListener.java115 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
116 super.testLog(dataName, dataType, dataStream); in testLog()
117 mListener.testLog(dataName, dataType, dataStream); in testLog()
DMediaPlayerStressTest.java157 private void parseOutputFile(InputStream dataStream, in parseOutputFile() argument
164 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DXmlResultReporterTest.java43 InputStream dataStream) { in saveLogData() argument
48 public LogFile saveLogDataRaw(String dataName, LogDataType type, InputStream dataStream) { in saveLogDataRaw() argument
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java120 public final void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
121 mForwarder.testLog(dataName, dataType, dataStream); in testLog()
298 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument
300 ((ILogSaverListener) mForwarder).testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java371 InputStreamSource dataStream = null; in reportLogs() local
373 dataStream = new FileInputStreamSource(subFile, true); in reportLogs()
374 listener.testLog(subFile.getName(), LogDataType.TEXT, dataStream); in reportLogs() local
376 StreamUtil.close(dataStream); in reportLogs()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterLogSaver.java395 public LogFile saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() argument
397 File log = mLogFileSaver.saveLogData(dataName, dataType, dataStream); in saveLogData()
402 public LogFile saveLogDataRaw(String dataName, LogDataType dataType, InputStream dataStream) in saveLogDataRaw() argument
404 File log = mLogFileSaver.saveLogDataRaw(dataName, dataType.getFileExt(), dataStream); in saveLogDataRaw()

12