Searched refs:appliesToUidRange (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 237 assertTrue(netCap.appliesToUidRange(new UidRange(50, 100))); in testSetUids() 238 assertTrue(netCap.appliesToUidRange(new UidRange(70, 72))); in testSetUids() 239 assertTrue(netCap.appliesToUidRange(new UidRange(3500, 3912))); in testSetUids() 240 assertTrue(netCap.appliesToUidRange(new UidRange(1, 100000))); in testSetUids() 259 assertTrue(netCap.appliesToUidRange(new UidRange(50, 100))); in testSetUids() 260 assertTrue(netCap.appliesToUidRange(new UidRange(70, 72))); in testSetUids() 261 assertTrue(netCap.appliesToUidRange(new UidRange(3500, 3912))); in testSetUids() 262 assertFalse(netCap.appliesToUidRange(new UidRange(1, 100))); in testSetUids() 263 assertFalse(netCap.appliesToUidRange(new UidRange(49, 100))); in testSetUids() 264 assertFalse(netCap.appliesToUidRange(new UidRange(1, 10))); in testSetUids() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkCapabilities.java | 1649 if (!nc.appliesToUidRange(requiredRange)) { in satisfiedByUids() 1665 public boolean appliesToUidRange(@Nullable 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
|