Home
last modified time | relevance | path

Searched refs:appliesToUid (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java242 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 …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1732 public synchronized boolean appliesToUid(int uid) {
1736 return mNetworkCapabilities.appliesToUid(uid);
1770 return !appliesToUid(uid);
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java1385 public boolean appliesToUid(int uid) { in appliesToUid() method in NetworkCapabilities
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1303 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()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1062 public boolean appliesToUid(int uid) { in appliesToUid() method in ConnectivityServiceTest.MockVpn
/frameworks/base/services/
Dart-profile5638 HSPLcom/android/server/connectivity/Vpn;->appliesToUid(I)Z
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44278 Landroid/net/NetworkCapabilities;->appliesToUid(I)Z