Home
last modified time | relevance | path

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

12

/external/apache-http/src/org/apache/http/impl/io/
DSocketInputBuffer.java79 this.socket.setSoTimeout(timeout); in isDataAvailable()
87 socket.setSoTimeout(oldtimeout); in isDataAvailable()
108 this.socket.setSoTimeout(1); in isStale()
115 this.socket.setSoTimeout(oldTimeout); in isStale()
/external/okhttp/src/main/java/com/squareup/okhttp/
DConnection.java102 socket.setSoTimeout(readTimeout); in connect()
159 sslSocket.setSoTimeout(0); // SPDY timeouts are set per-stream. in upgradeToTls()
212 socket.setSoTimeout(1); in isReadable()
220 socket.setSoTimeout(readTimeout); in isReadable()
299 socket.setSoTimeout(newTimeout); in updateReadTimeout()
/external/apache-http/src/org/apache/http/params/
DHttpConnectionParamBean.java40 public void setSoTimeout (int soTimeout) { in setSoTimeout() method in HttpConnectionParamBean
41 HttpConnectionParams.setSoTimeout(params, soTimeout); in setSoTimeout()
DHttpConnectionParams.java78 public static void setSoTimeout(final HttpParams params, int timeout) { in setSoTimeout() method in HttpConnectionParams
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DDatagramSocketTest.java95 ms.setSoTimeout(2000); in DatagramServer()
166 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
213 ms.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
227 ds.setSoTimeout(10000); in test_connectLjava_net_InetAddressI()
256 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
321 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
359 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
397 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
510 ds.setSoTimeout(100); in test_getSoTimeout()
544 ds.setSoTimeout(6000); in test_receiveLjava_net_DatagramPacket()
[all …]
DServerSocketTest.java127 s.setSoTimeout(2000); in test_ConstructorII()
161 s.setSoTimeout(5000); in test_ConstructorIILjava_net_InetAddress()
177 s.setSoTimeout(5000); in test_accept()
191 ss.setSoTimeout(12000); in test_accept()
227 ss2.setSoTimeout(500); in test_accept()
303 s.setSoTimeout(100); in test_getSoTimeout()
348 s.setSoTimeout(100); in test_setSoTimeoutI()
358 s.setSoTimeout(10000); in test_setSoTimeoutI()
DDatagramPacketTest.java137 socket.setSoTimeout(3000); in test_getPort()
DMulticastSocketTest.java119 ms.setSoTimeout(2000); in MulticastServer()
129 ms.setSoTimeout(2000); in MulticastServer()
782 socket.setSoTimeout(5000); // prevent eternal block in in test_setLoopbackModeSendReceive()
DSocketTest.java95 socket.setSoTimeout(5000); in run()
972 client.setSoTimeout(100); in test_getSoTimeout()
1497 client.setSoTimeout(100); in test_setSoTimeoutI()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_HttpServerSocket.java48 instance.setSoTimeout(timeout); in accept()
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpClientConnection.java66 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in bind()
DDefaultHttpServerConnection.java64 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in bind()
DSocketHttpServerConnection.java156 this.socket.setSoTimeout(timeout); in setSocketTimeout()
DSocketHttpClientConnection.java158 this.socket.setSoTimeout(timeout); in setSocketTimeout()
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
DSocks5BytestreamSession.java87 this.socket.setSoTimeout(timeout); in setReadTimeout()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpTransport.java188 socket.setSoTimeout(DISCARD_STREAM_TIMEOUT_MILLIS); in discardStream()
193 socket.setSoTimeout(socketTimeout); in discardStream()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DUDPMessageProcessor.java118 sock.setSoTimeout((int) sipStack.getThreadAuditor().getPingIntervalInMillisecs()); in UDPMessageProcessor()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/
DTransportManager.java241 public void setSoTimeout(int timeout) throws IOException in setSoTimeout() method in TransportManager
243 sock.setSoTimeout(timeout); in setSoTimeout()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java260 sock.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in prepareSocket()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java1237 serverSocket.setSoTimeout(TIMEOUT); in run()
1241 peerSocket.setSoTimeout(TIMEOUT); in run()
1292 peerSocket.setSoTimeout(TIMEOUT); in run()
/external/apache-http/src/org/apache/http/conn/ssl/
DSSLSocketFactory.java326 sslsock.setSoTimeout(soTimeout); in connectSocket()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java328 HttpConnectionParams.setSoTimeout(httpParams, -1); in shouldSupportSocketTimeoutWithExceptions()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLServerSocketImplTest.java599 client.setSoTimeout(10000); in Client()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DConnection.java660 tm.setSoTimeout(connectTimeout); in connect()
/external/smack/src/org/jivesoftware/smack/
DXMPPConnection.java878 socket.setSoTimeout(0); in proceedTLSReceived()

12