/libcore/luni/src/test/java/libcore/java/net/ |
D | OldDatagramPacketTest.java | 36 ss.setSoTimeout(3000); in test_getPort() 51 cs.setSoTimeout(3000); in test_getPort()
|
D | OldServerSocketTest.java | 89 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()
|
D | ServerSocketTest.java | 31 ss.setSoTimeout(1234); in testTimeoutAfterAccept()
|
D | OldAndroidDatagramTest.java | 175 sock.setSoTimeout(timeout); in testDatagramSocketSetSOTimeout()
|
D | OldSocketTest.java | 390 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/ |
D | NetworkClient.java | 184 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/ |
D | ServerSocketTest.java | 124 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()
|
D | DatagramSocketTest.java | 53 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()
|
D | DatagramPacketTest.java | 137 socket.setSoTimeout(3000); in test_getPort()
|
D | MulticastSocketTest.java | 867 socket.setSoTimeout(5000); // Prevent eternal block in. in test_setLoopbackModeSendReceive() 934 ms.setSoTimeout(2000); in createReceivingSocket()
|
D | SocketTest.java | 95 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/ |
D | HttpURLConnectionTest.java | 54 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/ |
D | FtpClient.java | 675 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/ |
D | ServerSocketAdaptor.java | 163 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in ServerSocketAdaptor
|
D | DatagramSocketAdaptor.java | 266 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in DatagramSocketAdaptor
|
D | SocketAdaptor.java | 381 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/ |
D | FileChannelTest.java | 2597 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 …]
|
D | DatagramChannelTest.java | 1162 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/ |
D | SSLSocketTest.java | 195 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/ |
D | Support_TestWebServer.java | 228 ss.setSoTimeout(5000); in init() 576 s.setSoTimeout(mTimeout); in handleClient()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ServerSocket.java | 635 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in ServerSocket
|
D | DatagramSocket.java | 885 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in DatagramSocket
|
D | Socket.java | 1102 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in Socket
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
D | HttpClient.java | 377 serverSocket.setSoTimeout(1); 391 serverSocket.setSoTimeout(old);
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | SSLSocketImpl.java | 2408 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in SSLSocketImpl 2414 super.setSoTimeout(timeout); in setSoTimeout() 2416 self.setSoTimeout(timeout); in setSoTimeout()
|