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.java109 assertEquals(test.labelMatch, 0); in testV4SortableAddress()
120 assertEquals(test.labelMatch, 1); in testV4SortableAddress()
142 assertEquals(test.labelMatch, 1); in testV6SortableAddress()
152 assertEquals(test.labelMatch, 1); in testV6SortableAddress()
162 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()