/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() 162 InetSocketAddress hostnameIsIp = InetSocketAddress.createUnresolved("127.0.0.1", 1234); in test_getHostString()
|
D | OldSocketTest.java | 1894 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/ |
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 | 287 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()
|
D | DatagramSocketTest.java | 528 InetSocketAddress addr = InetSocketAddress.createUnresolved( in testArchivedHarmonyRegressions()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | InetSocketAddress.annotated.java | 43 public static java.net.InetSocketAddress createUnresolved(java.lang.String host, int port) { throw … in createUnresolved() method in InetSocketAddress
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | InetSocketAddress.java | 62 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/ |
D | DefaultProxySelector.java | 315 saddr = InetSocketAddress.createUnresolved(phost, pport); in select()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldSocketChannelTest.java | 193 InetSocketAddress.createUnresolved("127.0.0.1", 8080); in testOpenSocketAddress()
|