Searched refs:getByAddress (Results 1 - 17 of 17) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DInet6AddressTest.java729 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 DInetAddressTest.java70 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 DDatagramSocketTest.java309 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 DServerSocketTest.java452 .getByAddress(Support_Configuration.nonLocalAddressBytes),
536 .getByAddress(Support_Configuration.nonLocalAddressBytes),
H A DNetworkInterfaceTest.java255 .getByAddress(addressBytes)));
H A DSocketTest.java163 .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 DInetAddressTest.java77 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 DInetSocketAddressTest.java155 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 DNetworkInterfaceTest.java47 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 DOldSocketTest.java824 .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 DStuckServer.java40 UNREACHABLE_ADDRESS = InetAddress.getByAddress(new byte[] { (byte) 192, 0, 2, 0 });
/libcore/ojluni/src/main/java/java/net/
H A DInetAddress.java176 * @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 DInet6Address.java251 * 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 DIPAddressName.java262 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 DSocketChannelTest.java78 sc.connect(new InetSocketAddress(InetAddress.getByAddress(new byte[] {
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DNet.java299 return InetAddress.getByAddress(addr);
/libcore/luni/src/main/java/libcore/io/
H A DIoBridge.java92 address = Inet6Address.getByAddress(address.getHostName(), address.getAddress(), nif.getIndex());

Completed in 359 milliseconds