HomeSort by relevance Sort by last modified time
    Searched defs:proxySelector (Results 1 - 20 of 20) sorted by null

  /libcore/luni/src/test/java/libcore/java/net/
ProxySelectorTest.java 21 import java.net.ProxySelector;
29 private ProxySelector proxySelector;
39 proxySelector = ProxySelector.getDefault();
66 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(ftpUri));
67 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpUri));
68 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpsUri));
69 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri));
70 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri))
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/
ProxySelectorRoutePlanner.java 38 import java.net.ProxySelector;
59 * This implementation is based on {@link java.net.ProxySelector}.
73 protected ProxySelector proxySelector;
84 ProxySelector prosel) {
91 proxySelector = prosel;
100 public ProxySelector getProxySelector() {
101 return this.proxySelector;
111 public void setProxySelector(ProxySelector prosel) {
112 this.proxySelector = prosel
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
RouteSelector.java 28 import java.net.ProxySelector;
54 private final ProxySelector proxySelector;
79 public RouteSelector(Address address, URI uri, ProxySelector proxySelector, ConnectionPool pool,
83 this.proxySelector = proxySelector;
146 if (failedRoute.getProxy().type() != Proxy.Type.DIRECT && proxySelector != null) {
148 proxySelector.connectFailed(uri, failedRoute.getProxy().address(), failure);
160 List<Proxy> proxyList = proxySelector.select(uri)
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
RouteSelectorTest.java 29 import java.net.ProxySelector;
82 private final FakeProxySelector proxySelector = new FakeProxySelector();
86 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns,
105 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns,
113 routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns, routeDatabase);
126 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns,
138 proxySelector.assertRequests(); // No proxy selector requests!
144 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns,
156 proxySelector.assertRequests(); // No proxy selector requests!
162 proxySelector.proxies = null
    [all...]
URLConnectionTest.java 43 import java.net.ProxySelector;
312 FakeProxySelector proxySelector = new FakeProxySelector();
313 proxySelector.proxies.add(server2.toProxyAddress());
314 client.setProxySelector(proxySelector);
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/
OkHttpClient.java 28 import java.net.ProxySelector;
50 private ProxySelector proxySelector;
140 * <p>If unset, the {@link ProxySelector#getDefault() system-wide default}
143 public OkHttpClient setProxySelector(ProxySelector proxySelector) {
144 this.proxySelector = proxySelector;
148 public ProxySelector getProxySelector() {
149 return proxySelector;
    [all...]
  /external/robolectric/lib/main/
httpclient-4.0.3.jar 
  /external/smack/asmack-master/lib/
httpclient-4.1.3.jar 
  /prebuilts/devtools/tools/lib/
httpclient-4.1.1.jar 
  /prebuilts/tools/common/http-client/
httpclient-4.1.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.1.1/
httpclient-4.1.1.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 

Completed in 147 milliseconds