Home
last modified time | relevance | path

Searched refs:createUnresolved (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DProxySelectorTest.java19 import static java.net.InetSocketAddress.createUnresolved;
79 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("a", 80))), in testProxyHostOnly()
81 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("b", 80))), in testProxyHostOnly()
83 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("c", 443))), in testProxyHostOnly()
100 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("a", 1001))), in testProxyHostPort()
102 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("b", 1002))), in testProxyHostPort()
104 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("c", 1003))), in testProxyHostPort()
131 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("a", 80))), in testProxyHost()
133 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("a", 80))), in testProxyHost()
135 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("a", 443))), in testProxyHost()
[all …]
DInetSocketAddressTest.java149 InetSocketAddress hasHostname = InetSocketAddress.createUnresolved("some host", 1234); in test_getHostString()
162 InetSocketAddress hostnameIsIp = InetSocketAddress.createUnresolved("127.0.0.1", 1234); in test_getHostString()
DOldSocketTest.java1894 SocketAddress addr1 = InetSocketAddress.createUnresolved("127.0.0.1", in test_ConstructorLjava_net_Proxy_Exception()
1942 InetSocketAddress unresolved = InetSocketAddress.createUnresolved("unknownhost", 12345); in test_connect_unresolved_unknown()
1953 InetSocketAddress unresolvedSocketAddress = InetSocketAddress.createUnresolved( in test_connect_unresolved()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetSocketAddressTest.java49 InetSocketAddress isa = InetSocketAddress.createUnresolved( in test_createUnresolvedLjava_lang_StringI()
66 InetSocketAddress.createUnresolved( in test_createUnresolvedLjava_lang_StringI_IllegalArgumentException()
114 InetSocketAddress.createUnresolved("badhost", 1000), // unresolved in testSerializationSelf()
126 InetSocketAddress.createUnresolved("badhost", 1000), // unresolved in testSerializationCompatibility()
DProxySelectorTest.java471 SocketAddress sa = InetSocketAddress.createUnresolved("127.0.0.1", 0); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException_IllegalArguement()
526 SocketAddress sa = InetSocketAddress.createUnresolved(host, port); in assertProxyEquals()
DSocketTest.java287 InetSocketAddress unresolved = InetSocketAddress.createUnresolved("www.apache.org", 80); in test_connect_unresolved()
634 SocketAddress addr1 = InetSocketAddress.createUnresolved("127.0.0.1", 80); in test_ConstructorLjava_net_Proxy_Exception()
DDatagramSocketTest.java528 InetSocketAddress addr = InetSocketAddress.createUnresolved( in testArchivedHarmonyRegressions()
/libcore/ojluni/annotations/mmodule/java/net/
DInetSocketAddress.annotated.java43 public static java.net.InetSocketAddress createUnresolved(java.lang.String host, int port) { throw … in createUnresolved() method in InetSocketAddress
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetSocketAddress.java62 public static java.net.InetSocketAddress createUnresolved(java.lang.String host, int port) { in createUnresolved() method in InetSocketAddress
/libcore/ojluni/src/main/java/sun/net/spi/
DDefaultProxySelector.java315 saddr = InetSocketAddress.createUnresolved(phost, pport); in select()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java193 InetSocketAddress.createUnresolved("127.0.0.1", 8080); in testOpenSocketAddress()