Home
last modified time | relevance | path

Searched refs:vpnType (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java53 public ConfirmDialog(@VpnManager.VpnType int vpnType) { in ConfirmDialog() argument
54 mVpnType = vpnType; in ConfirmDialog()
/frameworks/base/core/java/android/net/
DIVpnManager.aidl32 void setVpnPackageAuthorization(String packageName, int userId, int vpnType); in setVpnPackageAuthorization() argument
DVpnManager.java268 String packageName, int userId, @VpnManager.VpnType int vpnType) { in setVpnPackageAuthorization() argument
270 mService.setVpnPackageAuthorization(packageName, userId, vpnType); in setVpnPackageAuthorization()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java906 String oldPackage, String newPackage, @VpnManager.VpnType int vpnType) { in prepare() argument
918 && isVpnPreConsented(mContext, oldPackage, vpnType)) { in prepare()
924 && !isVpnPreConsented(mContext, oldPackage, vpnType)) { in prepare()
1010 public boolean setPackageAuthorization(String packageName, @VpnManager.VpnType int vpnType) { in setPackageAuthorization() argument
1025 switch (vpnType) { in setPackageAuthorization()
1052 vpnType == VpnManager.TYPE_VPN_NONE in setPackageAuthorization()
1064 private static boolean isVpnPreConsented(Context context, String packageName, int vpnType) { in isVpnPreConsented() argument
1065 switch (vpnType) { in isVpnPreConsented()
/frameworks/base/services/core/java/com/android/server/
DVpnManagerService.java224 String packageName, int userId, @VpnManager.VpnType int vpnType) { in setVpnPackageAuthorization() argument
230 vpn.setPackageAuthorization(packageName, vpnType); in setVpnPackageAuthorization()