Home
last modified time | relevance | path

Searched refs:StructIfaddrs (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/main/java/android/system/
DStructIfaddrs.java29 public final class StructIfaddrs { class
40 …public StructIfaddrs(String ifa_name, int ifa_flags, InetAddress ifa_addr, InetAddress ifa_netmask, in StructIfaddrs() method in StructIfaddrs
DOs.java240 …public static StructIfaddrs[] getifaddrs() throws ErrnoException { return Libcore.os.getifaddrs();… in getifaddrs()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java40 import android.system.StructIfaddrs;
431 Map<String, List<StructIfaddrs>> inetMap = new HashMap<>(); in getAll()
433 StructIfaddrs[] ifaddrs; in getAll()
440 for (StructIfaddrs ifa : ifaddrs) { in getAll()
443 List<StructIfaddrs> ifas; in getAll()
454 for (Map.Entry<String, List<StructIfaddrs>> e : inetMap.entrySet()) { in getAll()
468 for (StructIfaddrs ifa : e.getValue()) { in getAll()
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java22 import android.system.StructIfaddrs;
216 StructIfaddrs[] ifaddrs = Libcore.os.getifaddrs(); in testGetNetworkInterfaces_matchesIfaddrs()
234 Mockito.when(mockOs.getifaddrs()).thenReturn(new StructIfaddrs[] { in testGetNetworkInterfaces_OrphanInterfaceDoesNotThrow()
235 new StructIfaddrs("dummy0:1", 0, null, null, null, null), in testGetNetworkInterfaces_OrphanInterfaceDoesNotThrow()
/libcore/luni/src/main/java/libcore/io/
DOs.java29 import android.system.StructIfaddrs;
339 public StructIfaddrs[] getifaddrs() throws ErrnoException; in getifaddrs()
DLinux.java27 import android.system.StructIfaddrs;
109 public native StructIfaddrs[] getifaddrs() throws ErrnoException; in getifaddrs()
DForwardingOs.java29 import android.system.StructIfaddrs;
400 public StructIfaddrs[] getifaddrs() throws ErrnoException { return os.getifaddrs(); } in getifaddrs()
/libcore/
Dnon_openjdk_java_files.bp145 "luni/src/main/java/android/system/StructIfaddrs.java",