Searched refs:createUnresolved (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | ProxySelectorTest.java | 19 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 …]
|
D | InetSocketAddressTest.java | 149 InetSocketAddress hasHostname = InetSocketAddress.createUnresolved("some host", 1234); in test_getHostString()
|
D | OldSocketTest.java | 2003 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/ |
D | InetSocketAddressTest.java | 49 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()
|
D | ProxySelectorTest.java | 471 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()
|
D | SocketTest.java | 285 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()
|
D | DatagramSocketTest.java | 505 InetSocketAddress addr = InetSocketAddress.createUnresolved( in testArchivedHarmonyRegressions()
|
/libcore/luni/src/main/java/java/net/ |
D | InetSocketAddress.java | 129 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved() method in InetSocketAddress
|
D | ProxySelectorImpl.java | 101 return new Proxy(type, InetSocketAddress.createUnresolved(host, port)); in lookupProxy()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldSocketChannelTest.java | 191 InetSocketAddress.createUnresolved("127.0.0.1", 8080); in testOpenSocketAddress()
|