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.java238 …public static StructIfaddrs[] getifaddrs() throws ErrnoException { return Libcore.os.getifaddrs();… in getifaddrs()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java43 import android.system.StructIfaddrs;
455 Map<String, List<StructIfaddrs>> inetMap = new HashMap<>(); in getAll()
457 StructIfaddrs[] ifaddrs; in getAll()
468 for (StructIfaddrs ifa : ifaddrs) { in getAll()
471 List<StructIfaddrs> ifas; in getAll()
482 for (Map.Entry<String, List<StructIfaddrs>> e : inetMap.entrySet()) { in getAll()
496 for (StructIfaddrs ifa : e.getValue()) { in getAll()
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java22 import android.system.StructIfaddrs;
220 StructIfaddrs[] ifaddrs = Libcore.os.getifaddrs(); in testGetNetworkInterfaces_matchesIfaddrs()
238 Mockito.when(mockOs.getifaddrs()).thenReturn(new StructIfaddrs[] { in testGetNetworkInterfaces_OrphanInterfaceDoesNotThrow()
239 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;
338 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;
397 public StructIfaddrs[] getifaddrs() throws ErrnoException { return os.getifaddrs(); } in getifaddrs()
/libcore/
Dnon_openjdk_java_files.bp156 "luni/src/main/java/android/system/StructIfaddrs.java",