/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | ReportLogCollector.java | 60 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 …]
|
D | DeviceFileCollector.java | 77 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()
|
D | ResultFilePuller.java | 80 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/ |
D | ResultHandler.java | 127 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 …]
|
D | InvocationResult.java | 236 public void setRetryDirectory(File resultDir) { in setRetryDirectory() argument 237 mRetryDirectory = resultDir; in setRetryDirectory()
|
D | LightInvocationResult.java | 246 public void setRetryDirectory(File resultDir) { in setRetryDirectory() argument 247 mRetryDirectory = resultDir; in setRetryDirectory()
|
D | IInvocationResult.java | 136 void setRetryDirectory(File resultDir); in setRetryDirectory() argument
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | LightInvocationResultTest.java | 43 File resultDir = ResultHandlerTest.writeResultDir(resultsDir); in testLightInvocationResultInstatiate() local 44 IInvocationResult fullResult = ResultHandler.getResultFromDir(resultDir); in testLightInvocationResultInstatiate()
|
D | ResultHandlerTest.java | 138 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/ |
D | CollectorUtil.java | 96 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/ |
D | ResultReporterTest.java | 412 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/ |
D | ModuleRepoTest.java | 144 File resultDir = new File(resultsDir, CompatibilityBuildHelper.getDirSuffix(0)); in setUp() local 145 resultDir.mkdirs(); in setUp()
|