Searched refs:appliesToUidRange (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 263 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/ |
D | NetworkCapabilities.java | 2082 if (!nc.appliesToUidRange(requiredRange)) { in satisfiedByUids() 2098 public boolean appliesToUidRange(@NonNull UidRange requiredRange) { in appliesToUidRange() method in NetworkCapabilities
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 579 Landroid/net/NetworkCapabilities;->appliesToUidRange(Landroid/net/UidRange;)Z
|