Home
last modified time | relevance | path

Searched refs:resultDir (Results 1 – 12 of 12) sorted by relevance

/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DReportLogCollector.java60 File resultDir = buildHelper.getResultDir(); in prepareReportLogContainers() local
62 resultDir = new File(resultDir, mDestDir); in prepareReportLogContainers()
64 resultDir.mkdirs(); in prepareReportLogContainers()
65 if (!resultDir.isDirectory()) { in prepareReportLogContainers()
66 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in prepareReportLogContainers()
79 File resultDir = buildHelper.getResultDir(); in tearDown() local
81 resultDir = new File(resultDir, mDestDir); in tearDown()
83 resultDir.mkdirs(); in tearDown()
84 if (!resultDir.isDirectory()) { in tearDown()
85 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in tearDown()
[all …]
DDeviceFileCollector.java77 File resultDir = buildHelper.getResultDir(); in createResultDir() local
81 mResultFile = Paths.get(resultDir.getAbsolutePath(), mDestFile).toFile(); in createResultDir()
82 resultDir = mResultFile.getParentFile(); in createResultDir()
83 resultDir.mkdirs(); in createResultDir()
84 if (!resultDir.isDirectory()) { in createResultDir()
85 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in createResultDir()
DResultFilePuller.java80 File resultDir = buildHelper.getResultDir(); in tearDown() local
82 resultDir = new File(resultDir, mDestDir); in tearDown()
84 resultDir.mkdirs(); in tearDown()
85 if (!resultDir.isDirectory()) { in tearDown()
86 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in tearDown()
89 String resultPath = resultDir.getAbsolutePath(); in tearDown()
/cts/common/util/src/com/android/compatibility/common/util/
DResultHandler.java127 for (File resultDir : files) { in getLightResults()
128 IInvocationResult result = getResultFromDir(resultDir, false); in getLightResults()
145 public static IInvocationResult getResultFromDir(File resultDir) { in getResultFromDir() argument
146 return getResultFromDir(resultDir, false); in getResultFromDir()
154 public static IInvocationResult getResultFromDir(File resultDir, Boolean useChecksum) { in getResultFromDir() argument
156 File resultFile = new File(resultDir, TEST_RESULT_FILE_NAME); in getResultFromDir()
162 invocation.setRetryDirectory(resultDir); in getResultFromDir()
166 checksumReporter = ChecksumReporter.load(resultDir); in getResultFromDir()
293 String suiteBuild, IInvocationResult result, File resultDir, in writeResults() argument
299 File resultFile = new File(resultDir, TEST_RESULT_FILE_NAME); in writeResults()
[all …]
DInvocationResult.java236 public void setRetryDirectory(File resultDir) { in setRetryDirectory() argument
237 mRetryDirectory = resultDir; in setRetryDirectory()
DLightInvocationResult.java246 public void setRetryDirectory(File resultDir) { in setRetryDirectory() argument
247 mRetryDirectory = resultDir; in setRetryDirectory()
DIInvocationResult.java136 void setRetryDirectory(File resultDir); in setRetryDirectory() argument
/cts/common/util/tests/src/com/android/compatibility/common/util/
DLightInvocationResultTest.java43 File resultDir = ResultHandlerTest.writeResultDir(resultsDir); in testLightInvocationResultInstatiate() local
44 IInvocationResult fullResult = ResultHandler.getResultFromDir(resultDir); in testLightInvocationResultInstatiate()
DResultHandlerTest.java138 private File resultDir = null; field in ResultHandlerTest
143 resultDir = FileUtil.createTempDir("12345", resultsDir); in setUp()
192 result, resultDir, START_MS, END_MS, REFERENCE_URL, LOG_URL, in testSerialization()
196 checkResult(ResultHandler.getResultFromDir(resultDir)); in testSerialization()
200 File resultDir = writeResultDir(resultsDir); in testParsing() local
202 checkResult(ResultHandler.getResultFromDir(resultDir)); in testParsing()
206 File resultDir = writeResultDir(resultsDir); in testGetLightResults() local
218 File resultDir = null; in writeResultDir() local
221 resultDir = FileUtil.createTempDir("12345", resultsDir); in writeResultDir()
223 File resultFile = new File(resultDir, ResultHandler.TEST_RESULT_FILE_NAME); in writeResultDir()
[all …]
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DCollectorUtil.java96 public static void reformatRepeatedStreams(File resultDir) { in reformatRepeatedStreams() argument
98 File[] reportLogs = resultDir.listFiles(); in reformatRepeatedStreams()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java412 File resultDir = new File(mBuildHelper.getResultsDir(), RESULT_DIR); in testCopyFormattingFiles() local
413 resultDir.mkdirs(); in testCopyFormattingFiles()
414 ResultReporter.copyFormattingFiles(resultDir, SUITE_NAME); in testCopyFormattingFiles()
416 File file = new File(resultDir, filename); in testCopyFormattingFiles()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepoTest.java144 File resultDir = new File(resultsDir, CompatibilityBuildHelper.getDirSuffix(0)); in setUp() local
145 resultDir.mkdirs(); in setUp()