Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DReportLogCollector.java63 File resultDir = buildHelper.getResultDir(); in prepareReportLogContainers() local
65 resultDir = new File(resultDir, mDestDir); in prepareReportLogContainers()
67 resultDir.mkdirs(); in prepareReportLogContainers()
68 if (!resultDir.isDirectory()) { in prepareReportLogContainers()
69 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in prepareReportLogContainers()
82 File resultDir = buildHelper.getResultDir(); in tearDown() local
84 resultDir = new File(resultDir, mDestDir); in tearDown()
86 resultDir.mkdirs(); in tearDown()
87 if (!resultDir.isDirectory()) { in tearDown()
88 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.java71 File resultDir = getResultDirectory(); in invocationEnded() local
72 copyRetryFiles(mPreviousSessionDir, resultDir); in invocationEnded()
117 File resultDir = null; in getResultDirectory() local
119 resultDir = mBuildHelper.getResultDir(); in getResultDirectory()
120 if (resultDir != null) { in getResultDirectory()
121 resultDir.mkdirs(); in getResultDirectory()
126 if (resultDir == null) { in getResultDirectory()
129 if (!resultDir.exists()) { in getResultDirectory()
131 "Result Directory was not created: " + resultDir.getAbsolutePath()); in getResultDirectory()
133 CLog.d("Results Directory: %s", resultDir.getAbsolutePath()); in getResultDirectory()
[all …]
DCertificationSuiteResultReporter.java321 public void postFormattingStep(File resultDir, File reportFile) { in postFormattingStep() argument
322 super.postFormattingStep(resultDir,reportFile); in postFormattingStep()
324 createChecksum(resultDir, getRunResults(), in postFormattingStep()
551 private void createChecksum(File resultDir, Collection<TestRunResult> results, in createChecksum() argument
553 CertificationChecksumHelper.tryCreateChecksum(resultDir, results, buildFingerprint); in createChecksum()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java157 private File resultDir = null; field in ResultHandlerTest
162 resultDir = FileUtil.createTempDir("12345", resultsDir); in setUp()
212 result, resultDir, START_MS, END_MS, REFERENCE_URL, LOG_URL, in testSerialization()
216 checkResult(ResultHandler.getResultFromDir(resultDir), false); in testSerialization()
220 File resultDir = writeResultDir(resultsDir, false); in testParsing() local
222 checkResult(ResultHandler.getResultFromDir(resultDir), false); in testParsing()
226 File resultDir = writeResultDir(resultsDir, true); in testParsing_newTestFormat() local
228 checkResult(ResultHandler.getResultFromDir(resultDir), true); in testParsing_newTestFormat()
235 File resultDir = writeResultDir(resultsDir, buildInfo, false); in testParsing_usesUnalteredBuildFingerprintWhenPresent() local
237 ResultHandler.getResultFromDir(resultDir), in testParsing_usesUnalteredBuildFingerprintWhenPresent()
[all …]
DLightInvocationResultTest.java43 File resultDir = ResultHandlerTest.writeResultDir(resultsDir, false); in testLightInvocationResultInstatiate() local
44 IInvocationResult fullResult = ResultHandler.getResultFromDir(resultDir); in testLightInvocationResultInstatiate()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DResultHandler.java130 for (File resultDir : files) { in getLightResults()
131 if (LATEST_RESULT_DIR.equals(resultDir.getName())) { in getLightResults()
134 IInvocationResult result = getResultFromDir(resultDir, false); in getLightResults()
151 public static IInvocationResult getResultFromDir(File resultDir) { in getResultFromDir() argument
152 return getResultFromDir(resultDir, false); in getResultFromDir()
160 public static IInvocationResult getResultFromDir(File resultDir, Boolean useChecksum) { in getResultFromDir() argument
163 resultFile = new File(resultDir, TEST_RESULT_FILE_NAME); in getResultFromDir()
169 invocation.setRetryDirectory(resultDir); in getResultFromDir()
173 checksumReporter = ChecksumReporter.load(resultDir); in getResultFromDir()
323 String suiteBuild, IInvocationResult result, File resultDir, in writeResults() argument
[all …]
DInvocationResult.java235 public void setRetryDirectory(File resultDir) { in setRetryDirectory() argument
236 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/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.java382 for (File resultDir : resultDirs) { in listResults()
383 if (LATEST_RESULT_DIR.equals(resultDir.getName())) { in listResults()
387 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.java448 File resultDir = new File(mBuildHelper.getResultsDir(), RESULT_DIR); in testCopyFormattingFiles() local
449 resultDir.mkdirs(); in testCopyFormattingFiles()
450 ResultReporter.copyFormattingFiles(resultDir, SUITE_NAME); in testCopyFormattingFiles()
452 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()