/frameworks/base/services/core/java/com/android/server/pm/ |
D | VerifyingSession.java | 183 PackageInfoLite pkgLite = PackageManagerServiceUtils.getMinimalPackageInfo(mPm.mContext, in handleStartVerify() local 187 pkgLite, mRequiredInstalledVersionCode, mInstallFlags); in handleStartVerify() 200 sendApkVerificationRequest(pkgLite); in handleStartVerify() 213 private void sendApkVerificationRequest(PackageInfoLite pkgLite) { in sendApkVerificationRequest() argument 220 sendIntegrityVerificationRequest(verificationId, pkgLite, verificationState); in sendApkVerificationRequest() 222 verificationId, pkgLite, verificationState); in sendApkVerificationRequest() 278 PackageInfoLite pkgLite, in sendIntegrityVerificationRequest() argument 299 integrityVerification.putExtra(EXTRA_PACKAGE_NAME, pkgLite.packageName); in sendIntegrityVerificationRequest() 300 integrityVerification.putExtra(EXTRA_VERSION_CODE, pkgLite.versionCode); in sendIntegrityVerificationRequest() 301 integrityVerification.putExtra(EXTRA_LONG_VERSION_CODE, pkgLite.getLongVersionCode()); in sendIntegrityVerificationRequest() [all …]
|
D | InstallingSession.java | 244 PackageInfoLite pkgLite = PackageManagerServiceUtils.getMinimalPackageInfo(mPm.mContext, in handleStartCopy() local 252 pkgLite, mRequiredInstalledVersionCode, mInstallFlags); in handleStartCopy() 262 Slog.v(TAG, "pkgLite for install: " + pkgLite); in handleStartCopy() 265 if (!mOriginInfo.mStaged && pkgLite.recommendedInstallLocation in handleStartCopy() 269 pkgLite.recommendedInstallLocation = mPm.freeCacheForInstallation( in handleStartCopy() 270 pkgLite.recommendedInstallLocation, mPackageLite, in handleStartCopy() 273 mRet = overrideInstallLocation(pkgLite.packageName, pkgLite.recommendedInstallLocation, in handleStartCopy() 274 pkgLite.installLocation); in handleStartCopy()
|
D | FreeStorageHelper.java | 185 int freeCacheForInstallation(int recommendedInstallLocation, PackageLite pkgLite, in freeCacheForInstallation() argument 197 mContext, pkgLite, resolvedPath, installFlags, in freeCacheForInstallation()
|
D | InstallPackageHelper.java | 2622 Pair<Integer, String> verifyReplacingVersionCode(PackageInfoLite pkgLite, in verifyReplacingVersionCode() argument 2626 pkgLite, requiredInstalledVersionCode, installFlags); in verifyReplacingVersionCode() 2629 String packageName = pkgLite.packageName; in verifyReplacingVersionCode() 2669 PackageManagerServiceUtils.checkDowngrade(dataOwnerPkg, pkgLite); in verifyReplacingVersionCode() 2687 PackageManagerServiceUtils.checkDowngrade(dataOwnerPkg, pkgLite); in verifyReplacingVersionCode() 2704 private Pair<Integer, String> verifyReplacingVersionCodeForApex(PackageInfoLite pkgLite, in verifyReplacingVersionCodeForApex() argument 2706 String packageName = pkgLite.packageName; in verifyReplacingVersionCodeForApex() 2728 final long newVersionCode = pkgLite.getLongVersionCode(); in verifyReplacingVersionCodeForApex()
|
D | PackageManagerService.java | 2925 int freeCacheForInstallation(int recommendedInstallLocation, PackageLite pkgLite, 2927 return mFreeStorageHelper.freeCacheForInstallation(recommendedInstallLocation, pkgLite, 8109 Pair<Integer, String> verifyReplacingVersionCode(@NonNull PackageInfoLite pkgLite, in verifyReplacingVersionCode() argument 8113 pkgLite, requiredInstalledVersionCode, installFlags); in verifyReplacingVersionCode()
|
D | PackageManagerShellCommand.java | 699 final PackageLite pkgLite = new PackageLite(null, apkLite.getPath(), apkLite, in setParamsSize() local 705 sessionSize += InstallLocationUtils.calculateInstalledSize(pkgLite, in setParamsSize()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexMetadataHelperTest.java | 423 final PackageLite pkgLite = new PackageLite(null, baseApk.getPath(), baseApk, in testPackageSizeWithPartialPackageLite() local 428 Assert.assertEquals(dm.length(), DexMetadataHelper.getPackageDexMetadataSize(pkgLite)); in testPackageSizeWithPartialPackageLite()
|