Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java406 NetworkInterface sendingInterface = null; in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() local
412 sendingInterface = ipv4NetworkInterface; in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
416 sendingInterface = ipv6NetworkInterface; in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
430 sendingSocket.setNetworkInterface(sendingInterface); 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()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java343 NetworkInterface sendingInterface = null; in test_joinAnySource_networkInterfaces() local
349 sendingInterface = ipv4NetworkInterface; in test_joinAnySource_networkInterfaces()
353 sendingInterface = ipv6NetworkInterface; in test_joinAnySource_networkInterfaces()
365 group, localAddress.getPort(), msg, sendingInterface); in test_joinAnySource_networkInterfaces()
368 if (thisInterface.equals(sendingInterface)) { in test_joinAnySource_networkInterfaces()
1284 InetAddress group, int port, String msg, NetworkInterface sendingInterface) in createChannelAndSendMulticastMessage() argument
1288 BindableChannel channel = new BindableChannel(dc, sendingInterface); in createChannelAndSendMulticastMessage()