Home
last modified time | relevance | path

Searched refs:PackageHelper (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java27 import com.android.internal.content.PackageHelper;
104 private static final class MockedInterface extends PackageHelper.TestableInterface {
165 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
171 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
177 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
183 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
193 PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
203 PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
213 PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
223 PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
[all …]
DPackageManagerTests.java64 import com.android.internal.content.PackageHelper;
96 private static final int APP_INSTALL_AUTO = PackageHelper.APP_INSTALL_AUTO;
98 private static final int APP_INSTALL_DEVICE = PackageHelper.APP_INSTALL_INTERNAL;
100 private static final int APP_INSTALL_SDCARD = PackageHelper.APP_INSTALL_EXTERNAL;
1206 setInstallLoc(PackageHelper.APP_INSTALL_AUTO); in moveFromRawResource()
1295 setInstallLoc(PackageHelper.APP_INSTALL_AUTO); in testMoveAppFailInternalToExternalDelete()
1509 if (userSetting == PackageHelper.APP_INSTALL_AUTO) { in getExpectedInstallLocation()
1511 } else if (userSetting == PackageHelper.APP_INSTALL_EXTERNAL) { in getExpectedInstallLocation()
1513 } else if (userSetting == PackageHelper.APP_INSTALL_INTERNAL) { in getExpectedInstallLocation()
1544 int userSetting = PackageHelper.APP_INSTALL_INTERNAL; in testExistingIUserI()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java56 public class PackageHelper { class
353 ? PackageHelper.RECOMMEND_INSTALL_EPHEMERAL in resolveInstallLocation()
354 : PackageHelper.RECOMMEND_INSTALL_INTERNAL; in resolveInstallLocation()
358 return PackageHelper.RECOMMEND_INSTALL_EXTERNAL; in resolveInstallLocation()
364 return PackageHelper.RECOMMEND_INSTALL_INTERNAL; in resolveInstallLocation()
366 return PackageHelper.RECOMMEND_INSTALL_EXTERNAL; in resolveInstallLocation()
370 return PackageHelper.RECOMMEND_FAILED_INSUFFICIENT_STORAGE; in resolveInstallLocation()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java59 import com.android.internal.content.PackageHelper;
742 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_APK; in getMinimalPackageInfo()
751 sizeBytes = PackageHelper.calculateInstalledSize(pkg, abiOverride); in getMinimalPackageInfo()
756 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_URI; in getMinimalPackageInfo()
758 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_APK; in getMinimalPackageInfo()
764 final int recommendedInstallLocation = PackageHelper.resolveInstallLocation(context, in getMinimalPackageInfo()
792 return PackageHelper.calculateInstalledSize(pkg, abiOverride); in calculateInstalledSize()
DStagingManager.java57 import com.android.internal.content.PackageHelper;
284 PackageHelper.getStorageManager().abortChanges( in abortCheckpoint()
295 return PackageHelper.getStorageManager().supportsCheckpoint(); in supportsCheckpoint()
299 return PackageHelper.getStorageManager().needsCheckpoint(); in needsCheckpoint()
1024 IStorageManager storageManager = PackageHelper.getStorageManager(); in handlePreRebootVerification_End()
DPackageInstallerService.java78 import com.android.internal.content.PackageHelper;
569 if (!PackageHelper.fitsOnInternal(mContext, params)) { in createSessionInternal()
583 params.volumeUuid = PackageHelper.resolveInstallVolume(mContext, params); in createSessionInternal()
DPackageManagerShellCommand.java98 import com.android.internal.content.PackageHelper;
448 params.sessionParams.setSize(PackageHelper.calculateInstalledSize( in setParamsSize()
1414 if (loc == PackageHelper.APP_INSTALL_AUTO) { in runGetInstallLocation()
1416 } else if (loc == PackageHelper.APP_INSTALL_INTERNAL) { in runGetInstallLocation()
1418 } else if (loc == PackageHelper.APP_INSTALL_EXTERNAL) { in runGetInstallLocation()
DPackageManagerService.java286 import com.android.internal.content.PackageHelper;
9520 IStorageManager sm = PackageHelper.getStorageManager();
14673 return PackageHelper.RECOMMEND_FAILED_WRONG_INSTALLED_VERSION;
14681 return PackageHelper.RECOMMEND_FAILED_WRONG_INSTALLED_VERSION;
14692 return PackageHelper.RECOMMEND_FAILED_VERSION_DOWNGRADE;
14701 return PackageHelper.RECOMMEND_INSTALL_INTERNAL;
14706 return PackageHelper.RECOMMEND_INSTALL_INTERNAL;
14712 return PackageHelper.RECOMMEND_INSTALL_EXTERNAL;
14714 return PackageHelper.RECOMMEND_INSTALL_INTERNAL;
14719 return PackageHelper.RECOMMEND_FAILED_ALREADY_EXISTS;
[all …]
DPackageInstallerSession.java101 import com.android.internal.content.PackageHelper;
721 PackageHelper.translateAllocateFlags(params.installFlags)); in doWriteInternal()
/frameworks/base/core/java/android/content/pm/
DPackageInfoLite.java24 import com.android.internal.content.PackageHelper;
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java38 import com.android.internal.content.PackageHelper;
149 PackageHelper.calculateInstalledSize(pkg, false, params.abiOverride)); in onCreate()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java49 import com.android.internal.content.PackageHelper;
785 PackageHelper.APP_INSTALL_AUTO); in onUpgrade()
2565 PackageHelper.APP_INSTALL_AUTO); in loadGlobalSettings()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java319 import com.android.internal.content.PackageHelper;
5286 IStorageManager storageManager = PackageHelper.getStorageManager(); in finishBooting()
/frameworks/base/config/
Dboot-image-profile.txt20170 PLcom/android/internal/content/PackageHelper$1;->getAllow3rdPartyOnInternalConfig(Landroid/content/…
20171 PLcom/android/internal/content/PackageHelper$1;->getExistingAppInfo(Landroid/content/Context;Ljava/…
20172 PLcom/android/internal/content/PackageHelper$1;->getForceAllowOnExternalSetting(Landroid/content/Co…
20173 PLcom/android/internal/content/PackageHelper$1;->getStorageManager(Landroid/content/Context;)Landro…
20174 HPLcom/android/internal/content/PackageHelper;->calculateInstalledSize(Landroid/content/pm/PackageP…
20175 HPLcom/android/internal/content/PackageHelper;->calculateInstalledSize(Landroid/content/pm/PackageP…
20176 HPLcom/android/internal/content/PackageHelper;->calculateInstalledSize(Landroid/content/pm/PackageP…
20177 HPLcom/android/internal/content/PackageHelper;->fitsOnInternal(Landroid/content/Context;Landroid/co…
20178 HPLcom/android/internal/content/PackageHelper;->getDefaultTestableInterface()Lcom/android/internal/…
20179 HSPLcom/android/internal/content/PackageHelper;->getStorageManager()Landroid/os/storage/IStorageMan…
[all …]