Home
last modified time | relevance | path

Searched refs:existingApexPkg (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java1002 private void checkApexSignature(PackageInfo existingApexPkg, PackageInfo newApexPkg) in checkApexSignature() argument
1004 final SigningDetails existingSigningDetails = getSigningDetails(existingApexPkg); in checkApexSignature()
1014 private void checkDowngrade(PackageInfo existingApexPkg, PackageInfo newApexPkg) in checkDowngrade() argument
1016 final long currentVersionCode = existingApexPkg.applicationInfo.longVersionCode; in checkDowngrade()
1040 final PackageInfo existingApexPkg = getPackageInfo(newApexPkg.packageName, in installPackage() local
1042 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 …]
DStagingManager.java223 final PackageInfo existingApexPkg = mApexManager.getPackageInfo(packageName, in validateApexSignature() local
225 if (existingApexPkg == null) { in validateApexSignature()
234 existingApexPkg.applicationInfo.sourceDir, SignatureSchemeVersion.JAR); in validateApexSignature()
237 "Failed to parse APEX package " + existingApexPkg.applicationInfo.sourceDir in validateApexSignature()