HomeSort by relevance Sort by last modified time
    Searched refs:PackageHelper (Results 1 - 16 of 16) sorted by null

  /platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
PackageHelper.java 28 public class PackageHelper {
30 public static PackageHelper sInstance = null;
35 public PackageHelper(Instrumentation instrumentation) {
41 public static PackageHelper getInstance(Instrumentation instrumentation) {
43 sInstance = new PackageHelper(instrumentation);
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageHelperTests.java 29 import com.android.internal.content.PackageHelper;
105 private static final class MockedInterface extends PackageHelper.TestableInterface {
183 fullId2 = PackageHelper.createSdDir(1024 * MB_IN_BYTES, fullId, "none",
186 Log.d(TAG, "getSdDir=" + PackageHelper.getSdDir(fullId));
187 PackageHelper.unMountSdDir(fullId);
202 String path = PackageHelper.mountSdDir(fullId, "none",
219 PackageHelper.destroySdDir(fullId);
238 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
244 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
250 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name"
    [all...]
PackageManagerTests.java 65 import com.android.internal.content.PackageHelper;
87 private static final int APP_INSTALL_AUTO = PackageHelper.APP_INSTALL_AUTO;
89 private static final int APP_INSTALL_DEVICE = PackageHelper.APP_INSTALL_INTERNAL;
91 private static final int APP_INSTALL_SDCARD = PackageHelper.APP_INSTALL_EXTERNAL;
    [all...]
  /frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java 49 import com.android.internal.content.PackageHelper;
161 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_APK;
170 sizeBytes = PackageHelper.calculateInstalledSize(pkg, isForwardLocked, abiOverride);
175 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_URI;
177 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_APK;
186 recommendedInstallLocation = PackageHelper.resolveInstallLocation(context,
260 return PackageHelper.calculateInstalledSize(pkg, isForwardLocked, abiOverride);
322 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle,
326 final String newMountPath = PackageHelper.createSdDir(sizeBytes, newCid, key,
351 if (!PackageHelper.finalizeSdDir(newCid))
    [all...]
  /frameworks/base/core/java/com/android/internal/content/
PackageHelper.java 62 public class PackageHelper {
75 private static final String TAG = "PackageHelper";
619 ? PackageHelper.RECOMMEND_INSTALL_EPHEMERAL
620 : PackageHelper.RECOMMEND_INSTALL_INTERNAL;
624 return PackageHelper.RECOMMEND_INSTALL_EXTERNAL;
630 return PackageHelper.RECOMMEND_INSTALL_INTERNAL;
632 return PackageHelper.RECOMMEND_INSTALL_EXTERNAL;
636 return PackageHelper.RECOMMEND_FAILED_INSUFFICIENT_STORAGE;
660 sizeBytes += PackageHelper.extractPublicFiles(codeFile, null);
  /frameworks/base/core/java/android/content/pm/
PackageInfoLite.java 22 import com.android.internal.content.PackageHelper;
58 * {@link #PackageHelper.RECOMMEND_INSTALL_INTERNAL} to install on internal storage
59 * {@link #PackageHelper.RECOMMEND_INSTALL_EXTERNAL} to install on external media
60 * {@link PackageHelper.RECOMMEND_FAILED_INSUFFICIENT_STORAGE} for storage errors
61 * {@link PackageHelper.RECOMMEND_FAILED_INVALID_APK} for parse errors.
  /platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
GenericAppPermissionTests.java 28 import android.system.helpers.PackageHelper;
46 private PackageHelper pkgHelper = null;
67 pkgHelper = PackageHelper.getInstance(getInstrumentation());
  /frameworks/base/services/core/java/com/android/server/pm/
PackageInstallerSession.java 73 import com.android.internal.content.PackageHelper;
345 final String path = PackageHelper.getSdDir(stageCid);
474 PackageHelper.translateAllocateFlags(params.installFlags));
    [all...]
PackageInstallerService.java 92 import com.android.internal.content.PackageHelper;
288 for (String cid : PackageHelper.getSecureContainerList()) {
301 PackageHelper.mountSdDir(cid, PackageManagerService.getEncryptKey(),
309 PackageHelper.destroySdDir(cid);
658 if (!PackageHelper.fitsOnInternal(mContext, params)) {
663 if (!PackageHelper.fitsOnExternal(mContext, params)) {
681 params.volumeUuid = PackageHelper.resolveInstallVolume(mContext, params);
    [all...]
PackageManagerService.java 248 import com.android.internal.content.PackageHelper;
    [all...]
PackageManagerShellCommand.java 59 import com.android.internal.content.PackageHelper;
179 params.sessionParams.setSize(PackageHelper.calculateInstalledSize(
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
InstallInstalling.java 36 import com.android.internal.content.PackageHelper;
126 PackageHelper.calculateInstalledSize(pkg, false, params.abiOverride));
  /platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
AccessibilityScannerHelper.java 50 private PackageHelper mPackageHelper = null;
56 mPackageHelper = PackageHelper.getInstance(instr);
  /frameworks/base/cmds/pm/src/com/android/commands/pm/
Pm.java 72 import com.android.internal.content.PackageHelper;
419 PackageHelper.calculateInstalledSize(pkgLite, false,
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 47 import com.android.internal.content.PackageHelper;
789 PackageHelper.APP_INSTALL_AUTO);
    [all...]
  /frameworks/base/
compiled-classes-phone     [all...]

Completed in 410 milliseconds