Searched refs:getFileExt (Results 1 – 13 of 13) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogFileSaver.java | 202 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()
|
D | FileSystemLogSaver.java | 118 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()
|
D | DeviceFileReporter.java | 59 final String ext = "." + type.getFileExt(); 187 file, file.length(), type.getFileExt()); in run()
|
D | LogDataType.java | 73 public String getFileExt() { in getFileExt() method in LogDataType
|
D | SubprocessResultsReporter.java | 194 "subprocess-" + dataName, "." + dataType.getFileExt()); in testLog()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | LogFileSaverTest.java | 187 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()
|
D | FileSystemLogSaverTest.java | 180 assertTrue(logFile.getPath().endsWith(LogDataType.ZIP.getFileExt())); in testSaveLogData_uncompressed()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/ |
D | TestRecordProtoUtilTest.java | 55 File protoFile = FileUtil.createTempFile("test-proto", "." + LogDataType.PB.getFileExt()); in dumpTestRecord()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | JavaCodeCoverageListener.java | 74 "." + LogDataType.COVERAGE.getFileExt()); in testRunEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | AtraceCollector.java | 135 return Paths.get(mLogPath, mLogFilename + "." + getLogType().getFileExt()).toString(); in fullLogPath()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultParser.java | 390 if (file.getPath().endsWith(LogDataType.ZIP.getFileExt())) { in handleLogs()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | TradefedSandbox.java | 388 "context-proto", "." + LogDataType.PB.getFileExt(), mSandboxTmpFolder); in prepareContext()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | FileUtil.java | 1171 if (ext.equals(dataType.getFileExt())) { in getContentType()
|