Home
last modified time | relevance | path

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

/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/vti/dashboard/src/main/java/com/android/vts/api/
DTestAcknowledgmentRestServlet.java67 PrintWriter writer = response.getWriter(); in doGet() local
68 writer.print(new Gson().toJson(testAcks)); in doGet()
69 writer.flush(); in doGet()
104 PrintWriter writer = response.getWriter(); in doPost() local
105 writer.print(new Gson().toJson(KeyFactory.keyToString(key))); in doPost()
106 writer.flush(); in doPost()
DTestRunRestServlet.java129 PrintWriter writer = response.getWriter(); in doGet() local
130 writer.print(new Gson().toJson(details.toJson())); in doGet()
131 writer.flush(); in doGet()
DUserFavoriteRestServlet.java185 PrintWriter writer = response.getWriter(); in doPost() local
186 writer.print(new Gson().toJson(returnData)); in doPost()
187 writer.flush(); in doPost()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNScoringTest.java76 try (CSVWriter writer = new CSVWriter(getLocalCSVFile())) { in test() argument
77 writer.write(ta.getBenchmark()); in test()
105 try (CSVWriter writer = new CSVWriter(localResults)) { in beforeClass() argument
106 writer.writeHeader(); in beforeClass()
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/config/
DAppRemoteFileResolverTest.java268 PrintWriter writer = new PrintWriter(new OutputStreamWriter(out, UTF_8)); in classLoaderWithProviders() local
271 writer.println(line); in classLoaderWithProviders()
274 writer.flush(); in classLoaderWithProviders()
/test/mlts/benchmark/tools/
Dtensor_utils.py44 writer = Writer(fps=video_fps)
46 ani.save(save_video_path, writer=writer, dpi=250)