Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java263 assertTrue(netCap.appliesToUidRange(new UidRange(50, 100))); in testSetUids()
264 assertTrue(netCap.appliesToUidRange(new UidRange(70, 72))); in testSetUids()
265 assertTrue(netCap.appliesToUidRange(new UidRange(3500, 3912))); in testSetUids()
266 assertTrue(netCap.appliesToUidRange(new UidRange(1, 100000))); in testSetUids()
285 assertTrue(netCap.appliesToUidRange(new UidRange(50, 100))); in testSetUids()
286 assertTrue(netCap.appliesToUidRange(new UidRange(70, 72))); in testSetUids()
287 assertTrue(netCap.appliesToUidRange(new UidRange(3500, 3912))); in testSetUids()
288 assertFalse(netCap.appliesToUidRange(new UidRange(1, 100))); in testSetUids()
289 assertFalse(netCap.appliesToUidRange(new UidRange(49, 100))); in testSetUids()
290 assertFalse(netCap.appliesToUidRange(new UidRange(1, 10))); in testSetUids()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java2082 if (!nc.appliesToUidRange(requiredRange)) { in satisfiedByUids()
2098 public boolean appliesToUidRange(@NonNull UidRange requiredRange) { in appliesToUidRange() method in NetworkCapabilities
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt579 Landroid/net/NetworkCapabilities;->appliesToUidRange(Landroid/net/UidRange;)Z