Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInterfaceAddressTest.java31 private InterfaceAddress interfaceAddr; field in InterfaceAddressTest
41 if (interfaceAddr != null) { in test_hashCode()
42 assertEquals(anotherInterfaceAddr, interfaceAddr); in test_hashCode()
43 assertEquals(anotherInterfaceAddr.hashCode(), interfaceAddr in test_hashCode()
54 if (interfaceAddr != null) { in test_equals_LObject()
55 assertFalse(interfaceAddr.equals(null)); in test_equals_LObject()
56 assertFalse(interfaceAddr.equals(new Object())); in test_equals_LObject()
58 assertTrue(interfaceAddr.equals(anotherInterfaceAddr)); in test_equals_LObject()
59 assertNotSame(anotherInterfaceAddr, interfaceAddr); in test_equals_LObject()
68 if (interfaceAddr != null) { in test_toString()
[all …]
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1623 sockaddr_storage* interfaceAddr = in Linux_getifaddrs() local
1632 if (interfaceAddr != NULL) { in Linux_getifaddrs()
1633 switch (interfaceAddr->ss_family) { in Linux_getifaddrs()
1638 if ((addr = sockaddrToInetAddress(env, *interfaceAddr, NULL)) == NULL) { in Linux_getifaddrs()