Home
last modified time | relevance | path

Searched refs:isAnyLocalAddress (Results 1 – 25 of 28) 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.java87 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in test_getLocalAddress_after_close()
185 assertTrue(inLocalAddressAfterClose.getAddress().isAnyLocalAddress()); in checkSocketLocalAndRemoteAddresses()
190 assertTrue(outLocalAddressAfterClose.getAddress().isAnyLocalAddress()); in checkSocketLocalAndRemoteAddresses()
359 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in testInitialState()
380 assertTrue(s.getLocalAddress().isAnyLocalAddress()); in testStateAfterClose()
384 assertTrue(localAddressAfterClose.getAddress().isAnyLocalAddress()); in testStateAfterClose()
DDatagramSocketTest.java46 assertTrue(ds.getLocalAddress().isAnyLocalAddress()); in testInitialState()
/libcore/ojluni/annotations/mmodule/java/net/
DInet4Address.annotated.java39 public boolean isAnyLocalAddress() { throw new RuntimeException("Stub!"); } in isAnyLocalAddress() method in Inet4Address
DInet6Address.annotated.java43 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/ojluni/annotations/hiddenapi/java/net/
DInet4Address.java55 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet4Address
DInet6Address.java104 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet6Address
268 boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet6Address.Inet6AddressHolder
DInetAddress.java52 public boolean isAnyLocalAddress() { 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()
DMulticastSocketTest.java140 assertTrue(mss.getInterface().isAnyLocalAddress()); in test_getInterface()
172 assertTrue(firstAddress.isAnyLocalAddress()); in test_getNetworkInterface()
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()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java87 assertTrue(boundAddress.getAddress().isAnyLocalAddress()); in test_bind_nullBindsToAll()
113 assertFalse(boundAddress.getAddress().isAnyLocalAddress()); in test_bind_loopback()
DDatagramChannelTest.java92 assertTrue(socket.getLocalAddress().isAnyLocalAddress()); in testInitialState()
135 assertTrue(actualAddress.getAddress().isAnyLocalAddress()); in test_bind_any()
DSocketChannelTest.java153 assertTrue(socket.getLocalAddress().isAnyLocalAddress()); in test_open_initialState()
/libcore/ojluni/src/main/java/java/net/
DInet6Address.java335 boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet6Address.Inet6AddressHolder
727 public boolean isAnyLocalAddress() { in isAnyLocalAddress() method in Inet6Address
728 return holder6.isAnyLocalAddress(); in isAnyLocalAddress()
DInet4Address.java190 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.java888 if (in.isAnyLocalAddress()) { in getLocalAddress()
DSocket.java755 if (in.isAnyLocalAddress()) { in getLocalAddress()
/libcore/ojluni/src/main/java/sun/nio/ch/
DDatagramChannelImpl.java850 if (source.isAnyLocalAddress()) in innerJoin()
981 if (source.isAnyLocalAddress()) in block()
DSocketChannelImpl.java687 if (ia.isAnyLocalAddress()) in connect()

12