Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DIpPrefixTest.java50 private static final byte[] IPV6_BYTES = { field in IpPrefixTest
158 p = new IpPrefix(IPV6_BYTES, 128); in testTruncation()
161 p = new IpPrefix(IPV6_BYTES, 122); in testTruncation()
164 p = new IpPrefix(IPV6_BYTES, 64); in testTruncation()
167 p = new IpPrefix(IPV6_BYTES, 3); in testTruncation()
170 p = new IpPrefix(IPV6_BYTES, 0); in testTruncation()
174 p = new IpPrefix(IPV6_BYTES, -1); in testTruncation()
179 p = new IpPrefix(IPV6_BYTES, 129); in testTruncation()
204 p2 = new IpPrefix(IPV6_BYTES, 122); in testEquals()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowOs.java40 private static final byte[] IPV6_BYTES = new byte[16]; field in ShadowOs
47 return InetAddress.getByAddress((AF_INET == family) ? IPV4_BYTES : IPV6_BYTES); in inet_pton()