Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java233 assertTrue(netCap.appliesToUid(10)); in testSetUids()
234 assertTrue(netCap.appliesToUid(200)); in testSetUids()
235 assertTrue(netCap.appliesToUid(3000)); in testSetUids()
236 assertTrue(netCap.appliesToUid(10010)); in testSetUids()
247 assertTrue(netCap.appliesToUid(50)); in testSetUids()
248 assertTrue(netCap.appliesToUid(80)); in testSetUids()
249 assertTrue(netCap.appliesToUid(100)); in testSetUids()
250 assertTrue(netCap.appliesToUid(3000)); in testSetUids()
251 assertTrue(netCap.appliesToUid(3001)); in testSetUids()
252 assertFalse(netCap.appliesToUid(10)); in testSetUids()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1577 public boolean appliesToUid(int uid) { in appliesToUid() method in NetworkCapabilities
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java1651 if (nai.isVPN() && nai.everConnected && nai.networkCapabilities.appliesToUid(uid)) { in getVpnForUid()
5137 return nai.networkCapabilities.appliesToUid(uid); in queryUserAccess()
5450 && nai.networkCapabilities.appliesToUid(Process.FIRST_APPLICATION_UID); in isLegacyLockdownNai()
6515 if (nri.mRequests.get(0).networkCapabilities.appliesToUid(uid)) { in getDefaultRequestTrackingUid()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt578 Landroid/net/NetworkCapabilities;->appliesToUid(I)Z