/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | ConnectionPoolTest.java | 48 ConnectionPool pool = new ConnectionPool(Integer.MAX_VALUE, 100L, TimeUnit.NANOSECONDS); in connectionsEvictedWhenIdleLongEnough() 80 ConnectionPool pool = new ConnectionPool(Integer.MAX_VALUE, 100L, TimeUnit.NANOSECONDS); in inUseConnectionsNotEvicted() 104 ConnectionPool pool = new ConnectionPool(Integer.MAX_VALUE, 100L, TimeUnit.NANOSECONDS); in cleanupPrioritizesEarliestEviction() 136 ConnectionPool pool = new ConnectionPool(2, 100L, TimeUnit.NANOSECONDS); in oldestConnectionsEvictedIfIdleLimitExceeded() 160 ConnectionPool pool = new ConnectionPool(2, 100L, TimeUnit.NANOSECONDS); in leakedAllocation() 174 private void allocateAndLeakAllocation(ConnectionPool pool, RealConnection connection) { in allocateAndLeakAllocation() 190 private RealConnection newConnection(ConnectionPool pool, Route route, long idleAtNanos) { in newConnection()
|
D | ConnectionReuseTest.java | 104 client.setConnectionPool(new ConnectionPool(0, 5000)); in connectionsAreNotReusedIfPoolIsSizeZero() 115 client.setConnectionPool(new ConnectionPool(0, 5000)); in connectionsReusedWithRedirectEvenIfPoolIsSizeZero() 132 client.setConnectionPool(new ConnectionPool(0, 5000)); in connectionsNotReusedWithRedirectIfDiscardingResponseIsSlow() 209 client.setConnectionPool(new ConnectionPool(5, 250, TimeUnit.MILLISECONDS)); in connectionsAreEvicted()
|
D | CacheTest.java | 1024 ConnectionPool pool = ConnectionPool.getDefault(); in conditionalCacheHitIsNotDoublePooled()
|
D | URLConnectionTest.java | 1290 ConnectionPool pool = ConnectionPool.getDefault(); in endOfStreamResponseIsNotPooled()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | ConnectionPool.java | 58 public final class ConnectionPool { class 61 private static final ConnectionPool systemDefault; 71 systemDefault = new ConnectionPool(0, keepAliveDurationMs); 73 systemDefault = new ConnectionPool(Integer.parseInt(maxIdleConnections), keepAliveDurationMs); 75 systemDefault = new ConnectionPool(5, keepAliveDurationMs); 99 synchronized (ConnectionPool.this) { 101 ConnectionPool.this.wait(waitMillis, (int) waitNanos); 113 public ConnectionPool(int maxIdleConnections, long keepAliveDurationMs) { in ConnectionPool() method in ConnectionPool 117 public ConnectionPool(int maxIdleConnections, long keepAliveDuration, TimeUnit timeUnit) { in ConnectionPool() method in ConnectionPool 127 public static ConnectionPool getDefault() { in getDefault()
|
D | OkHttpClient.java | 79 ConnectionPool pool, RealConnection connection) { 84 ConnectionPool pool, Address address, StreamAllocation streamAllocation) { 88 @Override public void put(ConnectionPool pool, RealConnection connection) { 92 @Override public RouteDatabase routeDatabase(ConnectionPool connectionPool) { 139 private ConnectionPool connectionPool; 405 public OkHttpClient setConnectionPool(ConnectionPool connectionPool) { in setConnectionPool() 410 public ConnectionPool getConnectionPool() { in getConnectionPool() 603 result.connectionPool = ConnectionPool.getDefault(); in copyWithDefaults()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Internal.java | 21 import com.squareup.okhttp.ConnectionPool; 57 ConnectionPool pool, Address address, StreamAllocation streamAllocation); in get() 59 public abstract void put(ConnectionPool pool, RealConnection connection); in put() 61 public abstract boolean connectionBecameIdle(ConnectionPool pool, RealConnection connection); in connectionBecameIdle() 63 public abstract RouteDatabase routeDatabase(ConnectionPool connectionPool); in routeDatabase()
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
D | ConfigAwareConnectionPool.java | 60 private ConnectionPool connectionPool; 78 public synchronized ConnectionPool get() { in get() 95 connectionPool = new ConnectionPool( in get()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | StreamAllocation.java | 19 import com.squareup.okhttp.ConnectionPool; 77 private final ConnectionPool connectionPool; 86 public StreamAllocation(ConnectionPool connectionPool, Address address) { in StreamAllocation()
|
/external/okhttp/android/test/java/com/squareup/okhttp/ |
D | ConfigAwareConnectionPoolTest.java | 43 ConnectionPool beforeEventInstance = instance.get(); in get()
|
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/ |
D | Main.java | 19 import com.squareup.okhttp.ConnectionPool; 186 client.setConnectionPool(ConnectionPool.getDefault()); in createClient()
|
/external/okhttp/ |
D | README.android | 13 ConnectionPool that listens for network configuration changes.
|
/external/autotest/server/hosts/ |
D | ssh_multiplex.py | 128 class ConnectionPool(object): class
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 19 import com.squareup.okhttp.ConnectionPool; 398 ConnectionPool connectionPool = new ConnectionPool(5, 5000); in disconnectWithStreamNotEstablished()
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 852 ConnectionPool pool = ConnectionPool.getDefault(); in conditionalCacheHitIsNotDoublePooled()
|
/external/autotest/server/ |
D | server_job.py | 349 self._connection_pool = ssh_multiplex.ConnectionPool()
|