Home
last modified time | relevance | path

Searched refs:getFileExt (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/result/
DLogFileSaver.java202 return saveLogDataRaw(dataName, dataType.getFileExt(), dataStream); in saveLogData()
278 + LogDataType.ZIP.getFileExt(), mInvLogDir); in saveAndZipLogData()
282 outStream.putNextEntry(new ZipEntry(saneDataName + "." + dataType.getFileExt())); in saveAndZipLogData()
305 String.format(".%s.%s", origDataType.getFileExt(), LogDataType.GZIP.getFileExt()), in createCompressedLogFile()
DFileSystemLogSaver.java118 File log = saveLogDataInternal(dataName, dataType.getFileExt(), dataStream); in saveLogData()
125 File log = FileUtil.createTempFile(saneDataName + "_", "." + LogDataType.ZIP.getFileExt(), in saveLogData()
137 outputStream.putNextEntry(new ZipEntry(saneDataName + "." + dataType.getFileExt())); in saveLogData()
151 File log = saveLogDataInternal(dataName, dataType.getFileExt(), dataStream); in saveLogDataRaw()
DDeviceFileReporter.java59 final String ext = "." + type.getFileExt();
187 file, file.length(), type.getFileExt()); in run()
DLogDataType.java73 public String getFileExt() { in getFileExt() method in LogDataType
DSubprocessResultsReporter.java194 "subprocess-" + dataName, "." + dataType.getFileExt()); in testLog()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java187 assertTrue(logFile.getName().endsWith(LogDataType.GZIP.getFileExt())); in testSaveAndGZipLogData()
211 assertTrue(logFile.getName().endsWith(LogDataType.ZIP.getFileExt())); in testSaveAndZipLogData()
238 assertTrue(logFile.getName().endsWith(LogDataType.TEXT.getFileExt() + "." + in testCreateAndGZipLogData()
239 LogDataType.GZIP.getFileExt())); in testCreateAndGZipLogData()
269 "testSaveLogData", LogDataType.TEXT.getFileExt(), mockInput); in testSaveLogDataRaw()
DFileSystemLogSaverTest.java180 assertTrue(logFile.getPath().endsWith(LogDataType.ZIP.getFileExt())); in testSaveLogData_uncompressed()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/
DTestRecordProtoUtilTest.java55 File protoFile = FileUtil.createTempFile("test-proto", "." + LogDataType.PB.getFileExt()); in dumpTestRecord()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DJavaCodeCoverageListener.java74 "." + LogDataType.COVERAGE.getFileExt()); in testRunEnded()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAtraceCollector.java135 return Paths.get(mLogPath, mLogFilename + "." + getLogType().getFileExt()).toString(); in fullLogPath()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java390 if (file.getPath().endsWith(LogDataType.ZIP.getFileExt())) { in handleLogs()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java388 "context-proto", "." + LogDataType.PB.getFileExt(), mSandboxTmpFolder); in prepareContext()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileUtil.java1171 if (ext.equals(dataType.getFileExt())) { in getContentType()