Home
last modified time | relevance | path

Searched refs:isAnyLocalAddress (Results 1 – 25 of 32) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidDatagramTest.java169 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in test_54072_DatagramSocket()
171 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in test_54072_DatagramSocket()
179 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in test_54072_DatagramChannel()
181 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in test_54072_DatagramChannel()
DSocketTest.java121 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in test_getLocalAddress_after_close()
221 assertTrue(inLocalAddressAfterClose.getAddress().isAnyLocalAddress()); in checkSocketLocalAndRemoteAddresses()
226 assertTrue(outLocalAddressAfterClose.getAddress().isAnyLocalAddress()); in checkSocketLocalAndRemoteAddresses()
425 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in testInitialState()
445 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in testStateAfterClose()
449 assertTrue(localAddressAfterClose.getAddress().isAnyLocalAddress()); in testStateAfterClose()
DDatagramSocketTest.java47 assertTrue(ds.getLocalAddress().isAnyLocalAddress()); in testInitialState()
/libcore/ojluni/src/test/java/net/InetAddress/
DWhiteSpaceHostTest.java51 if (ia.isAnyLocalAddress()) { in testWhiteSpace()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInet6Address.java104 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet6Address
268 boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet6Address.Inet6AddressHolder
DInet4Address.java55 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet4Address
DInetAddress.java52 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in InetAddress
/libcore/ojluni/annotations/mmodule/java/net/
DInet4Address.annotated.java39 public boolean isAnyLocalAddress() { throw new RuntimeException("Stub!"); } in isAnyLocalAddress() method in Inet4Address
DInet6Address.annotated.java42 public boolean isAnyLocalAddress() { throw new RuntimeException("Stub!"); } in isAnyLocalAddress() method in Inet6Address
DInetAddress.annotated.java40 public boolean isAnyLocalAddress() { throw new RuntimeException("Stub!"); } in isAnyLocalAddress() method in InetAddress
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInet4AddressTest.java58 assertTrue(InetAddress.getByName("0.0.0.0").isAnyLocalAddress()); in test_isAnyLocalAddress()
59 assertFalse(InetAddress.getByName("127.0.0.1").isAnyLocalAddress()); in test_isAnyLocalAddress()
DInetAddressTest.java164 assertFalse(ia2.isAnyLocalAddress()); in test_isAnyLocalAddress()
166 assertFalse(ia2.isAnyLocalAddress()); in test_isAnyLocalAddress()
DInet6AddressTest.java103 .isAnyLocalAddress()); in test_isAnyLocalAddress()
110 .isAnyLocalAddress()); in test_isAnyLocalAddress()
116 !addr.isAnyLocalAddress()); in test_isAnyLocalAddress()
DSocketTest.java722 assertTrue(client.getLocalAddress().isAnyLocalAddress()); in test_getLocalAddress()
769 … assertTrue(((InetSocketAddress) client.getLocalSocketAddress()).getAddress().isAnyLocalAddress()); in test_getLocalSocketAddress()
775 assertTrue(client.getLocalAddress().isAnyLocalAddress()); in test_getLocalSocketAddress()
DMulticastSocketTest.java146 assertTrue(mss.getInterface().isAnyLocalAddress()); in getInterface()
177 assertTrue(firstAddress.isAnyLocalAddress()); in getNetworkInterface()
/libcore/ojluni/src/main/java/java/net/
DInet6Address.java343 boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet6Address.Inet6AddressHolder
735 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet6Address
736 return holder6.isAnyLocalAddress(); in isAnyLocalAddress()
DInet4Address.java201 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet4Address
DInetAddress.java356 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in InetAddress
DAbstractPlainSocketImpl.java227 if (address.isAnyLocalAddress()) { in connectToAddress()
DDatagramSocket.java890 if (in.isAnyLocalAddress()) { in getLocalAddress()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java100 assertTrue(boundAddress.getAddress().isAnyLocalAddress()); in bind_nullBindsToAll()
172 assertFalse(boundAddress.getAddress().isAnyLocalAddress()); in bind_loopback()
DDatagramChannelTest.java102 assertTrue(socket.getLocalAddress().isAnyLocalAddress()); in testInitialState()
147 assertTrue(actualAddress.getAddress().isAnyLocalAddress()); in test_bind_any()
DSocketChannelTest.java153 assertTrue(socket.getLocalAddress().isAnyLocalAddress()); in test_open_initialState()
/libcore/ojluni/annotations/sdk/nullability/java/net/
DInetAddress.annotated.java37 public boolean isAnyLocalAddress() { throw new RuntimeException("Stub!"); } in isAnyLocalAddress() method in InetAddress
/libcore/ojluni/src/main/java/sun/nio/ch/
DDatagramChannelImpl.java862 if (source.isAnyLocalAddress()) in innerJoin()
993 if (source.isAnyLocalAddress()) in block()

12