Home
last modified time | relevance | path

Searched refs:vpn (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java184 final Vpn vpn = createVpn(primaryUser.id); in testRestrictedProfilesAreAddedToVpn() local
185 final Set<UidRange> ranges = vpn.createUserAndRestrictedProfilesRanges(primaryUser.id, in testRestrictedProfilesAreAddedToVpn()
198 final Vpn vpn = createVpn(primaryUser.id); in testManagedProfilesAreNotAddedToVpn() local
199 final Set<UidRange> ranges = vpn.createUserAndRestrictedProfilesRanges(primaryUser.id, in testManagedProfilesAreNotAddedToVpn()
211 final Vpn vpn = createVpn(primaryUser.id); in testAddUserToVpnOnlyAddsOneUser() local
213 vpn.addUserToRanges(ranges, primaryUser.id, null, null); in testAddUserToVpnOnlyAddsOneUser()
222 final Vpn vpn = createVpn(primaryUser.id); in testUidWhiteAndBlacklist() local
227 final Set<UidRange> allow = vpn.createUserAndRestrictedProfilesRanges(primaryUser.id, in testUidWhiteAndBlacklist()
235 final Set<UidRange> disallow = vpn.createUserAndRestrictedProfilesRanges(primaryUser.id, in testUidWhiteAndBlacklist()
247 final Vpn vpn = createVpn(primaryUser.id); in testGetAlwaysAndOnGetLockDown() local
[all …]
/frameworks/native/cmds/ip-up-vpn/
DAndroid.mk20 LOCAL_SRC_FILES := ip-up-vpn.c
23 LOCAL_MODULE := ip-up-vpn
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1212 Vpn vpn = mVpns.get(user); in getVpnUnderlyingNetworks() local
1213 if (vpn != null && vpn.appliesToUid(uid)) { in getVpnUnderlyingNetworks()
1214 return vpn.getUnderlyingNetworks(); in getVpnUnderlyingNetworks()
1255 final Vpn vpn = mVpns.get(UserHandle.getUserId(uid)); in isNetworkWithLinkPropertiesBlocked() local
1256 if (vpn != null && vpn.getLockdown() && vpn.isBlockingUid(uid)) { in isNetworkWithLinkPropertiesBlocked()
1345 final Vpn vpn = mVpns.get(user); in getActiveNetworkForUidInternal() local
1348 if (vpn != null && vpn.appliesToUid(uid)) vpnNetId = vpn.getNetId(); in getActiveNetworkForUidInternal()
1481 Vpn vpn = mVpns.get(userId); in getDefaultNetworkCapabilitiesForUser() local
1482 if (vpn != null) { in getDefaultNetworkCapabilitiesForUser()
1483 Network[] networks = vpn.getUnderlyingNetworks(); in getDefaultNetworkCapabilitiesForUser()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java383 for (Map.Entry<String, Set<UidRange>> vpn : mVpnUidRanges.entrySet()) { in onPackageAdded()
384 if (UidRange.containsUid(vpn.getValue(), uid)) { in onPackageAdded()
388 updateVpnUids(vpn.getKey(), changedUids, true); in onPackageAdded()
405 for (Map.Entry<String, Set<UidRange>> vpn : mVpnUidRanges.entrySet()) { in onPackageRemoved()
406 if (UidRange.containsUid(vpn.getValue(), uid)) { in onPackageRemoved()
410 updateVpnUids(vpn.getKey(), changedUids, false); in onPackageRemoved()
684 for (Map.Entry<String, Set<UidRange>> vpn : mVpnUidRanges.entrySet()) { in dump()
685 pw.println("Interface: " + vpn.getKey()); in dump()
686 pw.println("UIDs: " + vpn.getValue().toString()); in dump()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java127 final NotificationChannel vpn = new NotificationChannel( in createAll() local
131 channelsList.add(vpn); in createAll()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java90 ConnectivityService connService, Vpn vpn, VpnProfile profile) { in LockdownVpnTracker() argument
94 mVpn = Preconditions.checkNotNull(vpn); in LockdownVpnTracker()
/frameworks/base/
DCleanSpec.mk103 …add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/vpn)