/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | NetworkInterfaceTest.java | 22 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 …]
|
D | MulticastSocketTest.java | 28 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() 364 …NetworkInterface 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 …]
|
D | InterfaceAddressTest.java | 24 import java.net.NetworkInterface; 132 Enumeration<NetworkInterface> netifs = NetworkInterface in setUp() 134 NetworkInterface theInterface = null; in setUp() 155 NetworkInterface anotherNetworkInter = NetworkInterface in setUp()
|
D | InetAddressTest.java | 25 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()
|
D | DatagramSocketImplTest.java | 25 import java.net.NetworkInterface; 94 protected void joinGroup(SocketAddress addr, NetworkInterface netInterface) in joinGroup() 105 protected void leaveGroup(SocketAddress addr, NetworkInterface netInterface) in leaveGroup()
|
D | Inet6AddressTest.java | 23 import java.net.NetworkInterface; 753 NetworkInterface nif = null; in test_getByAddressLString$BLNetworkInterface()
|
D | DatagramSocketTest.java | 31 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/ |
D | UnixNetworkInterfaceTest.java | 19 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/ |
D | NetworkTopologyDiscoveryImpl.java | 8 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()
|
D | HostInfo.java | 12 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/ |
D | Support_NetworkInterface.java | 20 import java.net.NetworkInterface; 29 public static boolean useInterface(NetworkInterface theInterface) { in useInterface()
|
/external/chromium/net/base/ |
D | net_util.h | 478 struct NetworkInterface { struct 479 NetworkInterface(); 480 NetworkInterface(const std::string& name, const IPAddressNumber& address); 481 ~NetworkInterface(); 487 typedef std::list<NetworkInterface> NetworkInterfaceList; argument
|
D | net_util_posix.cc | 77 networks->push_back(NetworkInterface(name, address.address())); in GetNetworkList()
|
D | net_util_win.cc | 117 networks->push_back(NetworkInterface(name, endpoint.address())); in GetNetworkList()
|
D | net_util.cc | 2330 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/ |
D | NetworkTopologyDiscovery.java | 4 import java.net.NetworkInterface; 148 public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress); in useInetAddress()
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
D | mediachannel.h | 70 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_;
|
D | channel.h | 81 public MediaChannel::NetworkInterface {
|