Searched refs:vpnPackage (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 318 final String vpnPackage = cfg.user; in getNameForVpnConfig() local 322 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig() 324 Log.e(TAG, "Package " + vpnPackage + " is not present", nnfe); in getNameForVpnConfig()
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 1026 public boolean isAlwaysOnVpnPackageSupportedForUser(int userId, @Nullable String vpnPackage) { in isAlwaysOnVpnPackageSupportedForUser() argument 1028 return mService.isAlwaysOnVpnPackageSupported(userId, vpnPackage); in isAlwaysOnVpnPackageSupportedForUser() 1056 public boolean setAlwaysOnVpnPackageForUser(int userId, @Nullable String vpnPackage, in setAlwaysOnVpnPackageForUser() argument 1060 userId, vpnPackage, lockdownEnabled, lockdownWhitelist); in setAlwaysOnVpnPackageForUser()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 5228 public void setAlwaysOnVpnPackage(@NonNull ComponentName admin, @Nullable String vpnPackage, in setAlwaysOnVpnPackage() argument 5230 setAlwaysOnVpnPackage(admin, vpnPackage, lockdownEnabled, Collections.emptySet()); in setAlwaysOnVpnPackage() 5260 public void setAlwaysOnVpnPackage(@NonNull ComponentName admin, @Nullable String vpnPackage, in setAlwaysOnVpnPackage() argument 5266 mService.setAlwaysOnVpnPackage(admin, vpnPackage, lockdownEnabled, in setAlwaysOnVpnPackage()
|
D | IDevicePolicyManager.aidl | 191 …boolean setAlwaysOnVpnPackage(in ComponentName who, String vpnPackage, boolean lockdown, in List<S… in setAlwaysOnVpnPackage() argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 6413 public boolean setAlwaysOnVpnPackage(ComponentName admin, String vpnPackage, boolean lockdown, in setAlwaysOnVpnPackage() argument 6421 if (vpnPackage != null && !isPackageInstalledForUser(vpnPackage, userId)) { in setAlwaysOnVpnPackage() 6422 Slog.w(LOG_TAG, "Non-existent VPN package specified: " + vpnPackage); in setAlwaysOnVpnPackage() 6424 DevicePolicyManager.ERROR_VPN_PACKAGE_NOT_FOUND, vpnPackage); in setAlwaysOnVpnPackage() 6427 if (vpnPackage != null && lockdown && lockdownWhitelist != null) { in setAlwaysOnVpnPackage() 6438 userId, vpnPackage, lockdown, lockdownWhitelist)) { in setAlwaysOnVpnPackage() 6444 .setStrings(vpnPackage) in setAlwaysOnVpnPackage()
|