/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() 234 public File saveAndGZipLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveAndGZipLogData() argument 236 if (dataType.isCompressed()) { in saveAndGZipLogData() 238 return saveLogData(dataName, dataType, dataStream); in saveAndGZipLogData() 244 File logFile = createCompressedLogFile(saneDataName, dataType); in saveAndGZipLogData() 266 public File saveAndZipLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveAndZipLogData() argument 268 if (dataType.isCompressed()) { in saveAndZipLogData() 270 return saveLogData(dataName, dataType, dataStream); in saveAndZipLogData() 282 outStream.putNextEntry(new ZipEntry(saneDataName + "." + dataType.getFileExt())); in saveAndZipLogData()
|
D | FileSystemLogSaver.java | 115 public LogFile saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() argument 117 if (!mCompressFiles || dataType.isCompressed()) { in saveLogData() 118 File log = saveLogDataInternal(dataName, dataType.getFileExt(), dataStream); in saveLogData() 119 return new LogFile(log.getAbsolutePath(), getUrl(log), dataType); in saveLogData() 137 outputStream.putNextEntry(new ZipEntry(saneDataName + "." + dataType.getFileExt())); in saveLogData() 140 return new LogFile(log.getAbsolutePath(), getUrl(log), true, dataType, log.length()); 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() 152 return new LogFile(log.getAbsolutePath(), getUrl(log), dataType); in saveLogDataRaw()
|
D | LogSaverResultForwarder.java | 116 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 117 testLogForward(dataName, dataType, dataStream); in testLog() 123 LogFile logFile = mLogSaver.saveLogData(dataName, dataType, in testLog() 127 ((ILogSaverListener) listener).testLogSaved(dataName, dataType, 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 | SubprocessResultsReporter.java | 211 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 221 "subprocess-" + dataName, "." + dataType.getFileExt()); in testLog() 223 TestLogEventInfo info = new TestLogEventInfo(dataName, dataType, 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
|
D | ResultForwarder.java | 157 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 160 listener.testLog(dataName, dataType, dataStream); in testLog()
|
/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/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() 398 return new LogFile(log.getAbsolutePath(), null, dataType); 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() 405 return new LogFile(log.getAbsolutePath(), null, dataType); in saveLogDataRaw()
|
/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 88 mDataType = dataType; in LogHolder()
|
/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/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParser.java | 119 Asn1Type dataType = getContainerAsn1Type(containerClass); in parse() local 120 switch (dataType) { in parse() 127 int expectedTagNumber = BerEncoding.getTagNumber(dataType); in parse() 142 throw new Asn1DecodingException("Parsing container " + dataType + " not supported"); in parse()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/ |
D | BerEncoding.java | 103 public static int getTagNumber(Asn1Type dataType) { in getTagNumber() argument 104 switch (dataType) { in getTagNumber() 125 throw new IllegalArgumentException("Unsupported data type: " + dataType); in getTagNumber()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JavaCodeCoverageListenerTest.java | 386 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 388 testLog(dataName, dataType, ByteString.readFrom(input)); in testLog() 395 public void testLog(String dataName, LogDataType dataType, ByteString data) {} in testLog() argument
|
/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()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 1218 for (LogDataType dataType: dataTypes) { in getContentType() 1219 if (ext.equals(dataType.getFileExt())) { in getContentType() 1220 return dataType.getContentType(); in getContentType()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | XmlResultReporterTest.java | 42 public LogFile saveLogData(String dataName, LogDataType dataType, in saveLogData() argument 44 return new LogFile(PATH, URL, dataType); in saveLogData()
|