Home
last modified time | relevance | path

Searched refs:supportsMulticast (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java64 private boolean supportsMulticast; field in MulticastSocketTest
73 assertFalse(loopbackInterface.supportsMulticast()); in setUp()
80 supportsMulticast = Boolean.parseBoolean( in setUp()
82 if (!supportsMulticast) { in setUp()
108 if (!supportsMulticast) { in test_Constructor()
120 if (!supportsMulticast) { in test_ConstructorI()
134 if (!supportsMulticast) { in test_getInterface()
161 if (!supportsMulticast) { in test_getNetworkInterface()
206 if (!supportsMulticast) { in test_getTimeToLive()
218 if (!supportsMulticast) { in test_getTTL()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java81 private boolean supportsMulticast; field in DatagramChannelMulticastTest
90 assertFalse(loopbackInterface.supportsMulticast()); in setUp()
96 supportsMulticast = Boolean.parseBoolean( in setUp()
98 if (!supportsMulticast) { in setUp()
157 if (!supportsMulticast) { in test_joinAnySource_afterClose()
170 if (!supportsMulticast) { in test_joinAnySource_nullGroupAddress()
183 if (!supportsMulticast) { in test_joinAnySource_nullNetworkInterface()
196 if (!supportsMulticast) { in test_joinAnySource_nonMulticastGroupAddress_IPv4()
209 if (!supportsMulticast) { in test_joinAnySource_nonMulticastGroupAddress_IPv6()
231 if (!supportsMulticast) { in check_joinAnySource()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java137 if (nif.supportsMulticast()) { in testDumpAll()
199 lo.supportsMulticast(); in testInterfaceRemoval()
265 assertEquals((getFlags(nif) & IFF_MULTICAST) == IFF_MULTICAST, nif.supportsMulticast()); in testSupportsMulticast()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java521 public boolean supportsMulticast() throws SocketException { in supportsMulticast() method in NetworkInterface