Home
last modified time | relevance | path

Searched refs:createUnresolved (Results 1 – 10 of 10) 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()
DOldSocketTest.java2003 SocketAddress addr1 = InetSocketAddress.createUnresolved("127.0.0.1", in test_ConstructorLjava_net_Proxy_Exception()
2051 InetSocketAddress unresolved = InetSocketAddress.createUnresolved("unknownhost", 12345); in test_connect_unresolved_unknown()
2062 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.java285 InetSocketAddress unresolved = InetSocketAddress.createUnresolved("www.apache.org", 80); in test_connect_unresolved()
630 SocketAddress addr1 = InetSocketAddress.createUnresolved("127.0.0.1", 80); in test_ConstructorLjava_net_Proxy_Exception()
DDatagramSocketTest.java505 InetSocketAddress addr = InetSocketAddress.createUnresolved( in testArchivedHarmonyRegressions()
/libcore/luni/src/main/java/java/net/
DInetSocketAddress.java129 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved() method in InetSocketAddress
DProxySelectorImpl.java101 return new Proxy(type, InetSocketAddress.createUnresolved(host, port)); in lookupProxy()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java191 InetSocketAddress.createUnresolved("127.0.0.1", 8080); in testOpenSocketAddress()