/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | XmlResultReporter.java | 99 ByteArrayOutputStream outputStream = null; in generateSummary() local 103 outputStream = createOutputStream(); in generateSummary() 105 serializer.setOutput(outputStream, "UTF-8"); in generateSummary() 113 inputStream = new ByteArrayInputStream(outputStream.toByteArray()); in generateSummary() 124 StreamUtil.close(outputStream); in generateSummary()
|
D | FileSystemLogSaver.java | 122 ZipOutputStream outputStream = null; in saveLogData() local 135 outputStream = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(log), in saveLogData() 137 outputStream.putNextEntry(new ZipEntry(saneDataName + "." + dataType.getFileExt())); in saveLogData() 138 StreamUtil.copyStreams(bufferedDataStream, outputStream); in saveLogData() 143 StreamUtil.close(outputStream); in saveLogData()
|
D | JsonHttpTestResultReporter.java | 123 OutputStream outputStream = null; in postResults() local 131 outputStream = conn.getOutputStream(); in postResults() 132 outputStream.write(data.getBytes()); in postResults() 148 StreamUtil.close(outputStream); in postResults()
|
D | JUnitToInvocationResultForwarder.java | 156 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in getStackTrace() local 157 PrintStream bytePrintStream = new PrintStream(outputStream); in getStackTrace() 159 return outputStream.toString(); in getStackTrace()
|
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
D | HttpHelper.java | 130 public void doGet(String url, OutputStream outputStream) throws IOException { in doGet() argument 135 StreamUtil.copyStreams(remote, outputStream); in doGet() 362 OutputStream outputStream = null; in run() local 367 outputStream = getConnectionOutputStream(conn); in run() 368 outputStreamWriter = new OutputStreamWriter(outputStream); in run() 399 StreamUtil.close(outputStream); in run()
|
D | IHttpHelper.java | 95 public void doGet(String url, OutputStream outputStream) throws IOException; in doGet() argument
|
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/test/ |
D | PerformanceTestTest.java | 45 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in createImage() local 46 ImageIO.write(img, "png", outputStream); in createImage() 47 return new ByteArrayInputStream(outputStream.toByteArray()); in createImage()
|
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
D | ExecCommandTracker.java | 42 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in invocationFailed() local 43 PrintStream bytePrintStream = new PrintStream(outputStream); in invocationFailed() 45 mErrorDetails = outputStream.toString(); in invocationFailed()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/ |
D | SystraceExtractorTest.kt | 75 extractor.extract(makeStream(list.iterator())) { outputStream -> in <lambda>() method 77 val next = outputStream.next() in <lambda>() 79 outputStream.close() in <lambda>()
|
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/ |
D | ClearcutClient.java | 249 OutputStream outputStream = null; in sendToClearcut() local 253 outputStream = connection.getOutputStream(); in sendToClearcut() 254 outputStreamWriter = new OutputStreamWriter(outputStream); in sendToClearcut() 271 StreamUtil.close(outputStream); in sendToClearcut()
|
/tools/trebuchet/trebuchet/traceutils/src/ |
D | TraceUtils.kt | 88 val outputStream = destFile.outputStream() in extract() constant 89 copy(trace, outputStream) in extract()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 235 FileOutputStream outputStream = new FileOutputStream(outputRedirect); in testRunTimedCmd_WithOutputRedirect() local 242 outputStream, in testRunTimedCmd_WithOutputRedirect() 251 outputStream.close(); in testRunTimedCmd_WithOutputRedirect()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | StreamUtil.java | 211 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in getStackTrace() local 212 PrintStream bytePrintStream = new PrintStream(outputStream); in getStackTrace() 214 return outputStream.toString(); in getStackTrace()
|
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/ |
D | MetricsReporter.java | 51 try (OutputStream outputStream = new FileOutputStream(file)) { in end() argument 52 builder.build().writeTo(outputStream); in end()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 336 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testPrintHelp() local 337 PrintStream mockPrintStream = new PrintStream(outputStream); in testPrintHelp() 340 final String usageString = outputStream.toString(); in testPrintHelp() 350 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testPrintHelpForConfig_configExists() local 351 PrintStream mockPrintStream = new PrintStream(outputStream); in testPrintHelpForConfig_configExists() 355 final String usageString = outputStream.toString(); in testPrintHelpForConfig_configExists()
|
D | ConfigurationTest.java | 422 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testPrintCommandUsage() local 423 PrintStream mockPrintStream = new PrintStream(outputStream); in testPrintCommandUsage() 428 final String usageString = outputStream.toString(); in testPrintCommandUsage()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BuildInfo.java | 598 private void writeObject(ObjectOutputStream outputStream) throws IOException { in writeObject() argument 599 outputStream.defaultWriteObject(); in writeObject() 600 outputStream.writeObject(mVersionedFileMultiMap); in writeObject()
|