Home
last modified time | relevance | path

Searched refs:setSoTimeout (Results 1 – 25 of 32) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DSocketTimeoutTest.java84 s.setSoTimeout(TIMEOUT_MILLIS / 2); in testSocketConnectTimeout()
98 s.setSoTimeout(TIMEOUT_MILLIS); in testSocketReadTimeout()
111 sock.setSoTimeout(TIMEOUT_MILLIS); in testSocketWriteNeverTimeouts()
156 s.setSoTimeout(TIMEOUT_MILLIS); in testServerSocketAcceptTimeout()
167 s.socket().setSoTimeout(TIMEOUT_MILLIS); in testServerSocketChannelAcceptTimeout()
175 s.setSoTimeout(TIMEOUT_MILLIS); in testDatagramSocketReceive()
DOldDatagramPacketTest.java36 ss.setSoTimeout(3000); in test_getPort()
51 cs.setSoTimeout(3000); in test_getPort()
DDatagramSocketTest.java162 dgramSocket.setSoTimeout(100); in testExplicitFilter()
180 dgramSocket.setSoTimeout(100); in testExplicitFilter()
205 ds.setSoTimeout(1000); in testAddressSameIfUnchanged()
DOldServerSocketTest.java89 s.setSoTimeout(2000); in test_ConstructorII()
233 s.setSoTimeout(timeoutSet); in test_getSoTimeout_setSoTimeout()
244 s.setSoTimeout(1000); in test_getSoTimeout_setSoTimeout()
DMulticastSocketTest.java49 mcSock.setSoTimeout(SO_TIMEOUT); in testGroupReceive()
DServerSocketTest.java38 ss.setSoTimeout(1234); in testTimeoutAfterAccept()
/libcore/ojluni/src/main/java/sun/net/
DNetworkClient.java184 s.setSoTimeout(readTimeout); in doConnect()
186 s.setSoTimeout(defaultSoTimeout); in doConnect()
262 serverSocket.setSoTimeout(timeout);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java135 s.setSoTimeout(2000); in test_ConstructorII()
169 s.setSoTimeout(5000); in test_ConstructorIILjava_net_InetAddress()
185 s.setSoTimeout(5000); in test_accept()
203 ss.setSoTimeout(12000); in test_accept()
239 ss2.setSoTimeout(500); in test_accept()
316 s.setSoTimeout(timeoutSet); in test_getSoTimeout()
372 s.setSoTimeout(timeoutSet); in test_setSoTimeoutI()
384 s.setSoTimeout(10000); in test_setSoTimeoutI()
DDatagramSocketTest.java63 serverSocket.setSoTimeout(2000); in DatagramServer()
178 ds.setSoTimeout(2000); in testConnect_connectToSelf()
215 ds.setSoTimeout(2000); in testConnect_echoServer()
257 ds.setSoTimeout(2000); in testConnect_connectDisconnectConnectThenSendRecv()
280 ds.setSoTimeout(2000); in testConnect_connectDisconnectThenSendRecv()
305 ds.setSoTimeout(2000); in testConnect_connectTwice()
411 ds.setSoTimeout(timeoutSet); in test_getSoTimeout()
DDatagramPacketTest.java137 socket.setSoTimeout(3000); in test_getPort()
DMulticastSocketTest.java874 socket.setSoTimeout(5000); // Prevent eternal block in. in test_setLoopbackModeSendReceive()
941 ms.setSoTimeout(2000); in createReceivingSocket()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java54 serverSocket.setSoTimeout(1000); in MockServer()
92 socket.setSoTimeout(1000); in run()
103 socket.setSoTimeout(1000); in run()
/libcore/ojluni/annotations/mmodule/java/net/
DServerSocket.annotated.java68 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { throw new Runt… in setSoTimeout() method in ServerSocket
DDatagramSocket.annotated.java74 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { throw new Runt… in setSoTimeout() method in DatagramSocket
DSocket.annotated.java96 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { throw new Runt… in setSoTimeout() method in Socket
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java686 s.setSoTimeout(readTimeout); in openPassiveDataConnection()
688 s.setSoTimeout(defaultSoTimeout); in openPassiveDataConnection()
776 portSocket.setSoTimeout(connectTimeout); in openDataConnection()
779 portSocket.setSoTimeout(defaultConnectTimeout); in openDataConnection()
784 clientSocket.setSoTimeout(readTimeout); in openDataConnection()
787 clientSocket.setSoTimeout(defaultSoTimeout); in openDataConnection()
975 s.setSoTimeout(readTimeout); in doConnect()
977 s.setSoTimeout(defaultSoTimeout); in doConnect()
/libcore/ojluni/annotations/hiddenapi/java/net/
DServerSocket.java114 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { in setSoTimeout() method in ServerSocket
DDatagramSocket.java135 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { in setSoTimeout() method in DatagramSocket
DSocket.java201 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { in setSoTimeout() method in Socket
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java152 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in ServerSocketAdaptor
DDatagramSocketAdaptor.java257 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in DatagramSocketAdaptor
DSocketAdaptor.java354 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in SocketAdaptor
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileChannelTest.java2598 datagramChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2601 datagramChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2603 datagramChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2607 datagramChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2637 socketChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2640 serverSocketChannel.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2642 socketChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2945 socketChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
2948 serverSocketChannel.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
2950 socketChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java218 ss.setSoTimeout(5000); in init()
569 s.setSoTimeout(mTimeout); in handleClient()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java651 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in ServerSocket

12