Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/util/
DDnsUtilsTest.java96 assertEquals(test.scopeMatch, 0); in testV4SortableAddress()
107 assertEquals(test.scopeMatch, 1); in testV4SortableAddress()
129 assertEquals(test.scopeMatch, 1); in testV6SortableAddress()
139 assertEquals(test.scopeMatch, 0); in testV6SortableAddress()
149 assertEquals(test.scopeMatch, 1); in testV6SortableAddress()
/frameworks/base/core/java/android/net/util/
DDnsUtils.java73 if (span1.scopeMatch != span2.scopeMatch) { in compare()
74 return span2.scopeMatch - span1.scopeMatch; in compare()
114 public final int scopeMatch; field in DnsUtils.SortableAddress
127 scopeMatch = ((srcAddr != null) && (scope == findScope(srcAddr))) ? 1 : 0; in SortableAddress()