Searched refs:VpnManager (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | PlatformVpnConfirmDialog.java | 19 import android.net.VpnManager; 27 super(VpnManager.TYPE_VPN_PLATFORM); in PlatformVpnConfirmDialog()
|
D | ConfirmDialog.java | 26 import android.net.VpnManager; 47 @VpnManager.VpnType private final int mVpnType; 54 this(VpnManager.TYPE_VPN_SERVICE); in ConfirmDialog() 57 public ConfirmDialog(@VpnManager.VpnType int vpnType) { in ConfirmDialog()
|
/frameworks/base/core/java/android/net/ |
D | VpnManager.java | 52 public class VpnManager { class 85 public VpnManager(@NonNull Context ctx, @NonNull IConnectivityManager service) { in VpnManager() method in VpnManager
|
D | VpnService.java | 237 cm.setVpnPackageAuthorization(packageName, userId, VpnManager.TYPE_VPN_SERVICE); in prepareAndAuthorize()
|
/frameworks/base/tests/net/java/android/net/ |
D | VpnManagerTest.java | 53 private VpnManager mVpnManager; 65 mVpnManager = new VpnManager(mMockContext, mMockCs); in setUp()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 71 import android.net.VpnManager; 584 (profile == null) ? VpnManager.TYPE_VPN_SERVICE : VpnManager.TYPE_VPN_PLATFORM; in setAlwaysOnPackageInternal() 781 String oldPackage, String newPackage, @VpnManager.VpnType int vpnType) { in prepare() 885 public boolean setPackageAuthorization(String packageName, @VpnManager.VpnType int vpnType) { in setPackageAuthorization() 901 case VpnManager.TYPE_VPN_NONE: in setPackageAuthorization() 906 case VpnManager.TYPE_VPN_PLATFORM: in setPackageAuthorization() 909 case VpnManager.TYPE_VPN_SERVICE: in setPackageAuthorization() 924 vpnType == VpnManager.TYPE_VPN_NONE in setPackageAuthorization() 938 case VpnManager.TYPE_VPN_SERVICE: in isVpnPreConsented() 940 case VpnManager.TYPE_VPN_PLATFORM: in isVpnPreConsented() [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 73 import android.net.VpnManager; 512 vpn.prepare(null, PKGS[0], VpnManager.TYPE_VPN_SERVICE); in testLockdownRuleReversibility() 517 vpn.prepare(null, VpnConfig.LEGACY_VPN, VpnManager.TYPE_VPN_SERVICE); in testLockdownRuleReversibility() 938 assertTrue(vpn.setPackageAuthorization(TEST_VPN_PKG, VpnManager.TYPE_VPN_SERVICE)); in testSetPackageAuthorizationVpnService() 951 assertTrue(vpn.setPackageAuthorization(TEST_VPN_PKG, VpnManager.TYPE_VPN_PLATFORM)); in testSetPackageAuthorizationPlatformVpn() 964 assertTrue(vpn.setPackageAuthorization(TEST_VPN_PKG, VpnManager.TYPE_VPN_NONE)); in testSetPackageAuthorizationRevokeAuthorization()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 129 import android.net.VpnManager; 384 registerService(Context.VPN_MANAGEMENT_SERVICE, VpnManager.class, in registerService() 385 new CachedServiceFetcher<VpnManager>() { in registerService() 387 public VpnManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 390 return new VpnManager(ctx, service); in registerService()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 187 import android.net.VpnManager; 1027 private int mVpnType = VpnManager.TYPE_VPN_SERVICE; 6915 private void setupConnectionOwnerUid(int vpnOwnerUid, @VpnManager.VpnType int vpnType) in setupConnectionOwnerUid() 6926 private void setupConnectionOwnerUidAsVpnApp(int vpnOwnerUid, @VpnManager.VpnType int vpnType) in setupConnectionOwnerUidAsVpnApp() 6946 setupConnectionOwnerUidAsVpnApp(myUid, VpnManager.TYPE_VPN_PLATFORM); in testGetConnectionOwnerUidPlatformVpn() 6958 setupConnectionOwnerUidAsVpnApp(myUid + 1, VpnManager.TYPE_VPN_SERVICE); in testGetConnectionOwnerUidVpnServiceWrongUser() 6970 setupConnectionOwnerUidAsVpnApp(myUid, VpnManager.TYPE_VPN_SERVICE); in testGetConnectionOwnerUidVpnServiceDoesNotThrow() 6979 setupConnectionOwnerUid(myUid, VpnManager.TYPE_VPN_SERVICE); in testGetConnectionOwnerUidVpnServiceNetworkStackDoesNotThrow() 6991 setupConnectionOwnerUid(myUid, VpnManager.TYPE_VPN_SERVICE); in testGetConnectionOwnerUidVpnServiceMainlineNetworkStackDoesNotThrow()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 132 import android.net.VpnManager; 4521 return vpn.prepare(oldPackage, newPackage, VpnManager.TYPE_VPN_SERVICE); in prepareVpn() 4545 String packageName, int userId, @VpnManager.VpnType int vpnType) { in setVpnPackageAuthorization() 7566 setVpnPackageAuthorization(alwaysOnPackage, userId, VpnManager.TYPE_VPN_NONE); in factoryReset() 7590 vpnConfig.user, userId, VpnManager.TYPE_VPN_NONE); in factoryReset() 7735 if (vpn != null && vpn.getActiveAppVpnType() != VpnManager.TYPE_VPN_SERVICE) { in getConnectionOwnerUid()
|
/frameworks/base/api/ |
D | lint-baseline.txt | 516 IntentBuilderName: android.net.VpnManager#provisionVpnProfile(android.net.PlatformVpnProfile):
|
D | current.txt | 30658 public class VpnManager {
|
/frameworks/base/config/ |
D | preloaded-classes | 4346 android.net.VpnManager
|
D | boot-image-profile.txt | 44543 Landroid/net/VpnManager;
|