Home
last modified time | relevance | path

Searched refs:isMCSiteLocal (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java148 assertFalse(InetAddress.getByName("239.254.255.255").isMCSiteLocal()); in test_isMCSiteLocalAddress()
149 assertTrue(InetAddress.getByName("239.255.0.0").isMCSiteLocal()); in test_isMCSiteLocalAddress()
150 assertTrue(InetAddress.getByName("239.255.255.255").isMCSiteLocal()); in test_isMCSiteLocalAddress()
151 assertFalse(InetAddress.getByName("240.0.0.0").isMCSiteLocal()); in test_isMCSiteLocalAddress()
153 assertFalse(InetAddress.getByName("ff06::").isMCSiteLocal()); in test_isMCSiteLocalAddress()
154 assertTrue(InetAddress.getByName("ff05::").isMCSiteLocal()); in test_isMCSiteLocalAddress()
155 assertTrue(InetAddress.getByName("ff15::").isMCSiteLocal()); in test_isMCSiteLocalAddress()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInet4AddressTest.java243 !addr.isMCSiteLocal()); in test_isMCSiteLocal()
251 !addr.isMCSiteLocal()); in test_isMCSiteLocal()
257 addr.isMCSiteLocal()); in test_isMCSiteLocal()
263 addr.isMCSiteLocal()); in test_isMCSiteLocal()
269 addr.isMCSiteLocal()); in test_isMCSiteLocal()
DInet6AddressTest.java497 + " not detected.", addr.isMCSiteLocal()); in test_isMCSiteLocal()
502 + " not detected.", addr.isMCSiteLocal()); in test_isMCSiteLocal()
509 + " not detected.", addr.isMCSiteLocal()); in test_isMCSiteLocal()
516 + " not detected.", addr.isMCSiteLocal()); in test_isMCSiteLocal()
525 !addr.isMCSiteLocal()); in test_isMCSiteLocal()
534 !addr.isMCSiteLocal()); in test_isMCSiteLocal()
543 !addr.isMCSiteLocal()); in test_isMCSiteLocal()
552 !addr.isMCSiteLocal()); in test_isMCSiteLocal()
559 addr.isMCSiteLocal()); in test_isMCSiteLocal()
565 addr.isMCSiteLocal()); in test_isMCSiteLocal()
DInetAddressTest.java233 assertTrue(ia2.isMCSiteLocal()); in test_isMCVerify()
239 assertFalse(ia2.isMCSiteLocal()); in test_isMCVerify()
245 assertFalse(ia2.isMCSiteLocal()); in test_isMCVerify()
251 assertFalse(ia2.isMCSiteLocal()); in test_isMCVerify()
/libcore/luni/src/main/java/java/net/
DInet4Address.java109 @Override public boolean isMCSiteLocal() { in isMCSiteLocal() method in Inet4Address
DInet6Address.java214 @Override public boolean isMCSiteLocal() { in isMCSiteLocal() method in Inet6Address
DInetAddress.java633 public boolean isMCSiteLocal() { in isMCSiteLocal() method in InetAddress