Searched refs:NO_PROXY (Results 1 – 16 of 16) 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 | FtpURLConnectionTest.java | 139 Proxy proxy = Proxy.NO_PROXY; in testConnectOverProxy_noProxy() 242 SingleProxySelector proxySelector = new SingleProxySelector(Proxy.NO_PROXY); in testInputUrlWithSpacesViaProxySelector()
|
D | OldURLTest.java | 580 proxyList.add(Proxy.NO_PROXY); in select()
|
D | OldSocketTest.java | 1910 new Socket(Proxy.NO_PROXY); in test_ConstructorLjava_net_Proxy_Exception()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Proxy.java | 62 public static final java.net.Proxy NO_PROXY; field in Proxy 65 NO_PROXY = null;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
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 | 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 | URLTest.java | 1117 proxyList.add(Proxy.NO_PROXY); in select()
|
D | SocketTest.java | 648 new Socket(Proxy.NO_PROXY); in test_ConstructorLjava_net_Proxy_Exception()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetworkClient.java | 49 protected Proxy proxy = Proxy.NO_PROXY; 166 s = new Socket(Proxy.NO_PROXY); in doConnect()
|
/libcore/ojluni/src/main/java/sun/net/spi/ |
D | DefaultProxySelector.java | 260 return Proxy.NO_PROXY; in select() 288 return Proxy.NO_PROXY; in select() 325 return Proxy.NO_PROXY; in select()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Proxy.java | 72 public final static Proxy NO_PROXY = new Proxy(); field in Proxy
|
/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/test/java/libcore/libcore/net/http/ |
D | HttpURLConnectionFactoryTest.java | 64 java.net.Proxy.NO_PROXY); in testOpenConnection()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 246 if (p == null || p == Proxy.NO_PROXY || in connect()
|