Searched refs:existingApexPkg (Results 1 – 2 of 2) sorted by relevance
1002 private void checkApexSignature(PackageInfo existingApexPkg, PackageInfo newApexPkg) in checkApexSignature() argument1004 final SigningDetails existingSigningDetails = getSigningDetails(existingApexPkg); in checkApexSignature()1014 private void checkDowngrade(PackageInfo existingApexPkg, PackageInfo newApexPkg) in checkDowngrade() argument1016 final long currentVersionCode = existingApexPkg.applicationInfo.longVersionCode; in checkDowngrade()1040 final PackageInfo existingApexPkg = getPackageInfo(newApexPkg.packageName, in installPackage() local1042 if (existingApexPkg == null) { in installPackage()1047 checkApexSignature(existingApexPkg, newApexPkg); in installPackage()1048 checkDowngrade(existingApexPkg, newApexPkg); in installPackage()1057 if (isFactory(existingApexPkg)) { in installPackage()1058 existingApexPkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_INSTALLED; in installPackage()[all …]
223 final PackageInfo existingApexPkg = mApexManager.getPackageInfo(packageName, in validateApexSignature() local225 if (existingApexPkg == null) { in validateApexSignature()234 existingApexPkg.applicationInfo.sourceDir, SignatureSchemeVersion.JAR); in validateApexSignature()237 "Failed to parse APEX package " + existingApexPkg.applicationInfo.sourceDir in validateApexSignature()