Searched refs:appliesToUid (Results 1 – 4 of 4) sorted by relevance
233 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 …]
1577 public boolean appliesToUid(int uid) { in appliesToUid() method in NetworkCapabilities
1651 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()
578 Landroid/net/NetworkCapabilities;->appliesToUid(I)Z