Home
last modified time | relevance | path

Searched refs:getOutputStream (Results 1 – 25 of 49) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DOldUnixSocketTest.java51 OutputStream clientOut = pingClient.getOutputStream(); in test_getInputStream()
56 OutputStream out = worker.getOutputStream(); in test_getInputStream()
112 OutputStream o = socket.getOutputStream(); in test_getOutputStream()
DOldSocketTest.java192 s.getOutputStream(); in test_close()
283 java.io.OutputStream os = s.getOutputStream(); in test_getOutputStream()
290 OutputStream o = s.getOutputStream()) { in test_getOutputStream()
300 OutputStream o = s.getOutputStream()) { in test_getOutputStream()
599 OutputStream theOutput = servSock.getOutputStream(); in test_shutdownInput()
634 OutputStream theOutput = servSock.getOutputStream(); in test_shutdownOutput()
1020 OutputStream theOutput = servSock.getOutputStream(); in test_connectLjava_net_SocketAddress()
1022 OutputStream theOutput2 = theSocket.getOutputStream(); in test_connectLjava_net_SocketAddress()
1233 OutputStream theOutput = servSock.getOutputStream(); in test_connectLjava_net_SocketAddressI()
1235 OutputStream theOutput2 = theSocket.getOutputStream(); in test_connectLjava_net_SocketAddressI()
[all …]
DSocketTest.java214 @Override protected OutputStream getOutputStream() throws IOException { return null; } in test_SocketOptions_setOption() method in SocketTest.MySocketImpl
300 OutputStream out = socket.getOutputStream(); in testWriteAfterClose()
331 socket.getOutputStream().write(data); in assertAvailableReturnsZeroAfterSocketReadsAllData()
499 OutputStream out = socket.getOutputStream(); in enqueue()
DOldSocketImplFactoryTest.java158 protected OutputStream getOutputStream() throws IOException { in getOutputStream() method in OldSocketImplFactoryTest.MockSocketImpl
DSocketTimeoutTest.java126 sock.getOutputStream().write(new byte[actualSize + 1]); in testSocketWriteNeverTimeouts()
DFtpURLConnectionTest.java106 OutputStream os = connection.getOutputStream(); in testOutputUrl()
270 clientSocket.getOutputStream().write("220 o/".getBytes()); in testCRLFInUserinfo()
/libcore/ojluni/src/main/java/java/lang/
DProcess.java95 public abstract OutputStream getOutputStream(); in getOutputStream() method in Process
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java95 socket.getOutputStream().write(( in run()
110 socket.getOutputStream().write(( in run()
177 c.getOutputStream(); in testGetOutputStream()
/libcore/luni/src/main/java/javax/xml/transform/stream/
DStreamResult.java110 public OutputStream getOutputStream() { in getOutputStream() method in StreamResult
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcess2Test.java37 assertNotNull(p.getOutputStream()); in test_streams()
DProcessTest.java58 OutputStream os = p.getOutputStream(); in test_getOutputStream()
87 p.getOutputStream().close(); in test_getErrorStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java268 client.getOutputStream(); in test_close()
801 OutputStream os = client.getOutputStream(); in test_getOutputStream()
842 OutputStream out = pingClient.getOutputStream(); in test_getOutputStream()
879 s.getOutputStream(); in test_getOutputStream()
1125 OutputStream theOutput = worker.getOutputStream(); in test_isInputShutdown()
1162 OutputStream theOutput = worker.getOutputStream(); in test_isOutputShutdown()
1218 OutputStream theOutput = worker.getOutputStream(); in test_sendUrgentDataI()
1271 theOutput = worker.getOutputStream(); in test_sendUrgentDataI()
1328 theOutput = worker.getOutputStream(); in test_sendUrgentDataI()
1564 OutputStream theOutput = worker.getOutputStream(); in test_shutdownInput()
[all …]
DSocketImplTest.java122 protected OutputStream getOutputStream() throws IOException { in getOutputStream() method in SocketImplTest.MockSocketImpl
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileDescriptorHolderSocketImpl.java97 protected OutputStream getOutputStream() throws IOException { in getOutputStream() method in FileDescriptorHolderSocketImpl
/libcore/benchmarks/src/benchmarks/regression/
DSSLSocketBenchmark.java84 OutputStream out = s.getOutputStream(); in time()
/libcore/ojluni/src/main/java/java/util/logging/
DSocketHandler.java174 OutputStream out = sock.getOutputStream(); in connect()
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java203 process.getOutputStream().close(); // no process input in testRedirectPipe_error()
220 assertNullOutputStream(process.getOutputStream()); in testRedirect_nullStreams()
249 OutputStream out = process.getOutputStream(); in testDestroyClosesEverything()
478 try (OutputStream outputStream = process.getOutputStream()) { in checkProcessExecution()
/libcore/luni/src/test/java/libcore/javax/net/
DServerSocketFactoryTest.java72 s.getOutputStream().write(data); in testSocket()
/libcore/luni/src/test/java/libcore/net/
DNetworkSecurityPolicyTest.java261 client.getOutputStream().write(replyOnConnect); in CapturingServerSocket()
262 client.getOutputStream().flush(); in CapturingServerSocket()
/libcore/ojluni/src/main/java/java/net/
DSocketImpl.java160 protected abstract OutputStream getOutputStream() throws IOException; in getOutputStream() method in SocketImpl
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java927 out = new PrintStream(new BufferedOutputStream(server.getOutputStream()), in tryConnect()
1336 return new sun.net.TelnetOutputStream(s.getOutputStream(), bm); in putFileStream()
1362 OutputStream remote = createOutputStream(s.getOutputStream()); in putFile()
1390 OutputStream remote = createOutputStream(s.getOutputStream()); in appendFile()
1646 out = new PrintStream(new BufferedOutputStream(server.getOutputStream()), in reInit()
2082 out = new PrintStream(new BufferedOutputStream(server.getOutputStream()), in startSecureSession()
2116 out = new PrintStream(new BufferedOutputStream(server.getOutputStream()), in endSecureSession()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousSocketChannelTest.java285 sss.getOutputStream().write(sendData.array(), sendData.arrayOffset(), messageSize); in test_futureReadWrite()
337 sss.getOutputStream().write(sendData.array(), sendData.arrayOffset(), messageSize); in test_completionHandlerReadWrite()
398 sss.getOutputStream().write(sendData1.array(), sendData1.arrayOffset(), messageSize); in test_scatterReadWrite()
399 sss.getOutputStream().write(sendData2.array(), sendData2.arrayOffset(), messageSize); in test_scatterReadWrite()
793 sss.getOutputStream().write(sendData.array()); in test_shutdown()
DSocketChannelTest.java108 OutputStream os = scSocket.getOutputStream(); in test_channelSocketOutputStreamClosureState()
365 OutputStream out = acceptedSocket.getOutputStream(); in test_shutdownInput()
/libcore/ojluni/src/main/java/sun/net/
DNetworkClient.java139 serverSocket.getOutputStream()), in openServer()
/libcore/support/src/test/java/tests/http/
DMockWebServer.java270 OutputStream out = new BufferedOutputStream(socket.getOutputStream()); in serveConnection()
294 if (!processOneRequest(raw.getInputStream(), raw.getOutputStream(), raw)) { in serveConnection()

12