/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 71 return (Inet6Address) InetAddress.getByAddress(LOOPBACK6_BYTES); in loopback6() 75 return (Inet6Address) InetAddress.getByAddress("localhost", LOOPBACK6_BYTES); in localhost6() 214 assertEquals(Inet6Address.getByAddress("1", bs, 1), Inet6Address.getByAddress("2", bs, 2)); in test_equals() 242 aAddr = Inet6Address.getByAddress(bAddr); in test_getHostAddress() 252 aAddr = Inet6Address.getByAddress(cAddr); in test_getHostAddress() 261 aAddr = Inet6Address.getByAddress(dAddr); in test_getHostAddress() 271 aAddr = Inet6Address.getByAddress(eAddr); in test_getHostAddress() 280 aAddr = Inet6Address.getByAddress(fAddr); in test_getHostAddress()
|
D | InetSocketAddressTest.java | 155 InetAddress address = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_getHostString()
|
D | NetworkInterfaceTest.java | 39 …expected.add(Inet6Address.getByAddress("localhost", new byte[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, … in testIPv6()
|
D | OldSocketTest.java | 825 .getByAddress(Support_Configuration.nonLocalAddressBytes), in test_bindLjava_net_SocketAddress() 947 .getByAddress(theBytes), portNumber); in test_connectLjava_net_SocketAddress() 1167 …SocketAddress nonConnectableAddress = new InetSocketAddress(InetAddress.getByAddress(theBytes), 0); in test_connectLjava_net_SocketAddressI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | Inet6AddressTest.java | 728 Inet6Address.getByAddress("123", null, 0); in test_getByAddressLString$BI() 735 Inet6Address.getByAddress("123", addr1, 0); in test_getByAddressLString$BI() 746 Inet6Address.getByAddress("123", addr2, 3); in test_getByAddressLString$BI() 747 Inet6Address.getByAddress("123", addr2, 0); in test_getByAddressLString$BI() 748 Inet6Address.getByAddress("123", addr2, -1); in test_getByAddressLString$BI() 755 Inet6Address.getByAddress("123", null, nif); in test_getByAddressLString$BLNetworkInterface() 762 Inet6Address.getByAddress("123", addr1, nif); in test_getByAddressLString$BLNetworkInterface() 772 Inet6Address.getByAddress("123", addr2, nif); in test_getByAddressLString$BLNetworkInterface() 777 InetAddress ia = InetAddress.getByAddress(ipAddress); in test_getHostAddress_() 781 ia = InetAddress.getByAddress(ipAddress); in test_getHostAddress_() [all …]
|
D | InetAddressTest.java | 70 InetAddress address = InetAddress.getByAddress(origBytes); in test_getAddress() 262 InetAddress addr2 = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_toString() 274 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress); in test_getByAddressLjava_lang_String$B() 275 addr = InetAddress.getByAddress(ipAddress); in test_getByAddressLjava_lang_String$B() 285 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress2); in test_getByAddressLjava_lang_String$B() 286 addr = InetAddress.getByAddress(ipAddress); in test_getByAddressLjava_lang_String$B() 437 InetAddress.getByAddress(null); in test_getByAddress()
|
D | DatagramSocketTest.java | 309 InetAddress inetAddress = InetAddress.getByAddress(addressBytes); in testConnect_zeroAddress() 315 inetAddress = InetAddress.getByAddress(addressTestBytes); in testConnect_zeroAddress() 843 theSocket.connect(new InetSocketAddress(InetAddress.getByAddress(theBytes), 0)); in test_setBroadcastZ() 851 theSocket.connect(new InetSocketAddress(InetAddress.getByAddress(theBytes), 0)); in test_setBroadcastZ()
|
D | NetworkInterfaceTest.java | 255 .getByAddress(addressBytes))); in test_getByInetAddressLjava_net_InetAddress()
|
D | ServerSocketTest.java | 438 .getByAddress(Support_Configuration.nonLocalAddressBytes), in test_bindLjava_net_SocketAddress() 522 .getByAddress(Support_Configuration.nonLocalAddressBytes), in test_bindLjava_net_SocketAddressI()
|
D | SocketTest.java | 163 .getByAddress(Support_Configuration.nonLocalAddressBytes), 42); in test_bindLjava_net_SocketAddress() 323 .getByAddress(new byte[] { 0, 0, 0, 0 }), 42)); in test_connectLjava_net_SocketAddress() 421 .getByAddress(new byte[] { 0, 0, 0, 0 }), 0); in test_connectLjava_net_SocketAddressI()
|
/libcore/luni/src/main/java/java/net/ |
D | Inet6Address.java | 85 public static Inet6Address getByAddress(String host, byte[] addr, int scope_id) in getByAddress() method in Inet6Address 115 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress() method in Inet6Address 118 Inet6Address address = Inet6Address.getByAddress(host, addr, 0); in getByAddress()
|
D | InetAddress.java | 779 public static InetAddress getByAddress(byte[] ipAddress) throws UnknownHostException { in getByAddress() method in InetAddress 780 return getByAddress(null, ipAddress, 0); in getByAddress() 799 …public static InetAddress getByAddress(String hostName, byte[] ipAddress) throws UnknownHostExcept… in getByAddress() method in InetAddress 800 return getByAddress(hostName, ipAddress, 0); in getByAddress() 803 …private static InetAddress getByAddress(String hostName, byte[] ipAddress, int scopeId) throws Unk… in getByAddress() method in InetAddress
|
D | PlainDatagramSocketImpl.java | 206 connectedAddress = InetAddress.getByAddress(inetAddr.getAddress()); in connect()
|
D | PlainSocketImpl.java | 415 address = InetAddress.getByAddress(replyBytes); in socksBind()
|
/libcore/support/src/test/java/tests/net/ |
D | StuckServer.java | 64 InetAddress testNet1 = InetAddress.getByAddress(new byte[] { (byte) 192, 0, 2, 0 }); in StuckServer()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 86 sc.connect(new InetSocketAddress(InetAddress.getByAddress(new byte[] { 0, 0, 0, 0 }), 0)); in test_56684()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | GeneralName.java | 665 return InetAddress.getByAddress(null, ip).getHostAddress(); in ipBytesToStr()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 90 … address = Inet6Address.getByAddress(address.getHostName(), address.getAddress(), nif.getIndex()); in bind()
|