Home
last modified time | relevance | path

Searched refs:oldPackage (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdater.java165 PackageInfo oldPackage = null; in updateCurrentWebViewPackage() local
169 oldPackage = mCurrentWebViewPackage; in updateCurrentWebViewPackage()
177 providerChanged = (oldPackage == null) in updateCurrentWebViewPackage()
178 || !newPackage.packageName.equals(oldPackage.packageName); in updateCurrentWebViewPackage()
192 if (providerChanged && oldPackage != null) { in updateCurrentWebViewPackage()
193 mSystemInterface.killPackageDependents(oldPackage.packageName); in updateCurrentWebViewPackage()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java781 String oldPackage, String newPackage, @VpnManager.VpnType int vpnType) { in prepare() argument
782 if (oldPackage != null) { in prepare()
784 if (mAlwaysOn && !isCurrentPreparedPackage(oldPackage)) { in prepare()
789 if (!isCurrentPreparedPackage(oldPackage)) { in prepare()
792 if (!oldPackage.equals(VpnConfig.LEGACY_VPN) in prepare()
793 && isVpnPreConsented(mContext, oldPackage, vpnType)) { in prepare()
794 prepareInternal(oldPackage); in prepare()
798 } else if (!oldPackage.equals(VpnConfig.LEGACY_VPN) in prepare()
799 && !isVpnPreConsented(mContext, oldPackage, vpnType)) { in prepare()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceInternal.java112 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged() argument
DPermissionManagerService.java604 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged() argument
607 final int numOldPackagePermissions = oldPackage.permissions.size(); in revokeRuntimePermissionsIfGroupChanged()
612 final PackageParser.Permission permission = oldPackage.permissions.get(i); in revokeRuntimePermissionsIfGroupChanged()
3053 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged() argument
3057 oldPackage, allPackageNames, permissionCallback); in revokeRuntimePermissionsIfGroupChanged()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl121 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java16284 PackageParser.Package oldPackage = mPackages.get(packageName);
16287 PackageSetting deletedPkgSetting = (PackageSetting) oldPackage.mExtras;
16293 removePackageLI(oldPackage, true);
16294 if (!disableSystemPackageLPw(oldPackage, pkg)) {
16299 oldPackage.applicationInfo.getCodePath(),
16300 oldPackage.applicationInfo.getResourcePath(),
16301 getAppDexInstructionSets(oldPackage.applicationInfo));
16309 final int deletedChildCount = (oldPackage.childPackages != null)
16310 ? oldPackage.childPackages.size() : 0;
16314 PackageParser.Package deletedChildPkg = oldPackage.childPackages.get(i);
[all …]
DSettings.java838 void writeUserRestrictionsLPw(PackageSetting newPackage, PackageSetting oldPackage) { in writeUserRestrictionsLPw() argument
849 final PackageUserState oldUserState = oldPackage == null in writeUserRestrictionsLPw()
851 : oldPackage.readUserState(user.id); in writeUserRestrictionsLPw()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java683 UserHandle userHandle, @Nullable String oldPackage, @Nullable String newPackage) { in broadcastSmsAppChange() argument
687 getApplicationForPackage(apps, oldPackage), in broadcastSmsAppChange()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4505 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument
4513 return vpn.prepare(oldPackage, newPackage, VpnManager.TYPE_VPN_SERVICE); in prepareVpn()