Home
last modified time | relevance | path

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

/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/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.java118 OutputStream outputStream = null; in postResults() local
126 outputStream = conn.getOutputStream(); in postResults()
127 outputStream.write(data.getBytes()); in postResults()
143 StreamUtil.close(outputStream); in postResults()
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpHelper.java130 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()
DIHttpHelper.java95 public void doGet(String url, OutputStream outputStream) throws IOException; in doGet() argument
/tools/tradefederation/core/src/com/android/tradefed/util/
DStreamUtil.java194 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in getStackTrace() local
195 PrintStream bytePrintStream = new PrintStream(outputStream); in getStackTrace()
197 return outputStream.toString(); in getStackTrace()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java415 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testPrintCommandUsage() local
416 PrintStream mockPrintStream = new PrintStream(outputStream); in testPrintCommandUsage()
421 final String usageString = outputStream.toString(); in testPrintCommandUsage()
DConfigurationFactoryTest.java336 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()
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...