Home
last modified time | relevance | path

Searched refs:recommendedInstallLocation (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageInfoLite.java93 public int recommendedInstallLocation; field in PackageInfoLite
118 dest.writeInt(recommendedInstallLocation); in writeToParcel()
150 recommendedInstallLocation = source.readInt(); in PackageInfoLite()
/frameworks/base/services/core/java/com/android/server/pm/
DFreeStorageHelper.java185 int freeCacheForInstallation(int recommendedInstallLocation, PackageLite pkgLite, in freeCacheForInstallation() argument
200 if (pkgInfoLite.recommendedInstallLocation in freeCacheForInstallation()
202 pkgInfoLite.recommendedInstallLocation = in freeCacheForInstallation()
205 return pkgInfoLite.recommendedInstallLocation; in freeCacheForInstallation()
210 return recommendedInstallLocation; in freeCacheForInstallation()
DInstallingSession.java194 private int overrideInstallLocation(String packageName, int recommendedInstallLocation, in overrideInstallLocation() argument
204 if (recommendedInstallLocation < 0) { in overrideInstallLocation()
205 return InstallLocationUtils.getInstallationErrorCode(recommendedInstallLocation); in overrideInstallLocation()
213 recommendedInstallLocation = InstallLocationUtils.installLocationPolicy( in overrideInstallLocation()
214 installLocation, recommendedInstallLocation, mInstallFlags, in overrideInstallLocation()
222 if (recommendedInstallLocation == InstallLocationUtils.RECOMMEND_INSTALL_EXTERNAL) { in overrideInstallLocation()
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()
DPackageManagerServiceUtils.java903 ret.recommendedInstallLocation = InstallLocationUtils.RECOMMEND_FAILED_INVALID_APK; in getMinimalPackageInfo()
914 ret.recommendedInstallLocation = in getMinimalPackageInfo()
917 ret.recommendedInstallLocation = in getMinimalPackageInfo()
933 final int recommendedInstallLocation; in getMinimalPackageInfo() local
935 recommendedInstallLocation = InstallLocationUtils.resolveInstallLocation(context, in getMinimalPackageInfo()
948 ret.recommendedInstallLocation = recommendedInstallLocation; in getMinimalPackageInfo()
DPackageManagerService.java2925 int freeCacheForInstallation(int recommendedInstallLocation, PackageLite pkgLite,
2927 return mFreeStorageHelper.freeCacheForInstallation(recommendedInstallLocation, pkgLite,
/frameworks/base/core/java/com/android/internal/content/
DInstallLocationUtils.java481 public static int installLocationPolicy(int installLocation, int recommendedInstallLocation, in installLocationPolicy() argument
497 return recommendedInstallLocation; in installLocationPolicy()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12284 Landroid/content/pm/PackageInfoLite;->recommendedInstallLocation:I