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.java1026 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/
DDevicePolicyManager.java5228 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()
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.java6413 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()