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.java318 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/
DConnectivityManager.java1066 public boolean isAlwaysOnVpnPackageSupportedForUser(int userId, @Nullable String vpnPackage) { in isAlwaysOnVpnPackageSupportedForUser() argument
1068 return mService.isAlwaysOnVpnPackageSupported(userId, vpnPackage); in isAlwaysOnVpnPackageSupportedForUser()
1096 public boolean setAlwaysOnVpnPackageForUser(int userId, @Nullable String vpnPackage, in setAlwaysOnVpnPackageForUser() argument
1100 userId, vpnPackage, lockdownEnabled, lockdownAllowlist); in setAlwaysOnVpnPackageForUser()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java5246 public void setAlwaysOnVpnPackage(@NonNull ComponentName admin, @Nullable String vpnPackage, in setAlwaysOnVpnPackage() argument
5248 setAlwaysOnVpnPackage(admin, vpnPackage, lockdownEnabled, Collections.emptySet()); in setAlwaysOnVpnPackage()
5278 public void setAlwaysOnVpnPackage(@NonNull ComponentName admin, @Nullable String vpnPackage, in setAlwaysOnVpnPackage() argument
5284 mService.setAlwaysOnVpnPackage(admin, vpnPackage, lockdownEnabled, in setAlwaysOnVpnPackage()
DIDevicePolicyManager.aidl191 …boolean setAlwaysOnVpnPackage(in ComponentName who, String vpnPackage, boolean lockdown, in List<S… in setAlwaysOnVpnPackage() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6429 public boolean setAlwaysOnVpnPackage(ComponentName admin, String vpnPackage, boolean lockdown, in setAlwaysOnVpnPackage() argument
6437 if (vpnPackage != null && !isPackageInstalledForUser(vpnPackage, userId)) { in setAlwaysOnVpnPackage()
6438 Slog.w(LOG_TAG, "Non-existent VPN package specified: " + vpnPackage); in setAlwaysOnVpnPackage()
6440 DevicePolicyManager.ERROR_VPN_PACKAGE_NOT_FOUND, vpnPackage); in setAlwaysOnVpnPackage()
6443 if (vpnPackage != null && lockdown && lockdownWhitelist != null) { in setAlwaysOnVpnPackage()
6454 userId, vpnPackage, lockdown, lockdownWhitelist)) { in setAlwaysOnVpnPackage()
6460 .setStrings(vpnPackage) in setAlwaysOnVpnPackage()