Home
last modified time | relevance | path

Searched refs:inputStream (Results 1 – 9 of 9) sorted by relevance

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DZipUtil.java120 InputStream inputStream = null; in writeToStream() local
122 inputStream = new BufferedInputStream(new FileInputStream(file)); in writeToStream()
123 StreamUtil.copyStreams(inputStream, out); in writeToStream()
125 inputStream.close(); in writeToStream()
DStreamUtil.java56 public static String readInputStream(InputStream inputStream) throws IOException { in readInputStream() argument
60 while ((length = inputStream.read(buffer)) != -1) { in readInputStream()
DBackupUtils.java314 private String getLineString(InputStream inputStream) throws IOException { in getLineString() argument
316 new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8)); in getLineString()
DChecksumReporter.java350 InputStream inputStream = new BufferedInputStream(fis)) { in calculateFileChecksum()
355 while ((cnt = inputStream.read(buffer)) != -1) { in calculateFileChecksum()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestSuiteResultEntity.java457 InputStream inputStream = in getLabInfraIssueDescription() local
463 String templateDescription = IOUtils.toString(inputStream, StandardCharsets.UTF_8.name()); in getLabInfraIssueDescription()
489 InputStream inputStream = in getCrashSecurityDescription() local
495 String templateDescription = IOUtils.toString(inputStream, StandardCharsets.UTF_8.name()); in getCrashSecurityDescription()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DTestModelsListLoader.java156 static String readAssetsFileAsString(InputStream inputStream) throws IOException { in readAssetsFileAsString() argument
157 Reader reader = new InputStreamReader(inputStream); in readAssetsFileAsString()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporter.java219 try (InputStream inputStream = stream.createInputStream()) { in testLog() argument
220 logFile = mTestLogSaver.saveAndGZipLogData(name, type, inputStream); in testLog()
223 try (InputStream inputStream = stream.createInputStream()) { in testLog() argument
224 logFile = mTestLogSaver.saveLogData(name, type, inputStream); in testLog()
DCertificationChecksumHelper.java289 InputStream inputStream = new BufferedInputStream(fis)) { in calculateFileChecksum()
294 while ((cnt = inputStream.read(buffer)) != -1) { in calculateFileChecksum()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java718 try (InputStream inputStream = stream.createInputStream()) { in testLog() argument
719 logFile = mTestLogSaver.saveAndGZipLogData(name, type, inputStream); in testLog()
722 try (InputStream inputStream = stream.createInputStream()) { in testLog() argument
723 logFile = mTestLogSaver.saveLogData(name, type, inputStream); in testLog()