Home
last modified time | relevance | path

Searched refs:existingRanges (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1260 static private List<UidRange> uidRangesForUser(int userHandle, Set<UidRange> existingRanges) { in uidRangesForUser() argument
1265 for (UidRange range : existingRanges) { in uidRangesForUser()
1283 final Set<UidRange> existingRanges = mNetworkCapabilities.getUids(); in onUserAdded() local
1284 if (existingRanges != null) { in onUserAdded()
1286 addUserToRanges(existingRanges, userHandle, mConfig.allowedApplications, in onUserAdded()
1290 mNetworkCapabilities.setUids(existingRanges); in onUserAdded()
1310 final Set<UidRange> existingRanges = mNetworkCapabilities.getUids(); in onUserRemoved() local
1311 if (existingRanges != null) { in onUserRemoved()
1314 uidRangesForUser(userHandle, existingRanges); in onUserRemoved()
1315 existingRanges.removeAll(removedRanges); in onUserRemoved()
[all …]
DPermissionMonitor.java525 Set<UidRange> existingRanges = mVpnUidRanges.getOrDefault(iface, null); in onVpnUidRangesRemoved() local
526 if (existingRanges == null) { in onVpnUidRangesRemoved()
530 existingRanges.removeAll(rangesToRemove); in onVpnUidRangesRemoved()
531 if (existingRanges.size() == 0) { in onVpnUidRangesRemoved()