Home
last modified time | relevance | path

Searched refs:NetworkInterface (Results 1 – 18 of 18) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DNetworkInterfaceTest.java22 import java.net.NetworkInterface;
31 Enumeration<NetworkInterface> theInterfaces = null;
37 private NetworkInterface networkInterface1 = null;
39 private NetworkInterface sameAsNetworkInterface1 = null;
41 private NetworkInterface networkInterface2 = null;
161 NetworkInterface in test_getInetAddresses()
171 NetworkInterface in test_getInetAddresses()
203 NetworkInterface.getByName(null)); in test_getByNameLjava_lang_String()
209 NetworkInterface.getByName("8not a name4")); in test_getByNameLjava_lang_String()
218 networkInterface1, NetworkInterface.getByName(theName)); in test_getByNameLjava_lang_String()
[all …]
DMulticastSocketTest.java28 import java.net.NetworkInterface;
41 private NetworkInterface networkInterface1 = null;
43 private NetworkInterface networkInterface2 = null;
45 private NetworkInterface IPV6networkInterface1 = null;
77 private NetworkInterface groupNI = null;
124 …public MulticastServer(SocketAddress anAddress, int aPort, NetworkInterface netInterface) throws j… in MulticastServer()
179 …ot return interface set by setNetworkInterface", networkInterface1, NetworkInterface.getByInetAddr… in test_getInterface()
190 NetworkInterface theInterface = mss.getNetworkInterface(); in test_getNetworkInterface()
364NetworkInterface loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getByName("127.… in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
369 ArrayList<NetworkInterface> realInterfaces = new ArrayList<NetworkInterface>(); in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
[all …]
DInterfaceAddressTest.java24 import java.net.NetworkInterface;
132 Enumeration<NetworkInterface> netifs = NetworkInterface in setUp()
134 NetworkInterface theInterface = null; in setUp()
155 NetworkInterface anotherNetworkInter = NetworkInterface in setUp()
DInetAddressTest.java25 import java.net.NetworkInterface;
359 Enumeration<NetworkInterface> nif = NetworkInterface.getNetworkInterfaces(); in test_isReachableLjava_net_NetworkInterfaceII()
360 NetworkInterface netif; in test_isReachableLjava_net_NetworkInterfaceII()
389 NetworkInterface loopbackInterface = null; in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
391 Enumeration<NetworkInterface> networkInterfaces = NetworkInterface in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
394 NetworkInterface networkInterface = networkInterfaces.nextElement(); in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
DDatagramSocketImplTest.java25 import java.net.NetworkInterface;
94 protected void joinGroup(SocketAddress addr, NetworkInterface netInterface) in joinGroup()
105 protected void leaveGroup(SocketAddress addr, NetworkInterface netInterface) in leaveGroup()
DInet6AddressTest.java23 import java.net.NetworkInterface;
753 NetworkInterface nif = null; in test_getByAddressLString$BLNetworkInterface()
DDatagramSocketTest.java31 import java.net.NetworkInterface;
823 protected void joinGroup(SocketAddress arg0, NetworkInterface arg1) in test_sendLjava_net_DatagramPacket()
827 protected void leaveGroup(SocketAddress arg0, NetworkInterface arg1) in test_sendLjava_net_DatagramPacket()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixNetworkInterfaceTest.java19 import java.net.NetworkInterface;
30 private Enumeration<NetworkInterface> netifs = null;
41 NetworkInterface netif = netifs.nextElement(); in test_isUp()
67 NetworkInterface netif = netifs.nextElement(); in test_supportsMulticast()
95 NetworkInterface netif = netifs.nextElement(); in test_getHardwareAddress()
127 NetworkInterface netif = netifs.nextElement(); in test_getMTU()
152 NetworkInterface netif = netifs.nextElement(); in test_getSubInterfaces()
153 Enumeration<NetworkInterface> subInterfaces1 = netif in test_getSubInterfaces()
155 Enumeration<NetworkInterface> subInterfaces2 = netif in test_getSubInterfaces()
159 NetworkInterface sub1 = subInterfaces1.nextElement(); in test_getSubInterfaces()
[all …]
/external/jmdns/src/javax/jmdns/impl/
DNetworkTopologyDiscoveryImpl.java8 import java.net.NetworkInterface;
37 isUp = NetworkInterface.class.getMethod("isUp", (Class<?>[]) null); in NetworkTopologyDiscoveryImpl()
45 … supportsMulticast = NetworkInterface.class.getMethod("supportsMulticast", (Class<?>[]) null); in NetworkTopologyDiscoveryImpl()
62 …for (Enumeration<NetworkInterface> nifs = NetworkInterface.getNetworkInterfaces(); nifs.hasMoreEle… in getInetAddresses()
63 NetworkInterface nif = nifs.nextElement(); in getInetAddresses()
85 public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress) { in useInetAddress()
DHostInfo.java12 import java.net.NetworkInterface;
39 protected NetworkInterface _interfaze;
128 _interfaze = NetworkInterface.getByInetAddress(address); in HostInfo()
157 public NetworkInterface getInterface() { in getInterface()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_NetworkInterface.java20 import java.net.NetworkInterface;
29 public static boolean useInterface(NetworkInterface theInterface) { in useInterface()
/external/chromium/net/base/
Dnet_util.h478 struct NetworkInterface { struct
479 NetworkInterface();
480 NetworkInterface(const std::string& name, const IPAddressNumber& address);
481 ~NetworkInterface();
487 typedef std::list<NetworkInterface> NetworkInterfaceList; argument
Dnet_util_posix.cc77 networks->push_back(NetworkInterface(name, address.address())); in GetNetworkList()
Dnet_util_win.cc117 networks->push_back(NetworkInterface(name, endpoint.address())); in GetNetworkList()
Dnet_util.cc2330 NetworkInterface::NetworkInterface() { in NetworkInterface() function in net::NetworkInterface
2333 NetworkInterface::NetworkInterface(const std::string& name, in NetworkInterface() function in net::NetworkInterface
2338 NetworkInterface::~NetworkInterface() { in ~NetworkInterface()
/external/jmdns/src/javax/jmdns/
DNetworkTopologyDiscovery.java4 import java.net.NetworkInterface;
148 public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress); in useInetAddress()
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dmediachannel.h70 class NetworkInterface {
77 virtual ~NetworkInterface() {} in ~NetworkInterface()
84 NetworkInterface *network_interface() { return network_interface_; } in network_interface()
85 virtual void SetInterface(NetworkInterface *iface) { in SetInterface()
105 NetworkInterface *network_interface_;
Dchannel.h81 public MediaChannel::NetworkInterface {