Home
last modified time | relevance | path

Searched refs:ConnectionPool (Results 1 – 21 of 21) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionPool.java54 public final class ConnectionPool { class
57 private static final ConnectionPool systemDefault;
66 systemDefault = new ConnectionPool(0, keepAliveDurationMs);
68 systemDefault = new ConnectionPool(Integer.parseInt(maxIdleConnections), keepAliveDurationMs);
70 systemDefault = new ConnectionPool(5, keepAliveDurationMs);
101 public ConnectionPool(int maxIdleConnections, long keepAliveDurationMs) { in ConnectionPool() method in ConnectionPool
106 public static ConnectionPool getDefault() { in getDefault()
DOkHttpClient.java112 @Override public void recycle(ConnectionPool pool, Connection connection) {
192 private ConnectionPool connectionPool;
444 public OkHttpClient setConnectionPool(ConnectionPool connectionPool) { in setConnectionPool()
449 public ConnectionPool getConnectionPool() { in getConnectionPool()
642 result.connectionPool = ConnectionPool.getDefault(); in copyWithDefaults()
DConnection.java76 private final ConnectionPool pool;
95 public Connection(ConnectionPool pool, Route route) { in Connection()
/external/okhttp/android/main/java/com/squareup/okhttp/
DConfigAwareConnectionPool.java60 private ConnectionPool connectionPool;
78 public synchronized ConnectionPool get() { in get()
95 connectionPool = new ConnectionPool( in get()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionPoolTest.java65 private ConnectionPool pool;
105 pool = new ConnectionPool(poolSize, KEEP_ALIVE_DURATION_MS); in setUp()
441 ConnectionPool pool = new ConnectionPool(10, KEEP_ALIVE_DURATION_MS); in connectionCleanup()
474 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); in maxIdleConnectionsLimitEnforced()
552 private void assertPooled(ConnectionPool pool, Connection... connections) throws Exception { in assertPooled()
DCacheTest.java1004 ConnectionPool pool = ConnectionPool.getDefault(); in conditionalCacheHitIsNotDoublePooled()
DURLConnectionTest.java1283 ConnectionPool pool = ConnectionPool.getDefault(); in endOfStreamResponseIsNotPooled()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DInternal.java21 import com.squareup.okhttp.ConnectionPool;
77 public abstract void recycle(ConnectionPool pool, Connection connection); in recycle()
/external/okhttp/android/test/java/com/squareup/okhttp/
DConfigAwareConnectionPoolTest.java43 ConnectionPool beforeEventInstance = instance.get(); in get()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpConnection.java20 import com.squareup.okhttp.ConnectionPool;
76 private final ConnectionPool pool;
85 public HttpConnection(ConnectionPool pool, Connection connection, Socket socket) in HttpConnection()
DHttpEngine.java23 import com.squareup.okhttp.ConnectionPool;
334 ConnectionPool pool = client.getConnectionPool(); in createNextConnection()
/external/okhttp/
DREADME.android13 ConnectionPool that listens for network configuration changes.
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
DMain.java19 import com.squareup.okhttp.ConnectionPool;
186 client.setConnectionPool(ConnectionPool.getDefault()); in createClient()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
Dconnection.py199 return return_time + ConnectionPool.STALE_DURATION < now
202 class ConnectionPool(object): class
238 ConnectionPool.STALE_DURATION = \
240 ConnectionPool.STALE_DURATION)
565 self._pool = ConnectionPool()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverSpdyTest.java19 import com.squareup.okhttp.ConnectionPool;
398 ConnectionPool connectionPool = new ConnectionPool(5, 5000); in disconnectWithStreamNotEstablished()
DRouteSelectorTest.java20 import com.squareup.okhttp.ConnectionPool;
96 .setConnectionPool(ConnectionPool.getDefault()); in setUp()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java852 ConnectionPool pool = ConnectionPool.getDefault(); in conditionalCacheHitIsNotDoublePooled()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.httpclient_3.1.0.v201005080502.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...