Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/net/
DInterfaceAddress.java37 public class InterfaceAddress { class
46 InterfaceAddress() { in InterfaceAddress() method in InterfaceAddress
50 InterfaceAddress(InetAddress address, Inet4Address broadcast, InetAddress netmask) { in InterfaceAddress() method in InterfaceAddress
124 if (!(obj instanceof InterfaceAddress)) { in equals()
127 InterfaceAddress cmp = (InterfaceAddress) obj; in equals()
DNetworkInterface.java65 private InterfaceAddress bindings[];
194 public java.util.List<InterfaceAddress> getInterfaceAddresses() { in getInterfaceAddresses()
195 java.util.List<InterfaceAddress> lst = new java.util.ArrayList<InterfaceAddress>(1); in getInterfaceAddresses()
430 List<InterfaceAddress> binds = new ArrayList<>(); in getAll()
435 binds.add(new InterfaceAddress(ifa.ifa_addr, (Inet4Address) ifa.ifa_broadaddr, in getAll()
445 ni.bindings = binds.toArray(new InterfaceAddress[binds.size()]); in getAll()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInterfaceAddress.java31 public class InterfaceAddress { class
34 InterfaceAddress() { in InterfaceAddress() method in InterfaceAddress
38 InterfaceAddress( in InterfaceAddress() method in InterfaceAddress
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInterfaceAddressTest.java23 import java.net.InterfaceAddress;
31 private InterfaceAddress interfaceAddr;
33 private InterfaceAddress anotherInterfaceAddr;
133 List<InterfaceAddress> addrs = theInterface in setUp()
DNetworkInterfaceTest.java21 import java.net.InterfaceAddress;
364 List<InterfaceAddress> interfaceAddrs = netif.getInterfaceAddresses(); in test_getInterfaceAddresses()
366 for (InterfaceAddress addr : interfaceAddrs) { in test_getInterfaceAddresses()
370 List<InterfaceAddress> interfaceAddrs2 = netif.getInterfaceAddresses(); in test_getInterfaceAddresses()
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java28 import java.net.InterfaceAddress;
104 for (InterfaceAddress ia : nif.getInterfaceAddresses()) { in testInterfaceProperties()
116 for (InterfaceAddress ia : lo.getInterfaceAddresses()) { in testLoopback()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java26 import java.net.InterfaceAddress;
1321 for (InterfaceAddress interfaceAddress : networkInterface.getInterfaceAddresses()) { in getLocalIpv4Address()
1330 for (InterfaceAddress interfaceAddress : networkInterface.getInterfaceAddresses()) { in getLocalIpv6Address()
/libcore/
Dopenjdk_java_files.bp294 "ojluni/src/main/java/java/net/InterfaceAddress.java",