Home
last modified time | relevance | path

Searched refs:isLinkLocalAddress (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/net/
DInet6Address.java163 if (ia.isLinkLocalAddress() && isLinkLocalAddress()) { in compareLocalType()
166 if (!ia.isSiteLocalAddress() && !ia.isLinkLocalAddress()) { in compareLocalType()
190 @Override public boolean isLinkLocalAddress() { in isLinkLocalAddress() method in Inet6Address
DInet4Address.java59 @Override public boolean isLinkLocalAddress() { in isLinkLocalAddress() method in Inet4Address
DInetAddress.java556 public boolean isLinkLocalAddress() { in isLinkLocalAddress() method in InetAddress
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java139 assertFalse(InetAddress.getByName("127.0.0.1").isLinkLocalAddress()); in test_isLinkLocalAddress()
140 assertFalse(InetAddress.getByName("::ffff:127.0.0.1").isLinkLocalAddress()); in test_isLinkLocalAddress()
141 assertTrue(InetAddress.getByName("169.254.1.2").isLinkLocalAddress()); in test_isLinkLocalAddress()
143 assertFalse(InetAddress.getByName("fec0::").isLinkLocalAddress()); in test_isLinkLocalAddress()
144 assertTrue(InetAddress.getByName("fe80::").isLinkLocalAddress()); in test_isLinkLocalAddress()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java85 assertFalse(boundAddress.getAddress().isLinkLocalAddress()); in test_bind_nullBindsToAll()
111 assertFalse(boundAddress.getAddress().isLinkLocalAddress()); in test_bind_loopback()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInet6AddressTest.java208 addr.isLinkLocalAddress()); in test_isLinkLocalAddress()
214 addr.isLinkLocalAddress()); in test_isLinkLocalAddress()
220 .isLinkLocalAddress()); in test_isLinkLocalAddress()
226 .isLinkLocalAddress()); in test_isLinkLocalAddress()
232 .isLinkLocalAddress()); in test_isLinkLocalAddress()
DInetAddressTest.java191 assertFalse(ia2.isLinkLocalAddress()); in test_isLinkLocalAddress()
193 assertFalse(ia2.isLinkLocalAddress()); in test_isLinkLocalAddress()
DInet4AddressTest.java99 .isLinkLocalAddress()); in test_isLinkLocalAddress()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java82 if (inet6Address.getScopeId() == 0 && inet6Address.isLinkLocalAddress()) { in bind()