Home
last modified time | relevance | path

Searched refs:ipv4NetworkInterface (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java77 private NetworkInterface ipv4NetworkInterface; field in DatagramChannelMulticastTest
103 && (ipv4NetworkInterface == null || ipv6NetworkInterface == null)) { in setUp()
112 && ipv4NetworkInterface == null) { in setUp()
113 ipv4NetworkInterface = nextInterface; in setUp()
119 if (ipv4NetworkInterface == null) { in setUp()
163 dc.join(GOOD_MULTICAST_IPv4, ipv4NetworkInterface); in test_joinAnySource_afterClose()
175 dc.join(null, ipv4NetworkInterface); in test_joinAnySource_nullGroupAddress()
201 dc.join(UNICAST_IPv4_1, ipv4NetworkInterface); in test_joinAnySource_nonMulticastGroupAddress_IPv4()
222 check_joinAnySource(GOOD_MULTICAST_IPv4, BAD_MULTICAST_IPv4, ipv4NetworkInterface); in test_joinAnySource_IPv4()
265 dc.join(groupAddress, ipv4NetworkInterface); in test_joinAnySource_processLimit()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java73 private NetworkInterface ipv4NetworkInterface; field in MulticastSocketTest
96 && (ipv4NetworkInterface == null || ipv6NetworkInterface == null)) { in setUp()
105 && ipv4NetworkInterface == null) { in setUp()
106 ipv4NetworkInterface = nextInterface; in setUp()
113 ipv4NetworkInterface != null && ipv6NetworkInterface != null); in setUp()
149 Enumeration addresses = ipv4NetworkInterface.getInetAddresses(); in getInterface()
158 mss.setNetworkInterface(ipv4NetworkInterface); in getInterface()
160 ipv4NetworkInterface, NetworkInterface.getByInetAddress(mss.getInterface())); in getInterface()
179 mss.setNetworkInterface(ipv4NetworkInterface); in getNetworkInterface()
181 ipv4NetworkInterface, mss.getNetworkInterface()); in getNetworkInterface()
[all …]