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.java269 NetworkInterface[] nis = getAll(); in getByName() local
270 for (NetworkInterface ni : nis) { in getByName()
293 NetworkInterface[] nis = getAll(); in getByIndex() local
294 for (NetworkInterface ni : nis) { in getByIndex()
332 NetworkInterface[] nis = getAll(); in getByInetAddress() local
333 for (NetworkInterface ni : nis) { in getByInetAddress()
391 Map<String, NetworkInterface> nis = new HashMap<>(inetMap.size()); in getAll() local
421 nis.put(name, ni); in getAll()
425 for (Map.Entry<String, NetworkInterface> e : nis.entrySet()) { in getAll()
432 NetworkInterface parent = nis.get(parentName); in getAll()
[all …]
/libcore/luni/src/test/java/libcore/io/
DOsTest.java728 List<NetworkInterface> nis = Collections.list(NetworkInterface.getNetworkInterfaces()); in test_if_nametoindex_if_indextoname() local
730 assertTrue(nis.size() > 0); in test_if_nametoindex_if_indextoname()
731 for (NetworkInterface ni : nis) { in test_if_nametoindex_if_indextoname()