Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java203 final String vpnPackage = cfg.user; in getNameForVpnConfig() local
207 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig()
209 Log.e(TAG, "Package " + vpnPackage + " is not present", nnfe); in getNameForVpnConfig()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java3014 public void setAlwaysOnVpnPackage(@NonNull ComponentName admin, @Nullable String vpnPackage) in setAlwaysOnVpnPackage() argument
3016 setAlwaysOnVpnPackage(admin, vpnPackage, /* lockdownEnabled */ true); in setAlwaysOnVpnPackage()
3038 public void setAlwaysOnVpnPackage(@NonNull ComponentName admin, @Nullable String vpnPackage, in setAlwaysOnVpnPackage() argument
3044 if (!mService.setAlwaysOnVpnPackage(admin, vpnPackage, lockdownEnabled)) { in setAlwaysOnVpnPackage()
3045 throw new NameNotFoundException(vpnPackage); in setAlwaysOnVpnPackage()
DIDevicePolicyManager.aidl160 boolean setAlwaysOnVpnPackage(in ComponentName who, String vpnPackage, boolean lockdown); in setAlwaysOnVpnPackage() argument
/frameworks/base/core/java/android/net/
DConnectivityManager.java806 public boolean setAlwaysOnVpnPackageForUser(int userId, @Nullable String vpnPackage, in setAlwaysOnVpnPackageForUser() argument
809 return mService.setAlwaysOnVpnPackage(userId, vpnPackage, lockdownEnabled); in setAlwaysOnVpnPackageForUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4500 public boolean setAlwaysOnVpnPackage(ComponentName admin, String vpnPackage, boolean lockdown) in setAlwaysOnVpnPackage() argument
4509 if (vpnPackage != null && !isPackageInstalledForUser(vpnPackage, userId)) { in setAlwaysOnVpnPackage()
4514 if (!connectivityManager.setAlwaysOnVpnPackageForUser(userId, vpnPackage, lockdown)) { in setAlwaysOnVpnPackage()