/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | LightInvocationResultTest.java | 30 private File resultsDir; field in LightInvocationResultTest 34 resultsDir = FileUtil.createTempDir("results"); in setUp() 39 FileUtil.recursiveDelete(resultsDir); in tearDown() 43 File resultDir = ResultHandlerTest.writeResultDir(resultsDir, false); in testLightInvocationResultInstatiate()
|
D | ResultHandlerTest.java | 177 private File resultsDir = null; field in ResultHandlerTest 182 resultsDir = FileUtil.createTempDir("results"); in setUp() 183 resultDir = FileUtil.createTempDir("12345", resultsDir); in setUp() 188 FileUtil.recursiveDelete(resultsDir); in tearDown() 373 File resultDir = writeResultDir(resultsDir, false); in testParsing() 379 File resultDir = writeResultDir(resultsDir, true); in testParsing_newTestFormat() 388 File resultDir = writeResultDir(resultsDir, buildInfo, false); in testParsing_usesUnalteredBuildFingerprintWhenPresent() 399 File resultDir = writeResultDir(resultsDir, buildInfo, false); in testParsing_whenUnalteredBuildFingerprintIsEmpty_usesRegularBuildFingerprint() 405 File resultDir = writeResultDir(resultsDir, false); in testGetLightResults() 406 List<IInvocationResult> lightResults = ResultHandler.getLightResults(resultsDir); in testGetLightResults() [all …]
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ResultHandler.java | 132 public static List<IInvocationResult> getLightResults(File resultsDir) { in getLightResults() argument 134 List<File> files = getResultDirectories(resultsDir); in getLightResults() 617 public static IInvocationResult findResult(File resultsDir, Integer sessionId) { in findResult() argument 618 return findResult(resultsDir, sessionId, true); in findResult() 625 File resultsDir, Integer sessionId, Boolean useChecksum) { in findResult() argument 630 File resultDir = getResultDirectory(resultsDir, sessionId); in findResult() 641 public static File getResultDirectory(File resultsDir, Integer sessionId) { in getResultDirectory() argument 646 List<File> allResultDirs = getResultDirectories(resultsDir); in getResultDirectory() 650 sessionId, resultsDir.getAbsolutePath(), allResultDirs.size())); in getResultDirectory() 660 public static List<File> getResultDirectories(File resultsDir) { in getResultDirectories() argument [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationSuiteResultReporter.java | 508 private void copyFormattingFiles(File resultsDir, String suiteName) { in copyFormattingFiles() argument 518 File resultFile = new File(resultsDir, resultFileName); in copyFormattingFiles() 570 private static File zipResults(File resultsDir) { in zipResults() argument 574 zipResultFile = new File(resultsDir.getParent(), String.format("%s.zip", in zipResults() 575 resultsDir.getName())); in zipResults() 576 ZipUtil.createZip(resultsDir, zipResultFile); in zipResults() 578 CLog.w("Failed to create zip for %s", resultsDir.getName()); in zipResults()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporter.java | 981 static void copyFormattingFiles(File resultsDir, String suiteName) { in copyFormattingFiles() argument 991 File resultFile = new File(resultsDir, resultFileName); in copyFormattingFiles() 1076 private static File zipResults(File resultsDir) { in zipResults() argument 1080 zipResultFile = new File(resultsDir.getParent(), String.format("%s.zip", in zipResults() 1081 resultsDir.getName())); in zipResults() 1082 ZipUtil.createZip(resultsDir, zipResultFile); in zipResults() 1084 warn("Failed to create zip for %s", resultsDir.getName()); in zipResults()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/ |
D | CompatibilityConsole.java | 472 private List<File> getResults(File resultsDir) { in getResults() argument 473 return ResultHandler.getResultDirectories(resultsDir); in getResults()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepoTest.java | 143 File resultsDir = new File(subRootDir, "results"); in setUp() local 144 File resultDir = new File(resultsDir, CompatibilityBuildHelper.getDirSuffix(0)); in setUp()
|