Lines Matching refs:oldPkg
5070 private boolean verifyPackageUpdateLPr(PackageSetting oldPkg, PackageParser.Package newPkg) {
5071 if ((oldPkg.pkgFlags&ApplicationInfo.FLAG_SYSTEM) == 0) {
5072 Slog.w(TAG, "Unable to update from " + oldPkg.name
5076 } else if (mPackages.get(oldPkg.name) != null) {
5077 Slog.w(TAG, "Unable to update from " + oldPkg.name
10370 PackageParser.Package oldPkg;
10374 oldPkg = mPackages.get(packageName);
10376 if((oldPkg == null) || (oldPkg.applicationInfo == null) ||
10384 killApplication(packageName, oldPkg.applicationInfo.uid, "replace sys pkg");
10386 res.removedInfo.uid = oldPkg.applicationInfo.uid;
10447 scanPackageLI(oldPkg, parseFlags, SCAN_UPDATE_SIGNATURE, 0, user);