Searched refs:vpn (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 224 final Vpn vpn = createVpn(primaryUser.id); in testRestrictedProfilesAreAddedToVpn() local 225 final Set<UidRange> ranges = vpn.createUserAndRestrictedProfilesRanges(primaryUser.id, in testRestrictedProfilesAreAddedToVpn() 238 final Vpn vpn = createVpn(primaryUser.id); in testManagedProfilesAreNotAddedToVpn() local 239 final Set<UidRange> ranges = vpn.createUserAndRestrictedProfilesRanges(primaryUser.id, in testManagedProfilesAreNotAddedToVpn() 251 final Vpn vpn = createVpn(primaryUser.id); in testAddUserToVpnOnlyAddsOneUser() local 253 vpn.addUserToRanges(ranges, primaryUser.id, null, null); in testAddUserToVpnOnlyAddsOneUser() 262 final Vpn vpn = createVpn(primaryUser.id); in testUidWhiteAndBlacklist() local 267 final Set<UidRange> allow = vpn.createUserAndRestrictedProfilesRanges(primaryUser.id, in testUidWhiteAndBlacklist() 275 final Set<UidRange> disallow = vpn.createUserAndRestrictedProfilesRanges(primaryUser.id, in testUidWhiteAndBlacklist() 287 final Vpn vpn = createVpn(primaryUser.id); in testGetAlwaysAndOnGetLockDown() local [all …]
|
/frameworks/native/cmds/ip-up-vpn/ |
D | Android.mk | 20 LOCAL_SRC_FILES := ip-up-vpn.c 23 LOCAL_MODULE := ip-up-vpn
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1302 Vpn vpn = mVpns.get(user); in getVpnUnderlyingNetworks() local 1303 if (vpn != null && vpn.appliesToUid(uid)) { in getVpnUnderlyingNetworks() 1304 return vpn.getUnderlyingNetworks(); in getVpnUnderlyingNetworks() 1345 final Vpn vpn = mVpns.get(UserHandle.getUserId(uid)); in isNetworkWithLinkPropertiesBlocked() local 1346 if (vpn != null && vpn.getLockdown() && vpn.isBlockingUid(uid)) { in isNetworkWithLinkPropertiesBlocked() 1434 final Vpn vpn = mVpns.get(user); in getActiveNetworkForUidInternal() local 1437 if (vpn != null && vpn.appliesToUid(uid)) vpnNetId = vpn.getNetId(); in getActiveNetworkForUidInternal() 1574 Vpn vpn = mVpns.get(userId); in getDefaultNetworkCapabilitiesForUser() local 1575 if (vpn != null) { in getDefaultNetworkCapabilitiesForUser() 1576 Network[] networks = vpn.getUnderlyingNetworks(); in getDefaultNetworkCapabilitiesForUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 380 for (Map.Entry<String, Set<UidRange>> vpn : mVpnUidRanges.entrySet()) { in onPackageAdded() 381 if (UidRange.containsUid(vpn.getValue(), uid)) { in onPackageAdded() 385 updateVpnUids(vpn.getKey(), changedUids, true); in onPackageAdded() 406 for (Map.Entry<String, Set<UidRange>> vpn : mVpnUidRanges.entrySet()) { in onPackageRemoved() 407 if (UidRange.containsUid(vpn.getValue(), uid)) { in onPackageRemoved() 411 updateVpnUids(vpn.getKey(), changedUids, false); in onPackageRemoved() 692 for (Map.Entry<String, Set<UidRange>> vpn : mVpnUidRanges.entrySet()) { in dump() 693 pw.println("Interface: " + vpn.getKey()); in dump() 694 pw.println("UIDs: " + vpn.getValue().toString()); in dump()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 128 final NotificationChannel vpn = new NotificationChannel( in createAll() local 132 channelsList.add(vpn); in createAll()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 91 @NonNull Vpn vpn, in LockdownVpnTracker() argument 96 mVpn = Objects.requireNonNull(vpn); in LockdownVpnTracker()
|
/frameworks/base/ |
D | CleanSpec.mk | 103 …add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/vpn)
|