Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/util/
DDnsUtilsTest.java95 assertEquals(test.labelMatch, 0); in testV4SortableAddress()
106 assertEquals(test.labelMatch, 1); in testV4SortableAddress()
128 assertEquals(test.labelMatch, 1); in testV6SortableAddress()
138 assertEquals(test.labelMatch, 1); in testV6SortableAddress()
148 assertEquals(test.labelMatch, 1); in testV6SortableAddress()
/frameworks/base/core/java/android/net/util/
DDnsUtils.java81 if (span1.labelMatch != span2.labelMatch) { in compare()
82 return span2.labelMatch - span1.labelMatch; in compare()
112 public final int labelMatch; field in DnsUtils.SortableAddress
126 labelMatch = ((srcAddr != null) && (label == findLabel(srcAddr))) ? 1 : 0; in SortableAddress()