Searched refs:vpnPackage (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 224 final String vpnPackage = cfg.user; in getNameForVpnConfig() local 228 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig() 230 Log.e(TAG, "Package " + vpnPackage + " is not present", nnfe); in getNameForVpnConfig()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 3021 public void setAlwaysOnVpnPackage(@NonNull ComponentName admin, @Nullable String vpnPackage) in setAlwaysOnVpnPackage() argument 3023 setAlwaysOnVpnPackage(admin, vpnPackage, /* lockdownEnabled */ true); in setAlwaysOnVpnPackage() 3045 public void setAlwaysOnVpnPackage(@NonNull ComponentName admin, @Nullable String vpnPackage, in setAlwaysOnVpnPackage() argument 3051 if (!mService.setAlwaysOnVpnPackage(admin, vpnPackage, lockdownEnabled)) { in setAlwaysOnVpnPackage() 3052 throw new NameNotFoundException(vpnPackage); in setAlwaysOnVpnPackage()
|
D | IDevicePolicyManager.aidl | 160 boolean setAlwaysOnVpnPackage(in ComponentName who, String vpnPackage, boolean lockdown); in setAlwaysOnVpnPackage() argument
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 815 public boolean setAlwaysOnVpnPackageForUser(int userId, @Nullable String vpnPackage, in setAlwaysOnVpnPackageForUser() argument 818 return mService.setAlwaysOnVpnPackage(userId, vpnPackage, lockdownEnabled); in setAlwaysOnVpnPackageForUser()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4523 public boolean setAlwaysOnVpnPackage(ComponentName admin, String vpnPackage, boolean lockdown) in setAlwaysOnVpnPackage() argument 4532 if (vpnPackage != null && !isPackageInstalledForUser(vpnPackage, userId)) { in setAlwaysOnVpnPackage() 4537 if (!connectivityManager.setAlwaysOnVpnPackageForUser(userId, vpnPackage, lockdown)) { in setAlwaysOnVpnPackage()
|