Home
last modified time | relevance | path

Searched refs:appliesToUidRange (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java254 assertTrue(netCap.appliesToUidRange(new UidRange(50, 100))); in testSetUids()
255 assertTrue(netCap.appliesToUidRange(new UidRange(70, 72))); in testSetUids()
256 assertTrue(netCap.appliesToUidRange(new UidRange(3500, 3912))); in testSetUids()
257 assertFalse(netCap.appliesToUidRange(new UidRange(1, 100))); in testSetUids()
258 assertFalse(netCap.appliesToUidRange(new UidRange(49, 100))); in testSetUids()
259 assertFalse(netCap.appliesToUidRange(new UidRange(1, 10))); in testSetUids()
260 assertFalse(netCap.appliesToUidRange(new UidRange(60, 101))); in testSetUids()
261 assertFalse(netCap.appliesToUidRange(new UidRange(60, 3400))); in testSetUids()
286 assertTrue(netCap.appliesToUidRange(new UidRange(1, 100000))); in testSetUids()
288 assertFalse(netCap2.appliesToUidRange(new UidRange(1, 100000))); in testSetUids()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java1447 if (!nc.appliesToUidRange(requiredRange)) { in satisfiedByUids()
1463 public boolean appliesToUidRange(@Nullable UidRange requiredRange) { in appliesToUidRange() method in NetworkCapabilities
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44279 Landroid/net/NetworkCapabilities;->appliesToUidRange(Landroid/net/UidRange;)Z