Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/util/
DDnsUtils.java98 if (span1.prefixMatchLen != span2.prefixMatchLen) { in compare()
99 return span2.prefixMatchLen - span1.prefixMatchLen; in compare()
116 public final int prefixMatchLen; field in DnsUtils.SortableAddress
129 prefixMatchLen = compareIpv6PrefixMatchLen(srcAddr, addr); in SortableAddress()
131 prefixMatchLen = 0; in SortableAddress()
/frameworks/base/tests/net/java/android/net/util/
DDnsUtilsTest.java93 assertEquals(test.prefixMatchLen, 0); in testV4SortableAddress()
104 assertEquals(test.prefixMatchLen, 0); in testV4SortableAddress()
132 assertEquals(test.prefixMatchLen, 13); in testV6SortableAddress()
142 assertEquals(test.prefixMatchLen, 0); in testV6SortableAddress()
147 assertEquals(test.prefixMatchLen, 16 * 8); in testV6SortableAddress()