Home
last modified time | relevance | path

Searched refs:routeDatabase (Results 1 – 12 of 12) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java74 private RouteDatabase routeDatabase = new RouteDatabase(); field in RouteSelectorTest
83 RouteSelector routeSelector = new RouteSelector(address, routeDatabase); in singleRoute()
100 RouteSelector routeSelector = new RouteSelector(address, routeDatabase); in singleRouteReturnsFailedRoute()
105 routeDatabase.failed(route); in singleRouteReturnsFailedRoute()
106 routeSelector = new RouteSelector(address, routeDatabase); in singleRouteReturnsFailedRoute()
119 RouteSelector routeSelector = new RouteSelector(address, routeDatabase); in explicitProxyTriesThatProxysAddressesOnly()
134 RouteSelector routeSelector = new RouteSelector(address, routeDatabase); in explicitDirectProxy()
150 RouteSelector routeSelector = new RouteSelector(address, routeDatabase); in proxySelectorReturnsNull()
163 RouteSelector routeSelector = new RouteSelector(address, routeDatabase); in proxySelectorReturnsNoProxies()
180 RouteSelector routeSelector = new RouteSelector(address, routeDatabase); in proxySelectorReturnsMultipleProxies()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRouteSelector.java40 private final RouteDatabase routeDatabase; field in RouteSelector
57 public RouteSelector(Address address, RouteDatabase routeDatabase) { in RouteSelector() argument
59 this.routeDatabase = routeDatabase; in RouteSelector()
88 if (routeDatabase.shouldPostpone(route)) { in next()
108 routeDatabase.failed(failedRoute); in connectFailed()
DStreamAllocation.java170 routeSelector = new RouteSelector(address, routeDatabase()); in findConnection()
186 routeDatabase().connected(newConnection.getRoute()); in findConnection()
206 private RouteDatabase routeDatabase() { in routeDatabase() method in StreamAllocation
207 return Internal.instance.routeDatabase(connectionPool); in routeDatabase()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DRouteSelector.java42 private final RouteDatabase routeDatabase; field in RouteSelector
59 public RouteSelector(Address address, RouteDatabase routeDatabase) { in RouteSelector() argument
61 this.routeDatabase = routeDatabase; in RouteSelector()
91 if (routeDatabase.shouldPostpone(route)) { in next()
111 routeDatabase.failed(failedRoute); in connectFailed()
DStreamAllocation.java172 routeSelector = new RouteSelector(address, routeDatabase()); in findConnection()
188 routeDatabase().connected(newConnection.getRoute()); in findConnection()
208 private RouteDatabase routeDatabase() { in routeDatabase() method in StreamAllocation
209 return Internal.instance.routeDatabase(connectionPool); in routeDatabase()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java92 @Override public RouteDatabase routeDatabase(ConnectionPool connectionPool) {
93 return connectionPool.routeDatabase;
120 private final RouteDatabase routeDatabase; field in OkHttpClient
149 routeDatabase = new RouteDatabase(); in OkHttpClient()
154 this.routeDatabase = okHttpClient.routeDatabase; in OkHttpClient()
465 RouteDatabase routeDatabase() { in routeDatabase() method in OkHttpClient
466 return routeDatabase; in routeDatabase()
DConnectionPool.java111 final RouteDatabase routeDatabase = new RouteDatabase(); field in ConnectionPool
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DOkHttpClient.java95 @Override public RouteDatabase routeDatabase(ConnectionPool connectionPool) {
96 return connectionPool.routeDatabase;
123 private final RouteDatabase routeDatabase; field in OkHttpClient
155 routeDatabase = new RouteDatabase(); in OkHttpClient()
160 this.routeDatabase = okHttpClient.routeDatabase; in OkHttpClient()
478 RouteDatabase routeDatabase() { in routeDatabase() method in OkHttpClient
479 return routeDatabase; in routeDatabase()
DConnectionPool.java117 final RouteDatabase routeDatabase = new RouteDatabase(); field in ConnectionPool
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java174 assertNotNull(a.routeDatabase()); in cloneSharesStatefulInstances()
181 assertSame(a.routeDatabase(), b.routeDatabase()); in cloneSharesStatefulInstances()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DInternal.java63 public abstract RouteDatabase routeDatabase(ConnectionPool connectionPool); in routeDatabase() method in Internal
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DInternal.java78 public abstract RouteDatabase routeDatabase(ConnectionPool connectionPool); in routeDatabase() method in Internal