Searched refs:resultsDir (Results 1 – 4 of 4) sorted by relevance
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | ResultHandlerTest.java | 130 private File resultsDir = null; field in ResultHandlerTest 135 resultsDir = FileUtil.createTempDir("results"); in setUp() 136 resultDir = FileUtil.createTempDir("12345", resultsDir); in setUp() 141 if (resultsDir != null) { in tearDown() 142 FileUtil.recursiveDelete(resultsDir); in tearDown() 181 checkResult(ResultHandler.getResults(resultsDir), resultDir); in testSerialization() 185 File resultsDir = null; in testParsing() local 188 resultsDir = FileUtil.createTempDir("results"); in testParsing() 189 File resultDir = FileUtil.createTempDir("12345", resultsDir); in testParsing() 225 checkResult(ResultHandler.getResults(resultsDir), resultDir); in testParsing()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporter.java | 608 static void copyFormattingFiles(File resultsDir) { in copyFormattingFiles() argument 613 File resultFile = new File(resultsDir, resultFileName); in copyFormattingFiles() 631 static void copyDynamicConfigFiles(Map<String, File> configFiles, File resultsDir) { in copyDynamicConfigFiles() argument 634 File folder = new File(resultsDir, "config"); in copyDynamicConfigFiles() 652 private static File zipResults(File resultsDir) { in zipResults() argument 656 zipResultFile = new File(resultsDir.getParent(), String.format("%s.zip", in zipResults() 657 resultsDir.getName())); in zipResults() 658 ZipUtil.createZip(resultsDir, zipResultFile); in zipResults() 660 warn("Failed to create zip for %s", resultsDir.getName()); in zipResults()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | CtsXmlResultReporter.java | 464 private void copyFormattingFiles(File resultsDir) { in copyFormattingFiles() argument 469 File resultFile = new File(resultsDir, resultFileName); in copyFormattingFiles() 486 private void zipResults(File resultsDir) { in zipResults() argument 489 File zipResultFile = new File(resultsDir.getParent(), String.format("%s.zip", in zipResults() 490 resultsDir.getName())); in zipResults() 491 FileUtil.createZip(resultsDir, zipResultFile); in zipResults() 493 Log.w(LOG_TAG, String.format("Failed to create zip for %s", resultsDir.getName())); in zipResults()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | ResultHandler.java | 100 public static List<IInvocationResult> getResults(File resultsDir) { in getResults() argument 102 File[] files = resultsDir.listFiles(); in getResults() 368 public static IInvocationResult findResult(File resultsDir, Integer sessionId) in findResult() argument 375 List<IInvocationResult> results = getResults(resultsDir); in findResult()
|