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.java178 PackageInfo oldPackage = null; in updateCurrentWebViewPackage() local
182 oldPackage = mCurrentWebViewPackage; in updateCurrentWebViewPackage()
190 providerChanged = (oldPackage == null) in updateCurrentWebViewPackage()
191 || !newPackage.packageName.equals(oldPackage.packageName); in updateCurrentWebViewPackage()
205 if (providerChanged && oldPackage != null) { in updateCurrentWebViewPackage()
206 mSystemInterface.killPackageDependents(oldPackage.packageName); in updateCurrentWebViewPackage()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java673 public synchronized boolean prepare(String oldPackage, String newPackage) { in prepare() argument
674 if (oldPackage != null) { in prepare()
676 if (mAlwaysOn && !isCurrentPreparedPackage(oldPackage)) { in prepare()
681 if (!isCurrentPreparedPackage(oldPackage)) { in prepare()
684 if (!oldPackage.equals(VpnConfig.LEGACY_VPN) && isVpnUserPreConsented(oldPackage)) { in prepare()
685 prepareInternal(oldPackage); in prepare()
689 } else if (!oldPackage.equals(VpnConfig.LEGACY_VPN) in prepare()
690 && !isVpnUserPreConsented(oldPackage)) { 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()
3026 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged() argument
3030 oldPackage, allPackageNames, permissionCallback); in revokeRuntimePermissionsIfGroupChanged()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl125 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java16782 PackageParser.Package oldPackage = mPackages.get(packageName);
16785 PackageSetting deletedPkgSetting = (PackageSetting) oldPackage.mExtras;
16791 removePackageLI(oldPackage, true);
16792 if (!disableSystemPackageLPw(oldPackage, pkg)) {
16797 oldPackage.applicationInfo.getCodePath(),
16798 oldPackage.applicationInfo.getResourcePath(),
16799 getAppDexInstructionSets(oldPackage.applicationInfo));
16807 final int deletedChildCount = (oldPackage.childPackages != null)
16808 ? oldPackage.childPackages.size() : 0;
16812 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/java/com/android/internal/telephony/
DSmsApplication.java675 UserHandle userHandle, @Nullable String oldPackage, @Nullable String newPackage) { in broadcastSmsAppChange() argument
679 getApplicationForPackage(apps, oldPackage), in broadcastSmsAppChange()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4278 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument
4286 return vpn.prepare(oldPackage, newPackage); in prepareVpn()