Searched refs:inputStream (Results 1 – 9 of 9) sorted by relevance
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ZipUtil.java | 120 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()
|
D | StreamUtil.java | 56 public static String readInputStream(InputStream inputStream) throws IOException { in readInputStream() argument 60 while ((length = inputStream.read(buffer)) != -1) { in readInputStream()
|
D | BackupUtils.java | 314 private String getLineString(InputStream inputStream) throws IOException { in getLineString() argument 316 new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8)); in getLineString()
|
D | ChecksumReporter.java | 350 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/ |
D | TestSuiteResultEntity.java | 457 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/ |
D | TestModelsListLoader.java | 156 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/ |
D | CertificationSuiteResultReporter.java | 219 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()
|
D | CertificationChecksumHelper.java | 289 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/ |
D | ResultReporter.java | 718 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()
|