Searched refs:NO_PROXY (Results 1 – 13 of 13) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | ProxySelectorTest.java | 66 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(ftpUri)); in testNoProxySystemProperty() 67 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpUri)); in testNoProxySystemProperty() 68 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpsUri)); in testNoProxySystemProperty() 69 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)); in testNoProxySystemProperty() 70 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); in testNoProxySystemProperty() 85 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); in testProxyHostOnly() 86 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)); in testProxyHostOnly() 106 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)); in testProxyHostPort() 107 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); in testProxyHostPort() 116 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(ftpUri)); in testProxyPortOnly() [all …]
|
D | OldProxyTest.java | 67 proxy = Proxy.NO_PROXY; in test_type()
|
D | OldURLTest.java | 580 proxyList.add(Proxy.NO_PROXY); in select()
|
D | URLConnectionTest.java | 565 testConnectViaDirectProxyToHttps(ProxyConfig.NO_PROXY); in testConnectViaHttpProxyToHttpsUsingProxyArgWithNoProxy() 2367 NO_PROXY() { 2370 return (HttpURLConnection) url.openConnection(Proxy.NO_PROXY);
|
D | OldSocketTest.java | 2019 new Socket(Proxy.NO_PROXY); in test_ConstructorLjava_net_Proxy_Exception()
|
/libcore/luni/src/main/java/java/net/ |
D | ProxySelectorImpl.java | 63 return Proxy.NO_PROXY; in selectOneProxy() 68 return Proxy.NO_PROXY; in selectOneProxy() 87 return Proxy.NO_PROXY; in selectOneProxy()
|
D | Proxy.java | 34 public static final Proxy NO_PROXY = new Proxy(); field in Proxy
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ProxyTest.java | 43 proxy = Proxy.NO_PROXY; in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 123 proxy = Proxy.NO_PROXY; in test_toString() 173 new Proxy(Proxy.Type.SOCKS, address2), Proxy.NO_PROXY, in test_equalsLjava_lang_Object_NotEquals()
|
D | ProxySelectorTest.java | 114 assertProxyEquals(proxyList, Proxy.NO_PROXY); in test_selectLjava_net_URI_SelectExact() 155 assertProxyEquals(proxyList, Proxy.NO_PROXY); in test_selectLjava_net_URI_SelectExact_NullHost() 337 assertProxyEquals(proxyList, Proxy.NO_PROXY); in test_selectLjava_net_URI_SelectNoHTTP() 374 assertProxyEquals(proxyList, Proxy.NO_PROXY); in test_selectLjava_net_URI_SelectNoHTTPS() 411 assertProxyEquals(proxyList, Proxy.NO_PROXY); in test_selectLjava_net_URI_SelectNoFTP() 430 assertProxyEquals(proxyList, Proxy.NO_PROXY); in test_selectLjava_net_URI_SelectNoSOCKS()
|
D | URLTest.java | 1117 proxyList.add(Proxy.NO_PROXY); in select()
|
D | SocketTest.java | 644 new Socket(Proxy.NO_PROXY); in test_ConstructorLjava_net_Proxy_Exception()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
D | HttpURLConnectionTest.java | 141 Proxy proxy = Proxy.NO_PROXY; in select() 218 HttpURLConnection huc = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); in testUsingProxy()
|
/libcore/luni/src/main/java/libcore/net/url/ |
D | FtpURLConnection.java | 197 if (selector != null && Proxy.NO_PROXY != currentProxy) { in connect()
|