Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/net/
DOldDatagramPacketTest.java36 ss.setSoTimeout(3000); in test_getPort()
51 cs.setSoTimeout(3000); in test_getPort()
DOldServerSocketTest.java89 s.setSoTimeout(2000); in test_ConstructorII()
216 newSocket.setSoTimeout(500); in test_accept()
242 s.setSoTimeout(timeoutSet); in test_getSoTimeout_setSoTimeout()
253 s.setSoTimeout(1000); in test_getSoTimeout_setSoTimeout()
DServerSocketTest.java31 ss.setSoTimeout(1234); in testTimeoutAfterAccept()
DOldAndroidDatagramTest.java175 sock.setSoTimeout(timeout); in testDatagramSocketSetSOTimeout()
DOldSocketTest.java390 s.setSoTimeout(1500); in test_getSoTimeout_setSoTimeout()
400 s.setSoTimeout(1000); in test_getSoTimeout_setSoTimeout()
1383 theSocket.setSoTimeout(1000); in test_connectLjava_net_SocketAddressI()
1387 theSocket.setSoTimeout(2000); in test_connectLjava_net_SocketAddressI()
/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.java124 s.setSoTimeout(2000); in test_ConstructorII()
158 s.setSoTimeout(5000); in test_ConstructorIILjava_net_InetAddress()
174 s.setSoTimeout(5000); in test_accept()
188 ss.setSoTimeout(12000); in test_accept()
224 ss2.setSoTimeout(500); in test_accept()
301 s.setSoTimeout(timeoutSet); in test_getSoTimeout()
357 s.setSoTimeout(timeoutSet); in test_setSoTimeoutI()
369 s.setSoTimeout(10000); in test_setSoTimeoutI()
DDatagramSocketTest.java53 serverSocket.setSoTimeout(2000); in DatagramServer()
154 ds.setSoTimeout(2000); in testConnect_connectToSelf()
192 ds.setSoTimeout(2000); in testConnect_echoServer()
240 ds.setSoTimeout(2000); in testConnect_connectDisconnectConnectThenSendRecv()
267 ds.setSoTimeout(2000); in testConnect_connectDisconnectThenSendRecv()
295 ds.setSoTimeout(2000); in testConnect_connectTwice()
394 ds.setSoTimeout(timeoutSet); in test_getSoTimeout()
DDatagramPacketTest.java137 socket.setSoTimeout(3000); in test_getPort()
DMulticastSocketTest.java867 socket.setSoTimeout(5000); // Prevent eternal block in. in test_setLoopbackModeSendReceive()
934 ms.setSoTimeout(2000); in createReceivingSocket()
DSocketTest.java95 socket.setSoTimeout(5000); in run()
971 client.setSoTimeout(timeoutSet); in test_getSoTimeout()
1499 client.setSoTimeout(timeoutSet); in test_setSoTimeoutI()
/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/src/main/java/sun/net/ftp/impl/
DFtpClient.java675 s.setSoTimeout(readTimeout); in openPassiveDataConnection()
677 s.setSoTimeout(defaultSoTimeout); in openPassiveDataConnection()
765 portSocket.setSoTimeout(connectTimeout); in openDataConnection()
768 portSocket.setSoTimeout(defaultConnectTimeout); in openDataConnection()
773 clientSocket.setSoTimeout(readTimeout); in openDataConnection()
776 clientSocket.setSoTimeout(defaultSoTimeout); in openDataConnection()
963 s.setSoTimeout(readTimeout); in doConnect()
965 s.setSoTimeout(defaultSoTimeout); in doConnect()
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java163 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in ServerSocketAdaptor
DDatagramSocketAdaptor.java266 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in DatagramSocketAdaptor
DSocketAdaptor.java381 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.java2597 datagramChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2600 datagramChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2602 datagramChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2606 datagramChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2636 socketChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2639 serverSocketChannel.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2641 socketChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2944 socketChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
2947 serverSocketChannel.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
2949 socketChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
[all …]
DDatagramChannelTest.java1162 this.datagramSocket2.setSoTimeout(TIME_UNIT); in testReceiveSend_Normal_S2S()
1210 this.datagramSocket2.setSoTimeout(TIME_UNIT); in testReceiveSend_Empty_S2S()
1313 this.datagramSocket1.setSoTimeout(6000); in receiveOnDatagramSocket1()
2532 dc.socket().setSoTimeout(4000); in test_concurrentShutdown()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java195 server.setSoTimeout(10); in test_SSLSocket_getSupportedCipherSuites_connect()
200 client.setSoTimeout(10); in test_SSLSocket_getSupportedCipherSuites_connect()
718 server.setSoTimeout(1 * 1000); in test_SSLSocket_setUseClientMode()
732 client.setSoTimeout(1 * 1000); in test_SSLSocket_setUseClientMode()
1307 wrapping.setSoTimeout(expectedTimeoutMillis); in test_SSLSocket_setSoTimeout_basic()
1313 underlying.setSoTimeout(0); in test_SSLSocket_setSoTimeout_basic()
1332 underlying.setSoTimeout(1); in test_SSLSocket_setSoTimeout_wrapper()
1514 toRead.setSoTimeout(5 * 1000); in test_SSLSocket_interrupt_case()
1557 wrapping.setSoTimeout(readingTimeoutMillis); in test_SSLSocket_interrupt_read()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java228 ss.setSoTimeout(5000); in init()
576 s.setSoTimeout(mTimeout); in handleClient()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java635 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in ServerSocket
DDatagramSocket.java885 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in DatagramSocket
DSocket.java1102 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in Socket
/libcore/ojluni/src/main/java/sun/net/www/http/
DHttpClient.java377 serverSocket.setSoTimeout(1);
391 serverSocket.setSoTimeout(old);
/libcore/ojluni/src/main/java/sun/security/ssl/
DSSLSocketImpl.java2408 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in SSLSocketImpl
2414 super.setSoTimeout(timeout); in setSoTimeout()
2416 self.setSoTimeout(timeout); in setSoTimeout()

12