/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | Inet6AddressTest.java | 729 Inet6Address.getByAddress("123", null, 0); 736 Inet6Address.getByAddress("123", addr1, 0); 747 Inet6Address.getByAddress("123", addr2, 3); 748 Inet6Address.getByAddress("123", addr2, 0); 749 Inet6Address.getByAddress("123", addr2, -1); 756 Inet6Address.getByAddress("123", null, nif); 763 Inet6Address.getByAddress("123", addr1, nif); 773 Inet6Address.getByAddress("123", addr2, nif); 778 InetAddress ia = InetAddress.getByAddress(ipAddress); 782 ia = InetAddress.getByAddress(ipAddres [all...] |
H A D | InetAddressTest.java | 70 InetAddress address = InetAddress.getByAddress(origBytes); 262 InetAddress addr2 = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); 267 * java.net.InetAddress#getByAddress(java.lang.String, byte[]) 274 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress); 275 addr = InetAddress.getByAddress(ipAddress); 285 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress2); 286 addr = InetAddress.getByAddress(ipAddress); 432 * java.net.InetAddress#getByAddress(byte[]) 437 InetAddress.getByAddress(null);
|
H A D | DatagramSocketTest.java | 309 InetAddress inetAddress = InetAddress.getByAddress(addressBytes); 315 inetAddress = InetAddress.getByAddress(addressTestBytes); 847 theSocket.connect(new InetSocketAddress(InetAddress.getByAddress(theBytes), 0)); 855 theSocket.connect(new InetSocketAddress(InetAddress.getByAddress(theBytes), 0));
|
H A D | ServerSocketTest.java | 452 .getByAddress(Support_Configuration.nonLocalAddressBytes), 536 .getByAddress(Support_Configuration.nonLocalAddressBytes),
|
H A D | NetworkInterfaceTest.java | 255 .getByAddress(addressBytes)));
|
H A D | SocketTest.java | 163 .getByAddress(Support_Configuration.nonLocalAddressBytes), 42); 323 .getByAddress(new byte[] { 0, 0, 0, 0 }), 42)); 421 .getByAddress(new byte[] { 0, 0, 0, 0 }), 0);
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | InetAddressTest.java | 77 return (Inet6Address) InetAddress.getByAddress(LOOPBACK6_BYTES); 81 return (Inet6Address) InetAddress.getByAddress("ip6-localhost", LOOPBACK6_BYTES); 234 assertEquals(Inet6Address.getByAddress("1", bs, 1), Inet6Address.getByAddress("2", bs, 2)); 262 aAddr = Inet6Address.getByAddress(bAddr); 272 aAddr = Inet6Address.getByAddress(cAddr); 281 aAddr = Inet6Address.getByAddress(dAddr); 291 aAddr = Inet6Address.getByAddress(eAddr); 300 aAddr = Inet6Address.getByAddress(fAddr); 336 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK6_BYTE [all...] |
H A D | InetSocketAddressTest.java | 155 InetAddress.getByAddress("some host", new byte[] { 127, 0, 0, 1 }), 169 InetAddress address = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); 176 InetAddress inetAddress = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 });
|
H A D | NetworkInterfaceTest.java | 47 expected.add(Inet6Address.getByAddress("localhost", new byte[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }, null));
|
H A D | OldSocketTest.java | 824 .getByAddress(Support_Configuration.nonLocalAddressBytes), 937 SocketAddress nonConnectableAddress = new InetSocketAddress(InetAddress.getByAddress(theBytes), 0); 1156 SocketAddress nonConnectableAddress = new InetSocketAddress(InetAddress.getByAddress(theBytes), 0);
|
/libcore/support/src/test/java/tests/net/ |
H A D | StuckServer.java | 40 UNREACHABLE_ADDRESS = InetAddress.getByAddress(new byte[] { (byte) 192, 0, 2, 0 });
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | InetAddress.java | 176 * @see java.net.InetAddress#getByAddress(byte[]) 177 * @see java.net.InetAddress#getByAddress(java.lang.String, byte[]) 649 public static InetAddress getByAddress(String host, byte[] addr) throws UnknownHostException { method in class:InetAddress 650 return getByAddress(host, addr, -1 /* scopeId */); 654 private static InetAddress getByAddress(String host, byte[] addr, int scopeId) method in class:InetAddress 786 public static InetAddress getByAddress(byte[] addr) method in class:InetAddress 788 return getByAddress(null, addr);
|
H A D | Inet6Address.java | 251 * Create an Inet6Address in the exact manner of {@link InetAddress#getByAddress(String,byte[])} 269 public static Inet6Address getByAddress(String host, byte[] addr, NetworkInterface nif) method in class:Inet6Address 285 * Create an Inet6Address in the exact manner of {@link InetAddress#getByAddress(String,byte[])} 300 public static Inet6Address getByAddress(String host, byte[] addr, int scope_id) method in class:Inet6Address
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | IPAddressName.java | 262 name = InetAddress.getByAddress(host).getHostAddress(); 267 InetAddress.getByAddress(mask).getHostAddress(); 273 name = InetAddress.getByAddress(host).getHostAddress();
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | SocketChannelTest.java | 78 sc.connect(new InetSocketAddress(InetAddress.getByAddress(new byte[] {
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | Net.java | 299 return InetAddress.getByAddress(addr);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | IoBridge.java | 92 address = Inet6Address.getByAddress(address.getHostName(), address.getAddress(), nif.getIndex());
|