Searched defs:interfaceName (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DNetworkInterface.java102 * @throws NullPointerException if {@code interfaceName == null}.
104 public static NetworkInterface getByName(String interfaceName) throws SocketException { argument
105 if (interfaceName == null) {
106 throw new NullPointerException("interfaceName == null");
108 if (!isValidInterfaceName(interfaceName)) {
112 return getByNameInternal(interfaceName, readIfInet6Lines());
116 * Similar to {@link #getByName(String)} except that {@code interfaceName}
119 private static NetworkInterface getByNameInternal(String interfaceName, argument
121 int interfaceIndex = readIntFile("/sys/class/net/" + interfaceName + "/ifindex");
125 collectIpv6Addresses(interfaceName, interfaceInde
145 collectIpv6Addresses(String interfaceName, int interfaceIndex, List<InetAddress> addresses, List<InterfaceAddress> interfaceAddresses, String[] ifInet6Lines) argument
189 collectIpv4Address(String interfaceName, List<InetAddress> addresses, List<InterfaceAddress> interfaceAddresses) argument
218 isValidInterfaceName(String interfaceName) argument
[all...]
/libcore/luni/src/main/java/android/system/
H A DOs.java233 /** @hide */ public static InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return Libcore.os.ioctlInetAddress(fd, cmd, interfaceName); } argument
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java98 public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return os.ioctlInetAddress(fd, cmd, interfaceName); } argument
H A DOs.java90 public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException; argument
H A DPosix.java92 public native InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException; argument

Completed in 93 milliseconds