/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogFileSaver.java | 200 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()
|
D | LogSaverResultForwarder.java | 116 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 117 testLogForward(dataName, dataType, dataStream); in testLog() 119 if (dataStream == null) { in testLog() 124 dataStream.createInputStream()); in testLog() 128 dataStream, logFile); in testLog() 140 String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLogForward() argument 141 super.testLog(dataName, dataType, dataStream); in testLogForward() 152 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 157 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
|
D | FileSystemLogSaver.java | 115 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()
|
D | SubprocessResultsReporter.java | 211 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()
|
D | BugreportCollector.java | 522 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 523 mListener.testLog(dataName, dataType, dataStream); in testLog() 524 mCollector.testLog(dataName, dataType, dataStream); in testLog()
|
D | ResultAndLogForwarder.java | 43 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 48 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
|
D | TextResultReporter.java | 79 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
|
D | NameMangleListener.java | 146 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 147 mListener.testLog(dataName, dataType, dataStream); in testLog()
|
D | JUnitToInvocationResultForwarder.java | 109 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 111 listener.testLog(dataName, dataType, dataStream); in testLog()
|
D | XmlResultReporter.java | 210 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/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 207 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()
|
D | TestFailureListener.java | 102 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/src/com/android/tradefed/invoker/ |
D | ShardListener.java | 112 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()
|
D | ShardMainResultForwarder.java | 126 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()
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | ResultAggregator.java | 191 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/core/test_framework/com/android/tradefed/testtype/ |
D | MetricTestCase.java | 76 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/test_framework/com/android/tradefed/device/metric/ |
D | HostStatsdMetricCollector.java | 126 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/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 120 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/ |
D | MoblyBinaryHostTest.java | 371 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/ |
D | ClusterLogSaver.java | 395 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()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestBase.java | 344 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 345 super.testLog(dataName, dataType, dataStream); in testLog() 346 mListener.testLog(dataName, dataType, dataStream); in testLog()
|
D | MediaPlayerStressTest.java | 157 private void parseOutputFile(InputStream dataStream, in parseOutputFile() argument 164 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
|
D | MediaStressTest.java | 140 InputStream dataStream = new FileInputStream(outputFile); in parseOutputFile() local 141 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | ILogSaver.java | 73 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
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | XmlResultReporterTest.java | 43 InputStream dataStream) { in saveLogData() argument 48 public LogFile saveLogDataRaw(String dataName, LogDataType type, InputStream dataStream) { in saveLogDataRaw() argument
|