Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/util/
DDnsUtils.java66 if (span1.hasSrcAddr != span2.hasSrcAddr) { in compare()
67 return span2.hasSrcAddr - span1.hasSrcAddr; in compare()
115 public final int hasSrcAddr; field in DnsUtils.SortableAddress
120 hasSrcAddr = (srcAddr != null) ? 1 : 0; in SortableAddress()
/packages/modules/Connectivity/tests/unit/java/android/net/util/
DDnsUtilsTest.java110 assertEquals(test.hasSrcAddr, 0); in testV4SortableAddress()
121 assertEquals(test.hasSrcAddr, 1); in testV4SortableAddress()
144 assertEquals(test.hasSrcAddr, 1); in testV6SortableAddress()
154 assertEquals(test.hasSrcAddr, 1); in testV6SortableAddress()
164 assertEquals(test.hasSrcAddr, 1); in testV6SortableAddress()