Searched refs:inputStream (Results 1 – 10 of 10) sorted by relevance
120 InputStream inputStream = null; in writeToStream() local122 inputStream = new BufferedInputStream(new FileInputStream(file)); in writeToStream()123 StreamUtil.copyStreams(inputStream, out); in writeToStream()125 inputStream.close(); in writeToStream()
56 public static String readInputStream(InputStream inputStream) throws IOException { in readInputStream() argument60 while ((length = inputStream.read(buffer)) != -1) { in readInputStream()
338 private String getLineString(InputStream inputStream) throws IOException { in getLineString() argument340 new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8)); in getLineString()
350 InputStream inputStream = new BufferedInputStream(fis)) { in calculateFileChecksum()355 while ((cnt = inputStream.read(buffer)) != -1) { in calculateFileChecksum()
154 static String readAssetsFileAsString(InputStream inputStream) throws IOException { in readAssetsFileAsString() argument155 Reader reader = new InputStreamReader(inputStream); in readAssetsFileAsString()
457 InputStream inputStream = in getLabInfraIssueDescription() local463 String templateDescription = IOUtils.toString(inputStream, StandardCharsets.UTF_8.name()); in getLabInfraIssueDescription()489 InputStream inputStream = in getCrashSecurityDescription() local495 String templateDescription = IOUtils.toString(inputStream, StandardCharsets.UTF_8.name()); in getCrashSecurityDescription()
165 try (InputStream inputStream = stream.createInputStream()) { in testLog() argument166 logFile = mTestLogSaver.saveAndGZipLogData(name, type, inputStream); in testLog()169 try (InputStream inputStream = stream.createInputStream()) { in testLog() argument170 logFile = mTestLogSaver.saveLogData(name, type, inputStream); in testLog()
289 InputStream inputStream = new BufferedInputStream(fis)) { in calculateFileChecksum()294 while ((cnt = inputStream.read(buffer)) != -1) { in calculateFileChecksum()
678 try (InputStream inputStream = stream.createInputStream()) { in testLog() argument679 logFile = mTestLogSaver.saveAndGZipLogData(name, type, inputStream); in testLog()682 try (InputStream inputStream = stream.createInputStream()) { in testLog() argument683 logFile = mTestLogSaver.saveLogData(name, type, inputStream); in testLog()
META-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...