Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 8 of 8) sorted by relevance

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DMetadataReporter.java187 try (JsonWriter writer = new JsonWriter(new PrintWriter(metadataFile))) { in tryWriteToFile() argument
188 writer.beginObject(); in tryWriteToFile()
190 writer.name("fingerprint"); in tryWriteToFile()
191 writer.value(buildAttributes.get("cts:build_fingerprint")); in tryWriteToFile()
193 writer.name("product"); in tryWriteToFile()
194 writer.value(buildAttributes.get("cts:build_product")); in tryWriteToFile()
196 writer.name("build_id"); in tryWriteToFile()
197 writer.value(buildAttributes.get("cts:build_id")); in tryWriteToFile()
199 writer.name("suite_version"); in tryWriteToFile()
200 writer.value(compatibilityBuildHelper.getSuiteVersion()); in tryWriteToFile()
[all …]
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DCSVWriter.java35 private final BufferedWriter writer; field in CSVWriter
38 writer = new BufferedWriter(new FileWriter(csvFile, true)); in CSVWriter()
70 writer.write(benchmarkResult.toCsvLine()); in write()
74 writer.write(deviceInfoCsvLine()); in writeHeader()
75 writer.write(RESULT_FORMAT_COMMENT); in writeHeader()
76 writer.write('\n'); in writeHeader()
82 writer.close(); in close()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNScoringTest.java78 try (CSVWriter writer = new CSVWriter(getLocalCSVFile())) { in test() argument
79 writer.write(ta.getBenchmark()); in test()
107 try (CSVWriter writer = new CSVWriter(localResults)) { in beforeClass() argument
108 writer.writeHeader(); in beforeClass()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DSubPlanTest.java82 FileWriter writer = new FileWriter(planFile); in testParsing() local
97 writer.write(xml); in testParsing()
98 writer.flush(); in testParsing()
101 writer.close(); in testParsing()
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/config/
DAppRemoteFileResolverTest.java273 PrintWriter writer = new PrintWriter(new OutputStreamWriter(out, UTF_8)); in classLoaderWithProviders() local
276 writer.println(line); in classLoaderWithProviders()
279 writer.flush(); in classLoaderWithProviders()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DCrashReporter.java64 try (BufferedWriter writer = new BufferedWriter(new FileWriter(reportFile))) { in upload() argument
65 writer.write(crashes.toString()); in upload()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DCollectorUtil.java117 try (BufferedWriter writer = new BufferedWriter(new FileWriter(file))) { in writeFile() argument
118 writer.write(jsonString, 0, jsonString.length()); in writeFile()
/test/mlts/benchmark/tools/
Dtensor_utils.py44 writer = Writer(fps=video_fps)
46 ani.save(save_video_path, writer=writer, dpi=250)