Home
last modified time | relevance | path

Searched refs:Vpn (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java148 @Mock private Vpn.SystemServices mSystemServices;
158 when(mContext.getPackageName()).thenReturn(Vpn.class.getPackage().getName()); in setUp()
181 final Vpn vpn = createVpn(primaryUser.id); in testRestrictedProfilesAreAddedToVpn()
195 final Vpn vpn = createVpn(primaryUser.id); in testManagedProfilesAreNotAddedToVpn()
208 final Vpn vpn = createVpn(primaryUser.id); in testAddUserToVpnOnlyAddsOneUser()
219 final Vpn vpn = createVpn(primaryUser.id); in testUidWhiteAndBlacklist()
244 final Vpn vpn = createVpn(primaryUser.id); in testLockdownChangingPackage()
279 final Vpn vpn = createVpn(primaryUser.id); in testLockdownAddingAProfile()
319 final Vpn vpn = createVpn(primaryUser.id); in testLockdownRuleRepeatability()
342 final Vpn vpn = createVpn(primaryUser.id); in testLockdownRuleReversibility()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java55 import com.android.server.connectivity.Vpn;
77 private final Vpn mVpn;
96 ConnectivityService connService, Vpn vpn, VpnProfile profile) { in LockdownVpnTracker()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java129 public class Vpn { class
219 synchronized (Vpn.this) {
248 public Vpn(Looper looper, Context context, INetworkManagementService netService, in Vpn() method in Vpn
254 protected Vpn(Looper looper, Context context, INetworkManagementService netService, in Vpn() method in Vpn
1249 synchronized(Vpn.this) { in onUserAdded()
1270 synchronized(Vpn.this) { in onUserRemoved()
1389 synchronized (Vpn.this) {
1398 synchronized (Vpn.this) {
2131 synchronized (Vpn.this) { in bringup()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java160 import com.android.server.connectivity.Vpn;
244 protected final SparseArray<Vpn> mVpns = new SparseArray<Vpn>();
1067 Vpn vpn = mVpns.get(user); in getVpnUnderlyingNetworks()
1115 final Vpn vpn = mVpns.get(UserHandle.getUserId(uid)); in isNetworkWithLinkPropertiesBlocked()
1194 final Vpn vpn = mVpns.get(user); in getActiveNetworkForUidInternal()
1330 Vpn vpn = mVpns.get(userId); in getDefaultNetworkCapabilitiesForUser()
3644 Vpn vpn = mVpns.get(userId); in prepareVpn()
3671 Vpn vpn = mVpns.get(userId); in setVpnPackageAuthorization()
3753 private VpnInfo createVpnInfo(Vpn vpn) { in createVpnInfo()
3785 Vpn vpn = mVpns.get(userId); in getVpnConfig()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java150 import com.android.server.connectivity.Vpn;
749 private class MockVpn extends Vpn {
/frameworks/base/services/
Dart-profile2263 Lcom/android/server/connectivity/Vpn$1;
2264 Lcom/android/server/connectivity/Vpn$3;
2265 Lcom/android/server/connectivity/Vpn$SystemServices;
2266 Lcom/android/server/connectivity/Vpn;