/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTest.java | 251 InputStream inputStream = null; in processTestResults() local 253 inputStream = new FileInputStream(yamlSummaryFile); in processTestResults() 254 processYamlTestResults(inputStream, parser); in processTestResults() 259 StreamUtil.close(inputStream); in processTestResults() 264 protected void processYamlTestResults(InputStream inputStream, MoblyYamlResultParser parser) { in processYamlTestResults() argument 266 parser.parse(inputStream); in processYamlTestResults() 276 InputStream inputStream = null; in updateConfigFile() local 281 inputStream = new FileInputStream(mConfigFile); in updateConfigFile() 283 updateConfigFile(inputStream, fileWriter, getDevice().getSerialNumber()); in updateConfigFile() 289 StreamUtil.close(inputStream); in updateConfigFile()
|
D | MoblyYamlResultParser.java | 55 public void parse(InputStream inputStream) in parse() argument 58 for (Object doc : yaml.loadAll(inputStream)) { in parse()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ZipUtil.java | 325 InputStream inputStream = null; in writeToStream() local 327 inputStream = new BufferedInputStream(new FileInputStream(file)); in writeToStream() 328 StreamUtil.copyStreams(inputStream, out); in writeToStream() 330 StreamUtil.close(inputStream); in writeToStream() 598 try (FileInputStream inputStream = new FileInputStream(zipFile); in unzipRawZip() argument 602 while (inputStream.read(data) > 0) { in unzipRawZip()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/ |
D | StreamAdapter.kt | 26 class InputStreamAdapter(val inputStream: InputStream, constant in trebuchet.extras.InputStreamAdapter 30 : this(file.inputStream(), file.length(), progressCallback) 38 val read = inputStream.read(buffer) in next() 50 inputStream.close() in close()
|
/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/src/com/android/tradefed/util/ |
D | TarUtil.java | 221 InputStreamSource inputStream = null; in extractAndLog() local 223 inputStream = new FileInputStreamSource(targzFile); in extractAndLog() 224 listener.testLog(baseName, LogDataType.TAR_GZ, inputStream); in extractAndLog() 226 StreamUtil.cancel(inputStream); in extractAndLog()
|
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/ |
D | ClearcutClient.java | 261 InputStream inputStream = null; in sendToClearcut() local 274 inputStream = connection.getInputStream(); in sendToClearcut() 275 LogResponse response = LogResponse.parseFrom(inputStream); in sendToClearcut() 286 StreamUtil.close(inputStream); in sendToClearcut()
|
/tools/tradefederation/core/common_util/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/trebuchet/core/common/src/test/kotlin/trebuchet/io/ |
D | StringStreamTest.kt | 70 val inputStream = file.inputStream() in readFile() constant 74 val read = inputStream.read(buffer) in readFile()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/task/ |
D | ImportTaskTest.kt | 88 val inputStream = file.inputStream() in <lambda>() constant 92 val read = inputStream.read(buffer) in <lambda>()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/ |
D | GameQualificationHostsideController.java | 313 try(InputStream inputStream = ApkInfo.class.getResourceAsStream(resource)) { in initApkList() argument 314 if (inputStream == null) { in initApkList() 319 ByteStreams.copy(inputStream, ostream); in initApkList()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GCSFileDownloaderFuncTest.java | 156 InputStream inputStream = in testDownloadFile_streamOutput() local 158 String content = StreamUtil.getStringFromStream(inputStream); in testDownloadFile_streamOutput() 160 inputStream.reset(); in testDownloadFile_streamOutput()
|
D | ZipUtil2Test.java | 123 final InputStream inputStream = in getTestDataFile() local 126 FileUtil.writeToFile(inputStream, zipFile); in getTestDataFile()
|
D | RemoteZipTest.java | 53 final InputStream inputStream = in saveTestDataFile() local 55 FileUtil.writeToFile(inputStream, destFile, false, startOffset, size); in saveTestDataFile()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | Xml.kt | 59 val inputStream = InputSource(xml) in parseDocument() constant 74 return builder.parse(inputStream) in parseDocument()
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | FileLogger.java | 112 void dumpToLog(InputStream inputStream) throws IOException { in dumpToLog() argument 114 StreamUtil.copyStreams(inputStream, mOutputStream); in dumpToLog()
|
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParser.java | 89 public GameCoreConfiguration parse(InputStream inputStream) in parse() argument 93 Document doc = db.parse(inputStream); in parse()
|
/tools/loganalysis/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 168 try (InputStream inputStream = logcatData.createInputStream(); in parse() argument 169 InputStreamReader logcatReader = new InputStreamReader(inputStream); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | DelegatedInvocationExecution.java | 226 try (FileInputStreamSource inputStream = new FileInputStreamSource(fileToExport, true)) { in logAndCleanFile() argument 227 listener.testLog(fileToExport.getName(), type, inputStream); in logAndCleanFile() local
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 206 try (InputStream inputStream = logcatData.createInputStream(); in parse() argument 207 InputStreamReader logcatReader = new InputStreamReader(inputStream); in parse()
|
D | PerfettoPullerMetricCollector.java | 402 InputStream inputStream = largeStreamSrc.createInputStream()) { in retrieveFile() 409 while ((bytesRead = inputStream.read(buffer)) > -1) { in retrieveFile()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/ |
D | PerformanceTest.java | 252 try (InputStream inputStream = new FileInputStream(resultFile)) { in retrieveResultData() argument 253 return ResultDataProto.Result.parseFrom(inputStream); in retrieveResultData()
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | TimingsLogParserTest.java | 350 InputStream inputStream = new ByteArrayInputStream(input.getBytes()); in createBufferedReader() local 351 InputStreamReader reader = new InputStreamReader(inputStream); in createBufferedReader()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTestTest.java | 294 InputStream inputStream = new ByteArrayInputStream(configString.getBytes()); in testUpdateConfigFile() local 296 mSpyTest.updateConfigFile(inputStream, writer, DEVICE_SERIAL); in testUpdateConfigFile()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | SubprocessTfLauncher.java | 457 try (FileInputStreamSource inputStream = new FileInputStreamSource(fileToExport)) { in logAndCleanFile() argument 458 listener.testLog(fileToExport.getName(), LogDataType.TEXT, inputStream); in logAndCleanFile() local
|