Home
last modified time | relevance | path

Searched refs:isSiteLocalAddress (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java303 assertFalse(InetAddress.getByName("144.32.32.1").isSiteLocalAddress()); in test_isSiteLocalAddress()
304 assertTrue(InetAddress.getByName("10.0.0.1").isSiteLocalAddress()); in test_isSiteLocalAddress()
305 assertTrue(InetAddress.getByName("172.16.0.1").isSiteLocalAddress()); in test_isSiteLocalAddress()
306 assertFalse(InetAddress.getByName("172.32.0.1").isSiteLocalAddress()); in test_isSiteLocalAddress()
307 assertTrue(InetAddress.getByName("192.168.0.1").isSiteLocalAddress()); in test_isSiteLocalAddress()
309 assertFalse(InetAddress.getByName("fc00::").isSiteLocalAddress()); in test_isSiteLocalAddress()
310 assertTrue(InetAddress.getByName("fec0::").isSiteLocalAddress()); in test_isSiteLocalAddress()
/libcore/ojluni/src/main/java/java/net/
DInet6Address.java365 boolean isSiteLocalAddress() { in isSiteLocalAddress() method in Inet6Address.Inet6AddressHolder
552 if (Inet6Address.isSiteLocalAddress(thisAddr) && in isDifferentLocalAddressType()
553 !Inet6Address.isSiteLocalAddress(otherAddr)) { in isDifferentLocalAddressType()
780 public boolean isSiteLocalAddress() { in isSiteLocalAddress() method in Inet6Address
781 return holder6.isSiteLocalAddress(); in isSiteLocalAddress()
785 static boolean isSiteLocalAddress(byte[] ipaddress) { in isSiteLocalAddress() method in Inet6Address
DInet4Address.java244 public boolean isSiteLocalAddress() { in isSiteLocalAddress() method in Inet4Address
DInetAddress.java389 public boolean isSiteLocalAddress() { in isSiteLocalAddress() method in InetAddress
/libcore/ojluni/annotations/hiddenapi/java/net/
DInet6Address.java120 public boolean isSiteLocalAddress() { in isSiteLocalAddress() method in Inet6Address
124 static boolean isSiteLocalAddress(byte[] ipaddress) { in isSiteLocalAddress() method in Inet6Address
280 boolean isSiteLocalAddress() { in isSiteLocalAddress() method in Inet6Address.Inet6AddressHolder
DInet4Address.java67 public boolean isSiteLocalAddress() { in isSiteLocalAddress() method in Inet4Address
DInetAddress.java64 public boolean isSiteLocalAddress() { in isSiteLocalAddress() method in InetAddress
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetAddressTest.java196 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress()
198 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress()
200 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress()
202 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress()
204 assertTrue(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress()
DInet6AddressTest.java248 addr.isSiteLocalAddress()); in test_isSiteLocalAddress()
254 addr.isSiteLocalAddress()); in test_isSiteLocalAddress()
260 .isSiteLocalAddress()); in test_isSiteLocalAddress()
266 .isSiteLocalAddress()); in test_isSiteLocalAddress()
DInet4AddressTest.java114 .isSiteLocalAddress()); in test_isSiteLocalAddress()
/libcore/ojluni/annotations/mmodule/java/net/
DInet4Address.annotated.java45 public boolean isSiteLocalAddress() { throw new RuntimeException("Stub!"); } in isSiteLocalAddress() method in Inet4Address
DInet6Address.annotated.java48 public boolean isSiteLocalAddress() { throw new RuntimeException("Stub!"); } in isSiteLocalAddress() method in Inet6Address
DInetAddress.annotated.java46 public boolean isSiteLocalAddress() { throw new RuntimeException("Stub!"); } in isSiteLocalAddress() method in InetAddress
/libcore/ojluni/annotations/sdk/nullability/java/net/
DInetAddress.annotated.java43 public boolean isSiteLocalAddress() { throw new RuntimeException("Stub!"); } in isSiteLocalAddress() method in InetAddress