Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/result/
DLogFileSaverTest.java186 assertTrue(logFile.getName().endsWith(LogDataType.GZIP.getFileExt())); in testSaveAndGZipLogData()
213 LogDataType.TEXT.getFileExt() in testCreateAndGZipLogData()
215 + LogDataType.GZIP.getFileExt())); in testCreateAndGZipLogData()
247 "testSaveLogData", LogDataType.TEXT.getFileExt(), mockInput); in testSaveLogDataRaw()
271 "screenshot-on-failure", LogDataType.PNG.getFileExt(), mockInput); in testSaveLogDataRaw_png()
DFileSystemLogSaverTest.java187 assertTrue(logFile.getPath().endsWith(LogDataType.GZIP.getFileExt())); in testSaveLogData_uncompressed()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogFileSaver.java204 return saveLogDataRaw(dataName, dataType.getFileExt(), dataStream); in saveLogData()
226 saneDataName + "_", "." + dataType.getFileExt(), mInvLogDir); in saveLogFile()
355 String.format(".%s.%s", origDataType.getFileExt(), LogDataType.GZIP.getFileExt()), in createCompressedLogFile()
DDeviceFileReporter.java59 final String ext = "." + type.getFileExt();
187 file, file.length(), type.getFileExt()); in run()
DSubprocessResultsReporter.java246 "subprocess-" + dataName, "." + dataType.getFileExt()); in testLog()
/tools/tradefederation/core/common_util/com/android/tradefed/result/
DLogDataType.java120 public String getFileExt() { in getFileExt() method in LogDataType
/tools/tradefederation/core/javatests/com/android/tradefed/util/proto/
DTestRecordProtoUtilTest.java55 File protoFile = FileUtil.createTempFile("test-proto", "." + LogDataType.PB.getFileExt()); in dumpTestRecord()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceCollector.java151 return Paths.get(mLogPath, mLogFilename + "." + getLogType().getFileExt()).toString(); in fullLogPath()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java570 "context-proto", "." + LogDataType.PB.getFileExt(), mSandboxTmpFolder); in prepareContext()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java1381 if (ext.equals(dataType.getFileExt())) { in getContentType()