Home
last modified time | relevance | path

Searched refs:nis (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java289 NetworkInterface[] nis = getAll(); in getByName() local
290 for (NetworkInterface ni : nis) { in getByName()
314 NetworkInterface[] nis = getAll(); in getByIndex() local
315 for (NetworkInterface ni : nis) { in getByIndex()
354 NetworkInterface[] nis = getAll(); in getByInetAddress() local
355 for (NetworkInterface ni : nis) { in getByInetAddress()
417 Map<String, NetworkInterface> nis = new HashMap<>(inetMap.size()); in getAll() local
447 nis.put(name, ni); in getAll()
451 for (Map.Entry<String, NetworkInterface> e : nis.entrySet()) { in getAll()
458 NetworkInterface parent = nis.get(parentName); in getAll()
[all …]
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1106 List<NetworkInterface> nis = Collections.list(NetworkInterface.getNetworkInterfaces()); in test_if_nametoindex_if_indextoname() local
1108 assertTrue(nis.size() > 0); in test_if_nametoindex_if_indextoname()
1109 for (NetworkInterface ni : nis) { in test_if_nametoindex_if_indextoname()