Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java394 NetworkInterface thisInterface = theInterfaces.nextElement(); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() local
397 if (willWorkForMulticast(thisInterface)) { in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
398 realInterfaces.add(thisInterface); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
402 for (NetworkInterface thisInterface : realInterfaces) { in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
404 Enumeration<InetAddress> addresses = thisInterface.getInetAddresses(); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
425 receivingSocket.joinGroup(groupAddress, thisInterface); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
431 String msg = "Hello World - Again " + thisInterface.getName(); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
440 assertEquals(thisInterface, sendingInterface); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
445 assertTrue(!thisInterface.equals(sendingInterface)); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
714 NetworkInterface thisInterface = (NetworkInterface) theInterfaces.nextElement(); in check_setNetworkInterfaceLjava_net_NetworkInterface() local
[all …]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java323 NetworkInterface thisInterface = theInterfaces.nextElement(); in test_joinAnySource_networkInterfaces() local
324 if (thisInterface.getInetAddresses().hasMoreElements()) { in test_joinAnySource_networkInterfaces()
325 realInterfaces.add(thisInterface); in test_joinAnySource_networkInterfaces()
330 NetworkInterface thisInterface = realInterfaces.get(i); in test_joinAnySource_networkInterfaces() local
331 if (!thisInterface.supportsMulticast()) { in test_joinAnySource_networkInterfaces()
341 Enumeration<InetAddress> addresses = thisInterface.getInetAddresses(); in test_joinAnySource_networkInterfaces()
359 dc.join(group, thisInterface); in test_joinAnySource_networkInterfaces()
363 String msg = "Hello World - Again" + thisInterface.getName(); in test_joinAnySource_networkInterfaces()
368 if (thisInterface.equals(sendingInterface)) { in test_joinAnySource_networkInterfaces()