/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InetAddressThreadTest.java | 68 String correctAddress = testAddress.getHostAddress(); in run() 87 String hostAddress = ia.getHostAddress(); in run() 135 assertEquals("127.0.0.1", lookup1.getHostAddress()); in test_getHostName() 137 assertEquals("127.0.0.1", lookup2.getHostAddress()); in test_getHostName() 143 lookup1.getHostAddress(), lookup1, 1); in test_getHostName() 145 lookup2.getHostAddress(), lookup2, 1); in test_getHostName()
|
D | InetAddressTest.java | 118 assertEquals("1.2.3.4", InetAddress.getByName("1.2.3.4").getHostAddress()); in test_getHostAddress() 119 assertEquals("::1", InetAddress.getByName("::1").getHostAddress()); in test_getHostAddress()
|
D | Inet6AddressTest.java | 736 assertEquals("::1", ia.getHostAddress().toLowerCase(Locale.US)); in test_getHostAddress_() 740 assertEquals("fe80::211:25ff:fef8:7cb1", ia.getHostAddress().toLowerCase(Locale.US)); in test_getHostAddress_()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 379 assertEquals("::1", localhost6().getHostAddress()); in test_getHostAddress() 380 assertEquals("::1", InetAddress.getByName("::1").getHostAddress()); in test_getHostAddress() 382 assertEquals("127.0.0.1", Inet4Address.LOOPBACK.getHostAddress()); in test_getHostAddress() 385 assertEquals("127.0.0.1", InetAddress.getByName("::ffff:127.0.0.1").getHostAddress()); in test_getHostAddress() 388 assertEquals("224.0.0.0", aAddr.getHostAddress()); in test_getHostAddress() 404 String aString = aAddr.getHostAddress(); in test_getHostAddress() 414 assertEquals("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", aAddr.getHostAddress()); in test_getHostAddress() 423 aString = aAddr.getHostAddress(); in test_getHostAddress() 433 assertEquals("1:203:405:607:809:a0b:c0d:e0f", aAddr.getHostAddress()); in test_getHostAddress() 442 assertEquals("10:2030:4050:6070:8090:a0b0:c0d0:e0f0", aAddr.getHostAddress()); in test_getHostAddress()
|
D | OldURLStreamHandlerTest.java | 56 assertNull(handler.getHostAddress(url1)); in test_getHostAddress() 59 assertNull(handler.getHostAddress(url2)); in test_getHostAddress() 62 assertEquals(InetAddress.getByName("localhost"), handler.getHostAddress(url3)); in test_getHostAddress() 188 @Override public InetAddress getHostAddress(URL u) { in getHostAddress() method in OldURLStreamHandlerTest.MockURLStreamHandler 189 return super.getHostAddress(u); in getHostAddress()
|
D | InetSocketAddressTest.java | 108 isa2 = new InetSocketAddress(localhost.getHostAddress(), 80); in test_equals() 132 InetSocketAddress isa2 = new InetSocketAddress(localhost.getHostAddress(), 8080); in test_hashCode()
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocket.java | 148 security.checkConnect(address.getHostAddress(), port); in connectInternal() 149 security.checkAccept(address.getHostAddress(), port); in connectInternal() 700 security.checkConnect(p.getAddress().getHostAddress(), in send() 779 peekAd = peekPacket.getAddress().getHostAddress(); in receive() 783 peekAd = adr.getHostAddress(); in receive() 893 s.checkConnect(in.getHostAddress(), -1); in getLocalAddress()
|
D | InetAddress.java | 673 host = addr.getHostAddress(); in getHostFromNameService() 677 host = addr.getHostAddress(); in getHostFromNameService() 700 public String getHostAddress() { in getHostAddress() method in InetAddress 746 + "/" + getHostAddress(); in toString()
|
D | ServerSocket.java | 414 sm.checkConnect(in.getHostAddress(), -1); in getInetAddress() 551 security.checkAccept(si.getInetAddress().getHostAddress(), in implAccept()
|
D | Inet4Address.java | 358 public String getHostAddress() { in getHostAddress() method in Inet4Address
|
D | NetworkInterface.java | 164 sec.checkConnect(addrs[j].getHostAddress(), -1); in getInetAddresses() 210 sec.checkConnect(bindings[j].getAddress().getHostAddress(), -1); in getInterfaceAddresses()
|
D | MulticastSocket.java | 678 security.checkConnect(p.getAddress().getHostAddress(), in send()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | MembershipKeyImpl.java | 210 sb.append(group.getHostAddress()); in toString() 215 sb.append(source.getHostAddress()); in toString()
|
D | UnixAsynchronousServerSocketChannelImpl.java | 246 sm.checkAccept(remote.getAddress().getHostAddress(), in finishAccept() 255 sm.checkAccept(remote.getAddress().getHostAddress(), in finishAccept()
|
D | DatagramChannelImpl.java | 398 isa.getAddress().getHostAddress(), in receive() 483 sm.checkConnect(ia.getHostAddress(), in send() 769 sm.checkConnect(isa.getAddress().getHostAddress(), in connect() 822 sm.checkConnect(isa.getAddress().getHostAddress(), in disconnect()
|
D | ServerSocketChannelImpl.java | 270 sm.checkAccept(isa.getAddress().getHostAddress(), in accept()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | IPAddressName.java | 264 name = InetAddress.getByAddress(host).getHostAddress(); in getName() 269 InetAddress.getByAddress(mask).getHostAddress(); in getName() 275 name = InetAddress.getByAddress(host).getHostAddress(); in getName()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Inet4Address.java | 95 public java.lang.String getHostAddress() { in getHostAddress() method in Inet4Address
|
D | Inet6Address.java | 160 public java.lang.String getHostAddress() { in getHostAddress() method in Inet6Address
|
D | InetAddress.java | 117 public java.lang.String getHostAddress() { in getHostAddress() method in InetAddress
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | Inet4Address.annotated.java | 59 public java.lang.String getHostAddress() { throw new RuntimeException("Stub!"); } in getHostAddress() method in Inet4Address
|
D | Inet6Address.annotated.java | 66 public java.lang.String getHostAddress() { throw new RuntimeException("Stub!"); } in getHostAddress() method in Inet6Address
|
D | InetAddress.annotated.java | 70 public java.lang.String getHostAddress() { throw new RuntimeException("Stub!"); } in getHostAddress() method in InetAddress
|
/libcore/luni/src/test/java/libcore/libcore/net/ |
D | InetAddressUtilsTest.java | 86 assertEquals(expectedString, inetAddress.getHostAddress()); in parseNumericAddress()
|
/libcore/ojluni/annotations/sdk/nullability/java/net/ |
D | InetAddress.annotated.java | 65 @libcore.util.Nullable public java.lang.String getHostAddress() { throw new RuntimeException("Stub!… in getHostAddress() method in InetAddress
|