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/
DPermissionMonitor.java518 Set<UidRange> existingRanges = mVpnUidRanges.getOrDefault(iface, null); in onVpnUidRangesRemoved() local
519 if (existingRanges == null) { in onVpnUidRangesRemoved()
523 existingRanges.removeAll(rangesToRemove); in onVpnUidRangesRemoved()
524 if (existingRanges.size() == 0) { in onVpnUidRangesRemoved()
DVpn.java1397 static private List<UidRange> uidRangesForUser(int userHandle, Set<UidRange> existingRanges) {
1402 for (UidRange range : existingRanges) {
1420 final Set<UidRange> existingRanges = mNetworkCapabilities.getUids();
1421 if (existingRanges != null) {
1423 addUserToRanges(existingRanges, userHandle, mConfig.allowedApplications,
1427 mNetworkCapabilities.setUids(existingRanges);
1447 final Set<UidRange> existingRanges = mNetworkCapabilities.getUids();
1448 if (existingRanges != null) {
1451 uidRangesForUser(userHandle, existingRanges);
1452 existingRanges.removeAll(removedRanges);
[all …]