Searched refs:setSoTimeout (Results 1 - 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
H A DServerSocketTest.java29 ss.setSoTimeout(1234);
H A DOldDatagramPacketTest.java36 ss.setSoTimeout(3000);
51 cs.setSoTimeout(3000);
H A DOldDatagramSocketTest.java98 ms.setSoTimeout(2000);
299 ds.setSoTimeout(2000);
349 ms.setSoTimeout(2000);
363 ds.setSoTimeout(10000);
402 ds.setSoTimeout(2000);
485 ds.setSoTimeout(2000);
537 ds.setSoTimeout(2000);
589 ds.setSoTimeout(2000);
773 // TODO: a useful test would check that setSoTimeout actually causes timeouts!
775 s.setSoTimeout(150
[all...]
H A DOldServerSocketTest.java89 s.setSoTimeout(2000);
216 newSocket.setSoTimeout(500);
239 // TODO: a useful test would check that setSoTimeout actually causes timeouts!
241 s.setSoTimeout(1500);
253 s.setSoTimeout(1000);
H A DOldAndroidDatagramTest.java173 sock.setSoTimeout(timeout);
H A DOldSocketTest.java387 // TODO: a useful test would check that setSoTimeout actually causes timeouts!
389 s.setSoTimeout(1500);
401 s.setSoTimeout(1000);
1382 theSocket.setSoTimeout(1000);
1386 theSocket.setSoTimeout(2000);
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSocketImplWrapper.java109 public void setSoTimeout(int to) throws SocketException { method in class:OpenSSLSocketImplWrapper
110 socket.setSoTimeout(to);
111 super.setSoTimeout(to);
H A DSSLSocketWrapper.java130 public void setSoTimeout(int to) throws SocketException { method in class:SSLSocketWrapper
131 socket.setSoTimeout(to);
H A DOpenSSLSocketImpl.java97 * OpenSSLSocketImplWrapper overrides setSoTimeout and
372 setSoTimeout(handshakeTimeoutMilliseconds);
409 setSoTimeout(savedReadTimeoutMilliseconds);
838 @Override public void setSoTimeout(int readTimeoutMilliseconds) throws SocketException { method in class:OpenSSLSocketImpl
839 super.setSoTimeout(readTimeoutMilliseconds);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java56 serverSocket.setSoTimeout(1000);
94 socket.setSoTimeout(1000);
105 socket.setSoTimeout(1000);
/libcore/luni/src/main/java/libcore/net/http/
H A DHttpConnection.java140 public void setSoTimeout(int readTimeout) throws SocketException { method in class:HttpConnection
141 socket.setSoTimeout(readTimeout);
H A DHttpEngine.java322 result.setSoTimeout(policy.getReadTimeout());
/libcore/luni/src/main/java/java/net/
H A DServerSocket.java236 public synchronized void setSoTimeout(int timeout) throws SocketException { method in class:ServerSocket
H A DDatagramSocket.java340 public synchronized void setSoTimeout(int timeout) throws SocketException { method in class:DatagramSocket
H A DSocket.java517 public synchronized void setSoTimeout(int timeout) throws SocketException { method in class:Socket
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLConnection.java239 acceptSocket.setSoTimeout(getConnectTimeout());
246 dataSocket.setSoTimeout(getReadTimeout());
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java555 server.setSoTimeout(1 * 1000);
569 client.setSoTimeout(1 * 1000);
1017 wrapping.setSoTimeout(expectedTimeoutMillis);
1022 underlying.setSoTimeout(0);
1034 // setSoTimeout applies to read, not connect, so connect first
1041 underlying.setSoTimeout(1);
1145 toRead.setSoTimeout(5 * 1000);
1174 wrapping.setSoTimeout(5 * 1000);
/libcore/support/src/test/java/tests/support/
H A DSupport_TestWebServer.java228 ss.setSoTimeout(5000);
576 s.setSoTimeout(mTimeout);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java940 serverSocket.setSoTimeout(TIMEOUT);
944 peerSocket.setSoTimeout(TIMEOUT);
983 peerSocket.setSoTimeout(TIMEOUT);

Completed in 340 milliseconds