Searched refs:appliesToUid (Results 1 – 7 of 7) sorted by relevance
242 assertTrue(netCap.appliesToUid(50)); in testSetUids()243 assertTrue(netCap.appliesToUid(80)); in testSetUids()244 assertTrue(netCap.appliesToUid(100)); in testSetUids()245 assertTrue(netCap.appliesToUid(3000)); in testSetUids()246 assertTrue(netCap.appliesToUid(3001)); in testSetUids()247 assertFalse(netCap.appliesToUid(10)); in testSetUids()248 assertFalse(netCap.appliesToUid(25)); in testSetUids()249 assertFalse(netCap.appliesToUid(49)); in testSetUids()250 assertFalse(netCap.appliesToUid(101)); in testSetUids()251 assertFalse(netCap.appliesToUid(2000)); in testSetUids()[all …]
1732 public synchronized boolean appliesToUid(int uid) {1736 return mNetworkCapabilities.appliesToUid(uid);1770 return !appliesToUid(uid);
1385 public boolean appliesToUid(int uid) { in appliesToUid() method in NetworkCapabilities
1303 if (vpn != null && vpn.appliesToUid(uid)) { in getVpnUnderlyingNetworks()1437 if (vpn != null && vpn.appliesToUid(uid)) vpnNetId = vpn.getNetId(); in getActiveNetworkForUidInternal()7733 if (vpn != null && !vpn.appliesToUid(uid)) { in getConnectionOwnerUid()
1062 public boolean appliesToUid(int uid) { in appliesToUid() method in ConnectivityServiceTest.MockVpn
5638 HSPLcom/android/server/connectivity/Vpn;->appliesToUid(I)Z
44278 Landroid/net/NetworkCapabilities;->appliesToUid(I)Z