/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | Pipeline.java | 54 private int readTimeout; field in Pipeline 107 if (this.readTimeout == -1) in startTimer() 112 this.timer.schedule(this.myTimerTask, this.readTimeout); in startTimer() 116 if (this.readTimeout == -1) in stopTimer() 122 public Pipeline(InputStream pipe, int readTimeout, Timer timer) { in Pipeline() argument 128 this.readTimeout = readTimeout; in Pipeline()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/ |
D | RealConnection.java | 96 public void connect(int connectTimeout, int readTimeout, int writeTimeout, in connect() argument 116 connectSocket(connectTimeout, readTimeout, writeTimeout, connectionSpecSelector); in connect() 141 private void connectSocket(int connectTimeout, int readTimeout, int writeTimeout, in connectSocket() argument 143 rawSocket.setSoTimeout(readTimeout); in connectSocket() 153 connectTls(readTimeout, writeTimeout, connectionSpecSelector); in connectSocket() 173 private void connectTls(int readTimeout, int writeTimeout, in connectTls() argument 176 createTunnel(readTimeout, writeTimeout); in connectTls() 263 private void createTunnel(int readTimeout, int writeTimeout) throws IOException { in createTunnel() argument 270 source.timeout().timeout(readTimeout, MILLISECONDS); in createTunnel() 362 int readTimeout = socket.getSoTimeout(); in isHealthy() local [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/ |
D | RealConnection.java | 92 public void connect(int connectTimeout, int readTimeout, int writeTimeout, in connect() argument 112 connectSocket(connectTimeout, readTimeout, writeTimeout, connectionSpecSelector); in connect() 137 private void connectSocket(int connectTimeout, int readTimeout, int writeTimeout, in connectSocket() argument 139 rawSocket.setSoTimeout(readTimeout); in connectSocket() 149 connectTls(readTimeout, writeTimeout, connectionSpecSelector); in connectSocket() 169 private void connectTls(int readTimeout, int writeTimeout, in connectTls() argument 172 createTunnel(readTimeout, writeTimeout); in connectTls() 259 private void createTunnel(int readTimeout, int writeTimeout) throws IOException { in createTunnel() argument 266 source.timeout().timeout(readTimeout, MILLISECONDS); in createTunnel() 358 int readTimeout = socket.getSoTimeout(); in isHealthy() local [all …]
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | StreamAllocation.java | 93 public HttpStream newStream(int connectTimeout, int readTimeout, int writeTimeout, in newStream() argument 97 RealConnection resultConnection = findHealthyConnection(connectTimeout, readTimeout, in newStream() 104 resultConnection.getSocket().setSoTimeout(readTimeout); in newStream() 105 resultConnection.source.timeout().timeout(readTimeout, MILLISECONDS); in newStream() 124 private RealConnection findHealthyConnection(int connectTimeout, int readTimeout, in findHealthyConnection() argument 128 RealConnection candidate = findConnection(connectTimeout, readTimeout, writeTimeout, in findHealthyConnection() 151 private RealConnection findConnection(int connectTimeout, int readTimeout, int writeTimeout, in findConnection() argument 186 newConnection.connect(connectTimeout, readTimeout, writeTimeout, address.getConnectionSpecs(), in findConnection()
|
D | Http2xStream.java | 138 stream.readTimeout().timeout(httpEngine.client.getReadTimeout(), TimeUnit.MILLISECONDS); in writeRequestHeaders()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | StreamAllocation.java | 91 public HttpStream newStream(int connectTimeout, int readTimeout, int writeTimeout, in newStream() argument 95 RealConnection resultConnection = findHealthyConnection(connectTimeout, readTimeout, in newStream() 102 resultConnection.getSocket().setSoTimeout(readTimeout); in newStream() 103 resultConnection.source.timeout().timeout(readTimeout, MILLISECONDS); in newStream() 122 private RealConnection findHealthyConnection(int connectTimeout, int readTimeout, in findHealthyConnection() argument 126 RealConnection candidate = findConnection(connectTimeout, readTimeout, writeTimeout, in findHealthyConnection() 149 private RealConnection findConnection(int connectTimeout, int readTimeout, int writeTimeout, in findConnection() argument 184 newConnection.connect(connectTimeout, readTimeout, writeTimeout, address.getConnectionSpecs(), in findConnection()
|
D | Http2xStream.java | 136 stream.readTimeout().timeout(httpEngine.client.getReadTimeout(), TimeUnit.MILLISECONDS); in writeRequestHeaders()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedStream.java | 66 private final StreamTimeout readTimeout = new StreamTimeout(); field in FramedStream 137 readTimeout.enter(); in getResponseHeaders() 143 readTimeout.exitAndThrowIfTimedOut(); in getResponseHeaders() 186 public Timeout readTimeout() { in readTimeout() method in FramedStream 187 return readTimeout; in readTimeout() 374 readTimeout.enter(); in waitUntilReadable() 380 readTimeout.exitAndThrowIfTimedOut(); in waitUntilReadable() 425 return readTimeout; in timeout()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
D | FramedStream.java | 68 private final StreamTimeout readTimeout = new StreamTimeout(); field in FramedStream 139 readTimeout.enter(); in getResponseHeaders() 145 readTimeout.exitAndThrowIfTimedOut(); in getResponseHeaders() 188 public Timeout readTimeout() { in readTimeout() method in FramedStream 189 return readTimeout; in readTimeout() 376 readTimeout.enter(); in waitUntilReadable() 382 readTimeout.exitAndThrowIfTimedOut(); in waitUntilReadable() 427 return readTimeout; in timeout()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | OkHttpClient.java | 145 private int readTimeout = 10_000; field in OkHttpClient 176 this.readTimeout = okHttpClient.readTimeout; in OkHttpClient() 212 readTimeout = (int) millis; in setReadTimeout() 217 return readTimeout; in getReadTimeout()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | OkHttpClient.java | 150 private int readTimeout = 10_000; field in OkHttpClient 182 this.readTimeout = okHttpClient.readTimeout; in OkHttpClient() 218 readTimeout = (int) millis; in setReadTimeout() 223 return readTimeout; in getReadTimeout()
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | SipStackImpl.java | 869 String readTimeout = configurationProperties in SipStackImpl() local 871 if (readTimeout != null) { in SipStackImpl() 874 int rt = Integer.parseInt(readTimeout); in SipStackImpl() 876 super.readTimeout = rt; in SipStackImpl() 878 System.err.println("Value too low " + readTimeout); in SipStackImpl() 883 getStackLogger().logError("Bad read timeout " + readTimeout); in SipStackImpl()
|
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/ |
D | Main.java | 103 public int readTimeout = DEFAULT_TIMEOUT; field in Main 178 if (readTimeout != DEFAULT_TIMEOUT) { in createClient() 179 client.setReadTimeout(readTimeout, SECONDS); in createClient()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | TCPMessageChannel.java | 594 hispipe = new Pipeline(myClientInputStream, sipStack.readTimeout, in run()
|
D | TLSMessageChannel.java | 574 hispipe = new Pipeline(myClientInputStream, sipStack.readTimeout, in run()
|
D | SIPTransactionStack.java | 286 protected int readTimeout; field in SIPTransactionStack 442 this.readTimeout = -1; in SIPTransactionStack()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | Spdy3ConnectionTest.java | 900 stream.readTimeout().timeout(500, TimeUnit.MILLISECONDS); 927 stream.readTimeout().timeout(500, TimeUnit.MILLISECONDS);
|