Home
last modified time | relevance | path

Searched refs:containsRange (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/net/common/tests/unit/src/android/net/util/
DIpRangeTest.java127 assertTrue(r1.containsRange(r2)); in testContainsRangeEqualRanges()
128 assertTrue(r2.containsRange(r1)); in testContainsRangeEqualRanges()
137 assertTrue(r1.containsRange(r2)); in testContainsRangeSubset()
138 assertFalse(r2.containsRange(r1)); in testContainsRangeSubset()
147 assertTrue(r1.containsRange(r2)); in testContainsRangeTruncatesLowerOrderBits()
148 assertTrue(r2.containsRange(r1)); in testContainsRangeTruncatesLowerOrderBits()
157 assertTrue(r1.containsRange(r2)); in testContainsRangeSubsetSameStartAddr()
158 assertFalse(r2.containsRange(r1)); in testContainsRangeSubsetSameStartAddr()
167 assertFalse(r1.containsRange(r2)); in testContainsRangeOverlapping()
168 assertFalse(r2.containsRange(r1)); in testContainsRangeOverlapping()
/frameworks/libs/net/common/src_frameworkcommon/android/net/util/
DIpRange.java136 if (containsRange(workingRange)) { in asIpPrefixes()
184 public boolean containsRange(IpRange other) { in containsRange() method in IpRange
/frameworks/base/core/java/android/net/
DUidRange.java71 public boolean containsRange(UidRange other) { in containsRange() method in UidRange
DNetworkCapabilities.java1466 if (uidRange.containsRange(requiredRange)) { in appliesToUidRange()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1403 if (userRange.containsRange(range)) {