Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/util/
DDnsUtils.java96 if (span1.prefixMatchLen != span2.prefixMatchLen) { in compare()
97 return span2.prefixMatchLen - span1.prefixMatchLen; in compare()
114 public final int prefixMatchLen; field in DnsUtils.SortableAddress
127 prefixMatchLen = compareIpv6PrefixMatchLen(srcAddr, addr); in SortableAddress()
129 prefixMatchLen = 0; in SortableAddress()
/packages/modules/Connectivity/tests/unit/java/android/net/util/
DDnsUtilsTest.java111 assertEquals(test.prefixMatchLen, 0); in testV4SortableAddress()
122 assertEquals(test.prefixMatchLen, 0); in testV4SortableAddress()
150 assertEquals(test.prefixMatchLen, 13); in testV6SortableAddress()
160 assertEquals(test.prefixMatchLen, 0); in testV6SortableAddress()
165 assertEquals(test.prefixMatchLen, 16 * 8); in testV6SortableAddress()