Home
last modified time | relevance | path

Searched refs:readTimeout (Results 1 – 19 of 19) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipeline.java54 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/
DRealConnection.java96 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/
DRealConnection.java92 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/
DStreamAllocation.java93 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()
DHttp2xStream.java138 stream.readTimeout().timeout(httpEngine.client.getReadTimeout(), TimeUnit.MILLISECONDS); in writeRequestHeaders()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DStreamAllocation.java91 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()
DHttp2xStream.java136 stream.readTimeout().timeout(httpEngine.client.getReadTimeout(), TimeUnit.MILLISECONDS); in writeRequestHeaders()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedStream.java66 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/
DFramedStream.java68 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/
DOkHttpClient.java145 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/
DOkHttpClient.java150 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/
DSipStackImpl.java869 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/
DMain.java103 public int readTimeout = DEFAULT_TIMEOUT; field in Main
178 if (readTimeout != DEFAULT_TIMEOUT) { in createClient()
179 client.setReadTimeout(readTimeout, SECONDS); in createClient()
/external/downloader/src/example/java/com/google/android/downloader/example/
DDownloaderTestActivity.java95 .readTimeout(30, SECONDS) in onCreate()
/external/dokka/core/src/main/kotlin/Kotlin/
DExternalDocumentationLinkResolver.kt52 connection.readTimeout = timeout in doOpenConnectionToReadContent()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DTCPMessageChannel.java594 hispipe = new Pipeline(myClientInputStream, sipStack.readTimeout, in run()
DTLSMessageChannel.java574 hispipe = new Pipeline(myClientInputStream, sipStack.readTimeout, in run()
DSIPTransactionStack.java286 protected int readTimeout; field in SIPTransactionStack
442 this.readTimeout = -1; in SIPTransactionStack()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java953 stream.readTimeout().timeout(500, TimeUnit.MILLISECONDS);
982 stream.readTimeout().timeout(500, TimeUnit.MILLISECONDS);