Searched refs:uriPort (Results 1 – 2 of 2) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | RouteSelectorTest.java | 63 private int uriPort = 1003; field in RouteSelectorTest 87 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort); in singleRoute() 107 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort); in singleRouteReturnsFailedRoute() 117 Address address = new Address(uriHost, uriPort, dns, socketFactory, null, null, null, in explicitProxyTriesThatProxysAddressesOnly() 132 Address address = new Address(uriHost, uriPort, dns, socketFactory, null, null, null, in explicitDirectProxy() 138 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort); in explicitDirectProxy() 139 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(1), uriPort); in explicitDirectProxy() 155 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort); in proxySelectorReturnsNull() 167 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort); in proxySelectorReturnsNoProxies() 168 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(1), uriPort); in proxySelectorReturnsNoProxies() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Address.java | 51 public Address(String uriHost, int uriPort, Dns dns, SocketFactory socketFactory, in Address() argument 58 .port(uriPort) in Address()
|