Searched refs:vpnType (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 57 public ConfirmDialog(@VpnManager.VpnType int vpnType) { in ConfirmDialog() argument 58 mVpnType = vpnType; in ConfirmDialog()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 781 String oldPackage, String newPackage, @VpnManager.VpnType int vpnType) { in prepare() argument 793 && isVpnPreConsented(mContext, oldPackage, vpnType)) { in prepare() 799 && !isVpnPreConsented(mContext, oldPackage, vpnType)) { in prepare() 885 public boolean setPackageAuthorization(String packageName, @VpnManager.VpnType int vpnType) { in setPackageAuthorization() argument 900 switch (vpnType) { in setPackageAuthorization() 924 vpnType == VpnManager.TYPE_VPN_NONE in setPackageAuthorization() 936 private static boolean isVpnPreConsented(Context context, String packageName, int vpnType) { in isVpnPreConsented() argument 937 switch (vpnType) { in isVpnPreConsented()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 122 void setVpnPackageAuthorization(String packageName, int userId, int vpnType); in setVpnPackageAuthorization() argument
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1049 public void setVpnType(int vpnType) { in setVpnType() argument 1050 mVpnType = vpnType; in setVpnType() 6915 private void setupConnectionOwnerUid(int vpnOwnerUid, @VpnManager.VpnType int vpnType) in setupConnectionOwnerUid() argument 6919 mMockVpn.setVpnType(vpnType); in setupConnectionOwnerUid() 6926 private void setupConnectionOwnerUidAsVpnApp(int vpnOwnerUid, @VpnManager.VpnType int vpnType) in setupConnectionOwnerUidAsVpnApp() argument 6928 setupConnectionOwnerUid(vpnOwnerUid, vpnType); in setupConnectionOwnerUidAsVpnApp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 4545 String packageName, int userId, @VpnManager.VpnType int vpnType) { in setVpnPackageAuthorization() argument 4551 vpn.setPackageAuthorization(packageName, vpnType); in setVpnPackageAuthorization()
|