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.java67 import com.android.internal.content.PackageHelper;
99 private static final int APP_INSTALL_AUTO = PackageHelper.APP_INSTALL_AUTO;
101 private static final int APP_INSTALL_DEVICE = PackageHelper.APP_INSTALL_INTERNAL;
103 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
399 ? PackageHelper.RECOMMEND_INSTALL_EPHEMERAL in resolveInstallLocation()
400 : PackageHelper.RECOMMEND_INSTALL_INTERNAL; in resolveInstallLocation()
404 return PackageHelper.RECOMMEND_INSTALL_EXTERNAL; in resolveInstallLocation()
410 return PackageHelper.RECOMMEND_INSTALL_INTERNAL; in resolveInstallLocation()
412 return PackageHelper.RECOMMEND_INSTALL_EXTERNAL; in resolveInstallLocation()
416 return PackageHelper.RECOMMEND_FAILED_INSUFFICIENT_STORAGE; in resolveInstallLocation()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java63 import com.android.internal.content.PackageHelper;
812 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_APK; in getMinimalPackageInfo()
821 sizeBytes = PackageHelper.calculateInstalledSize(pkg, abiOverride); in getMinimalPackageInfo()
826 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_URI; in getMinimalPackageInfo()
828 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_APK; in getMinimalPackageInfo()
834 final int recommendedInstallLocation = PackageHelper.resolveInstallLocation(context, in getMinimalPackageInfo()
863 return PackageHelper.calculateInstalledSize(pkg, abiOverride); in calculateInstalledSize()
DStagingManager.java69 import com.android.internal.content.PackageHelper;
402 PackageHelper.getStorageManager().abortChanges( in abortCheckpoint()
416 return PackageHelper.getStorageManager().supportsCheckpoint(); in supportsCheckpoint()
420 return PackageHelper.getStorageManager().needsCheckpoint(); in needsCheckpoint()
1489 IStorageManager storageManager = PackageHelper.getStorageManager(); in handlePreRebootVerification_End()
DPackageInstallerService.java78 import com.android.internal.content.PackageHelper;
633 if (!PackageHelper.fitsOnInternal(mContext, params)) { in createSessionInternal()
647 params.volumeUuid = PackageHelper.resolveInstallVolume(mContext, params); in createSessionInternal()
DPackageManagerShellCommand.java104 import com.android.internal.content.PackageHelper;
532 sessionSize += PackageHelper.calculateInstalledSize(pkgLite, in setParamsSize()
1561 if (loc == PackageHelper.APP_INSTALL_AUTO) { in runGetInstallLocation()
1563 } else if (loc == PackageHelper.APP_INSTALL_INTERNAL) { in runGetInstallLocation()
1565 } else if (loc == PackageHelper.APP_INSTALL_EXTERNAL) { in runGetInstallLocation()
DPackageInstallerSession.java131 import com.android.internal.content.PackageHelper;
988 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;
786 PackageHelper.APP_INSTALL_AUTO); in onUpgrade()
2537 PackageHelper.APP_INSTALL_AUTO); in loadGlobalSettings()
/frameworks/base/config/
Dpreloaded-classes8104 com.android.internal.content.PackageHelper$1
8105 com.android.internal.content.PackageHelper$TestableInterface
8106 com.android.internal.content.PackageHelper
Dboot-image-profile.txt27858 PLcom/android/internal/content/PackageHelper$1;->getAllow3rdPartyOnInternalConfig(Landroid/content/…
27859 HPLcom/android/internal/content/PackageHelper$1;->getExistingAppInfo(Landroid/content/Context;Ljava…
27860 PLcom/android/internal/content/PackageHelper$1;->getForceAllowOnExternalSetting(Landroid/content/Co…
27861 PLcom/android/internal/content/PackageHelper$1;->getStorageManager(Landroid/content/Context;)Landro…
27862 HSPLcom/android/internal/content/PackageHelper;->calculateInstalledSize(Landroid/content/pm/Package…
27863 HSPLcom/android/internal/content/PackageHelper;->calculateInstalledSize(Landroid/content/pm/Package…
27864 HPLcom/android/internal/content/PackageHelper;->checkFitOnVolume(Landroid/os/storage/StorageManager…
27865 HPLcom/android/internal/content/PackageHelper;->fitsOnInternal(Landroid/content/Context;Landroid/co…
27866 PLcom/android/internal/content/PackageHelper;->getDefaultTestableInterface()Lcom/android/internal/c…
27867 HSPLcom/android/internal/content/PackageHelper;->getStorageManager()Landroid/os/storage/IStorageMan…
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java321 import com.android.internal.content.PackageHelper;
5510 IStorageManager storageManager = PackageHelper.getStorageManager(); in finishBooting()