Home
last modified time | relevance | path

Searched refs:outputStream (Results 1 – 25 of 27) sorted by relevance

12

/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/test/
DPerformanceTestTest.java45 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/
DExecCommandTracker.java42 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/
DSystraceExtractorTest.kt75 extractor.extract(makeStream(list.iterator())) { outputStream -> in <lambda>() method
77 val next = outputStream.next() in <lambda>()
79 outputStream.close() in <lambda>()
/tools/trebuchet/trebuchet/traceutils/src/
DTraceUtils.kt88 val outputStream = destFile.outputStream() in extract() constant
89 copy(trace, outputStream) in extract()
/tools/tradefederation/core/src/com/android/tradefed/result/
DXmlResultReporter.java99 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()
DJUnitToInvocationResultForwarder.java156 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in getStackTrace() local
157 PrintStream bytePrintStream = new PrintStream(outputStream); in getStackTrace()
159 return outputStream.toString(); in getStackTrace()
DFileSystemLogSaver.java122 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()
DJsonHttpTestResultReporter.java165 OutputStream outputStream = null; in postResults() local
173 outputStream = conn.getOutputStream(); in postResults()
174 outputStream.write(data.getBytes()); in postResults()
190 StreamUtil.close(outputStream); in postResults()
DConsoleResultReporter.java71 ConsoleResultReporter(PrintStream outputStream) { in ConsoleResultReporter() argument
72 mStream = outputStream; in ConsoleResultReporter()
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DMetricsReporter.java51 try (OutputStream outputStream = new FileOutputStream(file)) { in end() argument
52 builder.build().writeTo(outputStream); in end()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java263 OutputStream outputStream = null; in sendToClearcut() local
267 outputStream = connection.getOutputStream(); in sendToClearcut()
268 outputStreamWriter = new OutputStreamWriter(outputStream); in sendToClearcut()
285 StreamUtil.close(outputStream); in sendToClearcut()
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessor.java110 try (PrintStream outputStream = new PrintStream(resource.openOutputStream())) { in process() argument
111 outputStream.println(CSV_HEADER); in process()
112 content.forEach(outputStream::println); in process()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilFuncTest.java235 FileOutputStream outputStream = new FileOutputStream(outputRedirect); in testRunTimedCmd_WithOutputRedirect() local
242 outputStream, in testRunTimedCmd_WithOutputRedirect()
251 outputStream.close(); in testRunTimedCmd_WithOutputRedirect()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java284 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in getStackTrace() local
285 PrintStream bytePrintStream = new PrintStream(outputStream); in getStackTrace()
287 return outputStream.toString(); in getStackTrace()
DZipUtil.java599 FileOutputStream outputStream = new FileOutputStream(targetFile)) { in unzipRawZip()
606 outputStream.write(buffer, 0, size); in unzipRawZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java292 OutputStream outputStream = invocation.getArgument(1); in testRunHostExecutable_failure()
293 outputStream.write("stdout".getBytes()); in testRunHostExecutable_failure()
338 OutputStream outputStream = invocation.getArgument(1); in testRunHostExecutable_timeout()
339 outputStream.write("stdout".getBytes()); in testRunHostExecutable_timeout()
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java95 try (OutputStream outputStream = resource.openOutputStream()) { in process() argument
96 writer.write(outputStream); in process()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java608 private void writeObject(ObjectOutputStream outputStream) throws IOException { in writeObject() argument
609 outputStream.defaultWriteObject(); in writeObject()
610 outputStream.writeObject(mVersionedFileMultiMap); in writeObject()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java445 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testPrintCommandUsage() local
446 PrintStream mockPrintStream = new PrintStream(outputStream); in testPrintCommandUsage()
451 final String usageString = outputStream.toString(); in testPrintCommandUsage()
DConfigurationFactoryTest.java383 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testPrintHelp() local
384 PrintStream mockPrintStream = new PrintStream(outputStream); in testPrintHelp()
387 final String usageString = outputStream.toString(); in testPrintHelp()
397 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testPrintHelpForConfig_configExists() local
398 PrintStream mockPrintStream = new PrintStream(outputStream); in testPrintHelpForConfig_configExists()
402 final String usageString = outputStream.toString(); in testPrintHelpForConfig_configExists()
/tools/asuite/asuite_plugin/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/ndkports/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/trebuchet/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...

12