Home
last modified time | relevance | path

Searched refs:getConnectionPool (Results 1 – 7 of 7) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java176 assertNotNull(a.getConnectionPool()); in cloneSharesStatefulInstances()
183 assertSame(a.getConnectionPool(), b.getConnectionPool()); in cloneSharesStatefulInstances()
DCacheTest.java1030 assertEquals(1, client.getConnectionPool().getIdleConnectionCount()); in conditionalCacheHitIsNotDoublePooled()
DURLConnectionTest.java1296 assertEquals(0, client.client().getConnectionPool().getIdleConnectionCount()); in endOfStreamResponseIsNotPooled()
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
DMain.java242 client.getConnectionPool().evictAll(); // Close any persistent connections. in close()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java410 public ConnectionPool getConnectionPool() { in getConnectionPool() method in OkHttpClient
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java182 : new StreamAllocation(client.getConnectionPool(), createAddress(client, request)); in HttpEngine()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java858 assertEquals(1, client.client().getConnectionPool().getIdleConnectionCount()); in conditionalCacheHitIsNotDoublePooled()