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.java107 assertEquals(test.prefixMatchLen, 0); in testV4SortableAddress()
118 assertEquals(test.prefixMatchLen, 0); in testV4SortableAddress()
146 assertEquals(test.prefixMatchLen, 13); in testV6SortableAddress()
156 assertEquals(test.prefixMatchLen, 0); in testV6SortableAddress()
161 assertEquals(test.prefixMatchLen, 16 * 8); in testV6SortableAddress()