/external/chromium_org/content/renderer/p2p/ |
network_list_observer.h | 11 struct NetworkInterface; 12 typedef std::vector<NetworkInterface> NetworkInterfaceList;
|
ipc_network_manager_unittest.cc | 60 net::NetworkInterface("em1", 70 net::NetworkInterface("em1", 87 net::NetworkInterface("em1",
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
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; 44 * java.net.NetworkInterface#getName() 62 * java.net.NetworkInterface#getInetAddresses() 160 "validate we cannot get the NetworkInterface with an address for which we have no privs", 161 NetworkInterface 170 "validate we cannot get the NetworkInterface with an address fro which we have no privs" [all...] |
InterfaceAddressTest.java | 24 import java.net.NetworkInterface; 126 Enumeration<NetworkInterface> netifs = NetworkInterface 128 NetworkInterface theInterface = null; 149 NetworkInterface anotherNetworkInter = NetworkInterface
|
DatagramSocketImplTest.java | 25 import java.net.NetworkInterface; 94 protected void joinGroup(SocketAddress addr, NetworkInterface netInterface) 105 protected void leaveGroup(SocketAddress addr, NetworkInterface netInterface)
|
MulticastSocketTest.java | 28 import java.net.NetworkInterface; 56 private NetworkInterface loopbackInterface; 57 private NetworkInterface ipv4NetworkInterface; 58 private NetworkInterface ipv6NetworkInterface; 65 loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getLoopbackAddress()); 70 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); 83 NetworkInterface nextInterface = interfaces.nextElement(); 148 ipv4NetworkInterface, NetworkInterface.getByInetAddress(mss.getInterface())); 160 NetworkInterface theInterface = mss.getNetworkInterface() [all...] |
InetAddressTest.java | 25 import java.net.NetworkInterface; 353 Enumeration<NetworkInterface> nif = NetworkInterface.getNetworkInterfaces(); 354 NetworkInterface netif; 383 NetworkInterface loopbackInterface = null; 385 Enumeration<NetworkInterface> networkInterfaces = NetworkInterface 388 NetworkInterface networkInterface = networkInterfaces.nextElement(); 389 Enumeration<InetAddress> addresses = networkInterface [all...] |
/libcore/luni/src/main/java/java/net/ |
NetworkInterface.java | 40 public final class NetworkInterface extends Object { 48 private final List<NetworkInterface> children = new LinkedList<NetworkInterface>(); 50 private NetworkInterface parent = null; 52 private NetworkInterface(String name, int interfaceIndex, 60 static NetworkInterface forUnboundMulticastSocket() { 63 return new NetworkInterface(null, -1, 98 * Returns the {@code NetworkInterface} corresponding to the named network interface, or null 104 public static NetworkInterface getByName(String interfaceName) throws SocketException { 119 private static NetworkInterface getByNameInternal(String interfaceName [all...] |
MulticastSocket.java | 86 NetworkInterface theInterface = getNetworkInterface(); 107 public NetworkInterface getNetworkInterface() throws SocketException { 111 return NetworkInterface.getByIndex(index); 113 return NetworkInterface.forUnboundMulticastSocket(); 167 public void joinGroup(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException { 200 public void leaveGroup(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException { 205 private void checkJoinOrLeave(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException { 277 NetworkInterface networkInterface = NetworkInterface.getByInetAddress(address) [all...] |
DatagramSocketImpl.java | 143 NetworkInterface netInterface) throws IOException; 168 NetworkInterface netInterface) throws IOException;
|
Inet6Address.java | 116 NetworkInterface nif) throws UnknownHostException { 237 public NetworkInterface getScopedInterface() { 239 return (scope_ifname_set && ifname != null) ? NetworkInterface.getByName(ifname) : null;
|
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
UnixNetworkInterfaceTest.java | 19 import java.net.NetworkInterface; 29 private Enumeration<NetworkInterface> netifs = null; 34 * @tests java.net.NetworkInterface#isUp() 39 NetworkInterface netif = netifs.nextElement(); 59 * @tests java.net.NetworkInterface#supportsMulticast() 64 NetworkInterface netif = netifs.nextElement(); 86 * @tests java.net.NetworkInterface#getHardwareAddress() 91 NetworkInterface netif = netifs.nextElement(); 117 * @tests java.net.NetworkInterface#getMTU() 122 NetworkInterface netif = netifs.nextElement() [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_NetworkInterface.java | 20 import java.net.NetworkInterface; 29 public static boolean useInterface(NetworkInterface theInterface) {
|
/libcore/luni/src/test/java/libcore/java/net/ |
NetworkInterfaceTest.java | 24 import java.net.NetworkInterface; 34 NetworkInterface lo = NetworkInterface.getByName("lo"); 51 NetworkInterface.collectIpv6Addresses("wlan0", 1, addresses, 67 NetworkInterface.collectIpv6Addresses("wlan0", 1, addresses, 75 NetworkInterface lo = NetworkInterface.getByName("lo"); 82 NetworkInterface eth0 = NetworkInterface.getByName("eth0"); 96 for (NetworkInterface nif : Collections.list(NetworkInterface.getNetworkInterfaces())) [all...] |
OldDatagramSocketImplFactoryTest.java | 26 import java.net.NetworkInterface; 161 protected void joinGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException { 169 protected void leaveGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException {
|
/external/jmdns/src/javax/jmdns/impl/ |
NetworkTopologyDiscoveryImpl.java | 8 import java.net.NetworkInterface; 37 isUp = NetworkInterface.class.getMethod("isUp", (Class<?>[]) null); 45 supportsMulticast = NetworkInterface.class.getMethod("supportsMulticast", (Class<?>[]) null); 62 for (Enumeration<NetworkInterface> nifs = NetworkInterface.getNetworkInterfaces(); nifs.hasMoreElements();) { 63 NetworkInterface nif = nifs.nextElement(); 67 logger.finest("Found NetworkInterface/InetAddress: " + nif + " -- " + interfaceAddress); 82 * @see javax.jmdns.JmmDNS.NetworkTopologyDiscovery#useInetAddress(java.net.NetworkInterface, java.net.InetAddress) 85 public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress) [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_network/ |
system_network_apitest.cc | 21 using extensions::core_api::system_network::NetworkInterface; 58 NetworkInterface network_interface; 59 ASSERT_TRUE(NetworkInterface::Populate(*network_interface_value,
|
/external/chromium_org/extensions/browser/api/system_network/ |
system_network_api.cc | 63 std::vector<linked_ptr<core_api::system_network::NetworkInterface> > 69 linked_ptr<core_api::system_network::NetworkInterface> info = 70 make_linked_ptr(new core_api::system_network::NetworkInterface);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
ServerSocketChannelTest.java | 22 import java.net.NetworkInterface; 92 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); 94 NetworkInterface nic = interfaces.nextElement(); 123 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); 125 NetworkInterface nic = interfaces.nextElement();
|
DatagramChannelTest.java | 25 import java.net.NetworkInterface; 157 Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces(); 159 NetworkInterface networkInterface = networkInterfaces.nextElement(); 160 if (networkInterface.isLoopback() || !networkInterface.isUp()) { 163 Enumeration<InetAddress> inetAddresses = networkInterface.getInetAddresses();
|
/external/jmdns/src/javax/jmdns/ |
NetworkTopologyDiscovery.java | 4 import java.net.NetworkInterface; 24 * public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress) { 144 * @param networkInterface 148 public boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress);
|
/external/chromium_org/net/android/java/src/org/chromium/net/ |
AndroidNetworkLibrary.java | 20 import java.net.NetworkInterface; 122 Enumeration<NetworkInterface> list = null; 124 list = NetworkInterface.getNetworkInterfaces(); 132 NetworkInterface netIf = list.nextElement(); 153 Enumeration<NetworkInterface> list = null; 155 list = NetworkInterface.getNetworkInterfaces(); 164 NetworkInterface netIf = list.nextElement();
|
/external/chromium_org/chrome/browser/extensions/api/dial/ |
dial_service_unittest.cc | 86 net::NetworkInterface("network1", 94 net::NetworkInterface("network2", 102 net::NetworkInterface("network3", 113 net::NetworkInterface("network4",
|
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
SettingsMenuFragment.java | 25 import java.net.NetworkInterface; 133 for (Enumeration<NetworkInterface> en = NetworkInterface 135 NetworkInterface intf = en.nextElement();
|
/libcore/luni/src/main/java/java/nio/channels/ |
DatagramChannel.java | 23 import java.net.NetworkInterface;
|