Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DReportLogCollector.java65 File resultDir = buildHelper.getResultDir(); in prepareReportLogContainers() local
67 resultDir = new File(resultDir, mDestDir); in prepareReportLogContainers()
69 resultDir.mkdirs(); in prepareReportLogContainers()
70 if (!resultDir.isDirectory()) { in prepareReportLogContainers()
71 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in prepareReportLogContainers()
94 File resultDir = buildHelper.getResultDir(); in tearDown() local
96 resultDir = new File(resultDir, mDestDir); in tearDown()
98 resultDir.mkdirs(); in tearDown()
99 if (!resultDir.isDirectory()) { in tearDown()
100 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in tearDown()
[all …]
DDeviceFileCollector.java93 File resultDir = buildHelper.getResultDir(); in createResultDir() local
97 mResultFile = Paths.get(resultDir.getAbsolutePath(), mDestFile).toFile(); in createResultDir()
98 resultDir = mResultFile.getParentFile(); in createResultDir()
99 resultDir.mkdirs(); in createResultDir()
100 if (!resultDir.isDirectory()) { in createResultDir()
101 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in createResultDir()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousSessionFileCopier.java73 File resultDir = getResultDirectory(); in invocationEnded() local
74 copyRetryFiles(mPreviousSessionDir, resultDir); in invocationEnded()
119 File resultDir = null; in getResultDirectory() local
121 resultDir = mBuildHelper.getResultDir(); in getResultDirectory()
122 if (resultDir != null) { in getResultDirectory()
123 resultDir.mkdirs(); in getResultDirectory()
128 if (resultDir == null) { in getResultDirectory()
131 if (!resultDir.exists()) { in getResultDirectory()
133 "Result Directory was not created: " + resultDir.getAbsolutePath()); in getResultDirectory()
135 CLog.d("Results Directory: %s", resultDir.getAbsolutePath()); in getResultDirectory()
[all …]
DCompatibilityProtoResultReporter.java53 File resultDir = mBuildHelper.getResultDir(); in getProtoResultDirectory() local
54 if (resultDir != null) { in getProtoResultDirectory()
55 resultDir.mkdirs(); in getProtoResultDirectory()
57 protoDir = new File(resultDir, PROTO_DIR); in getProtoResultDirectory()
DCertificationSuiteResultReporter.java377 public void postFormattingStep(File resultDir, File reportFile) { in postFormattingStep() argument
378 super.postFormattingStep(resultDir,reportFile); in postFormattingStep()
381 resultDir, in postFormattingStep()
634 private void createChecksum(File resultDir, Collection<TestRunResult> results, in createChecksum() argument
636 CertificationChecksumHelper.tryCreateChecksum(resultDir, results, buildFingerprint); in createChecksum()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DResultHandler.java135 for (File resultDir : files) { in getLightResults()
136 if (LATEST_RESULT_DIR.equals(resultDir.getName())) { in getLightResults()
139 IInvocationResult result = getResultFromDir(resultDir, false); in getLightResults()
156 public static IInvocationResult getResultFromDir(File resultDir) { in getResultFromDir() argument
157 return getResultFromDir(resultDir, false); in getResultFromDir()
165 public static IInvocationResult getResultFromDir(File resultDir, Boolean useChecksum) { in getResultFromDir() argument
168 resultFile = new File(resultDir, TEST_RESULT_FILE_NAME); in getResultFromDir()
174 invocation.setRetryDirectory(resultDir); in getResultFromDir()
178 checksumReporter = ChecksumReporter.load(resultDir); in getResultFromDir()
383 File resultDir, in writeResults() argument
[all …]
DInvocationResult.java249 public void setRetryDirectory(File resultDir) { in setRetryDirectory() argument
250 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
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java178 private File resultDir = null; field in ResultHandlerTest
183 resultDir = FileUtil.createTempDir("12345", resultsDir); in setUp()
254 resultDir, in testSerialization()
272 result = ResultHandler.getResultFromDir(resultDir); in testSerialization()
345 resultDir, in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
373 File resultDir = writeResultDir(resultsDir, false); in testParsing() local
375 checkResult(ResultHandler.getResultFromDir(resultDir), false); in testParsing()
379 File resultDir = writeResultDir(resultsDir, true); in testParsing_newTestFormat() local
381 checkResult(ResultHandler.getResultFromDir(resultDir), true); in testParsing_newTestFormat()
388 File resultDir = writeResultDir(resultsDir, buildInfo, false); in testParsing_usesUnalteredBuildFingerprintWhenPresent() local
[all …]
DLightInvocationResultTest.java43 File resultDir = ResultHandlerTest.writeResultDir(resultsDir, false); in testLightInvocationResultInstatiate() local
44 IInvocationResult fullResult = ResultHandler.getResultFromDir(resultDir); in testLightInvocationResultInstatiate()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsTraceCollectPreparer.java98 File resultDir = buildHelper.getResultDir(); in setUp() local
99 File traceDir = new File(resultDir, mLocalTraceDir); in setUp()
DVtsCoveragePreparer.java222 File resultDir = buildHelper.getResultDir(); in setUp() local
223 File coverageDir = new File(resultDir, mCoverageReportDir); in setUp()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DCollectorUtil.java98 public static void reformatRepeatedStreams(File resultDir) { in reformatRepeatedStreams() argument
100 File[] reportLogs = resultDir.listFiles(); in reformatRepeatedStreams()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
DCompatibilityConsole.java419 for (File resultDir : resultDirs) { in listResults()
420 if (LATEST_RESULT_DIR.equals(resultDir.getName())) { in listResults()
424 holders.put(xmlParser.parseResults(resultDir, true), resultDir); in listResults() local
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java447 File resultDir = new File(mBuildHelper.getResultsDir(), RESULT_DIR); in testCopyFormattingFiles() local
448 resultDir.mkdirs(); in testCopyFormattingFiles()
449 ResultReporter.copyFormattingFiles(resultDir, SUITE_NAME); in testCopyFormattingFiles()
451 File file = new File(resultDir, filename); in testCopyFormattingFiles()
/test/framework/harnesses/cts-tradefed/
Dtradefed-cts-prebuilt.jarMETA-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...
/test/suite_harness/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()