Home
last modified time | relevance | path

Searched refs:dataType (Results 1 – 25 of 42) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/result/
DLogFileSaver.java200 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()
DFileSystemLogSaver.java115 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()
DLogSaverResultForwarder.java116 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()
DSubprocessResultsReporter.java211 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()
DBugreportCollector.java522 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()
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()
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
DResultForwarder.java157 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/
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/src/com/android/tradefed/invoker/
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()
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()
/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/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()
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/
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
88 mDataType = dataType; in LogHolder()
/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/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java119 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/
DBerEncoding.java103 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/
DJavaCodeCoverageListenerTest.java386 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/
DCameraTestBase.java344 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/
DFileUtil.java1218 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/
DXmlResultReporterTest.java42 public LogFile saveLogData(String dataName, LogDataType dataType, in saveLogData() argument
44 return new LogFile(PATH, URL, dataType); in saveLogData()

12