Searched refs:inputStream (Results 1 – 10 of 10) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TarUtil.java | 165 InputStreamSource inputStream = null; in extractAndLog() local 167 inputStream = new FileInputStreamSource(targzFile); in extractAndLog() 168 listener.testLog(baseName, LogDataType.TAR_GZ, inputStream); in extractAndLog() 170 StreamUtil.cancel(inputStream); in extractAndLog()
|
D | ZipUtil.java | 308 InputStream inputStream = null; in writeToStream() local 310 inputStream = new BufferedInputStream(new FileInputStream(file)); in writeToStream() 311 StreamUtil.copyStreams(inputStream, out); in writeToStream() 313 StreamUtil.close(inputStream); in writeToStream()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | XmlResultReporter.java | 100 InputStream inputStream = null; in generateSummary() local 113 inputStream = new ByteArrayInputStream(outputStream.toByteArray()); in generateSummary() 115 inputStream); in generateSummary() 125 StreamUtil.close(inputStream); in generateSummary()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GCSFileDownloaderFuncTest.java | 101 InputStream inputStream = mDownloader.downloadFile(sBucketName, FILE_NAME); in testDownloadFile() local 102 String content = StreamUtil.getStringFromStream(inputStream); in testDownloadFile()
|
D | ZipUtil2Test.java | 123 final InputStream inputStream = in getTestDataFile() local 126 FileUtil.writeToFile(inputStream, zipFile); in getTestDataFile()
|
D | ZipUtilTest.java | 49 final InputStream inputStream = in getTestDataFile() local 52 FileUtil.writeToFile(inputStream, zipFile); in getTestDataFile()
|
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/ |
D | OpenGlPerformanceTest.java | 401 InputStream inputStream = new ByteArrayInputStream(output.getBytes()); in testParseOutputFile() local 402 mTestInstance.parseOutputFile(inputStream, 0); in testParseOutputFile() 494 InputStream inputStream = new ByteArrayInputStream(output1.getBytes()); in testParseTwoInputs() local 495 mTestInstance.parseOutputFile(inputStream, 0); in testParseTwoInputs() 497 inputStream = new ByteArrayInputStream(output2.getBytes()); in testParseTwoInputs() 498 mTestInstance.parseOutputFile(inputStream, 1); in testParseTwoInputs()
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | FileLogger.java | 241 void dumpToLog(InputStream inputStream) throws IOException { in dumpToLog() argument 243 StreamUtil.copyStreams(inputStream, mLogStream); in dumpToLog()
|
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
D | HttpHelper.java | 361 InputStream inputStream = null; in run() local 372 inputStream = getConnectionInputStream(conn); in run() 377 while ((bytesRead = inputStream.read(bufResult, currBufPos, in run() 400 StreamUtil.close(inputStream); in run()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | CodeCoverageTestBaseTest.java | 194 try (FileInputStream inputStream = new FileInputStream(measurementFile)) { in generateCoverageReport() argument 195 mCapturedMeasurements.add(ByteString.readFrom(inputStream)); in generateCoverageReport()
|