Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DLinkAddressTest.java72 private static final InetAddress V6_ADDRESS = NetworkUtils.numericToInetAddress(V6); field in LinkAddressTest
98 address = new LinkAddress(V6_ADDRESS, 127); in testConstructors()
99 assertEquals(V6_ADDRESS, address.getAddress()); in testConstructors()
107 assertEquals(V6_ADDRESS, address.getAddress()); in testConstructors()
163 address = new LinkAddress(V6_ADDRESS, -1); in testConstructors()
179 address = new LinkAddress(V6_ADDRESS, 129, IFA_F_PERMANENT, RT_SCOPE_UNIVERSE); in testConstructors()
265 l1 = new LinkAddress(V6_ADDRESS, 64); in testEqualsAndSameAddressAs()
266 l2 = new LinkAddress(V6_ADDRESS, 64, 0, RT_SCOPE_UNIVERSE); in testEqualsAndSameAddressAs()
270 l2 = new LinkAddress(V6_ADDRESS, 64, IFA_F_DEPRECATED, RT_SCOPE_UNIVERSE); in testEqualsAndSameAddressAs()
318 l1 = new LinkAddress(V6_ADDRESS, 128); in testHashCode()
[all …]