Searched refs:installLocation (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DPackageInfoLite.java64 public int installLocation; field in class:PackageInfoLite
88 dest.writeInt(installLocation);
117 installLocation = source.readInt();
H A DPackageInfo.java223 * the {@link android.R.attr#installLocation} attribute.
230 * {@link android.R.attr#installLocation} attribute.
236 * {@link android.R.attr#installLocation} attribute.
242 * {@link android.R.attr#installLocation} attribute.
248 * {@link android.R.attr#installLocation} attribute, one of
252 public int installLocation = INSTALL_LOCATION_INTERNAL_ONLY; field in class:PackageInfo
320 dest.writeInt(installLocation);
369 installLocation = source.readInt();
H A DPackageInstaller.java882 public int installLocation = PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY; field in class:PackageInstaller.SessionParams
921 installLocation = source.readInt();
935 * Provide value of {@link PackageInfo#installLocation}, which may be used
939 public void setInstallLocation(int installLocation) { argument
940 this.installLocation = installLocation;
1073 pw.printPair("installLocation", installLocation);
1096 dest.writeInt(installLocation);
H A DApplicationInfo.java765 public int installLocation = PackageInfo.INSTALL_LOCATION_UNSPECIFIED; field in class:ApplicationInfo
928 installLocation = orig.installLocation;
984 dest.writeInt(installLocation);
1040 installLocation = source.readInt();
H A DPackageParser.java321 public final int installLocation; field in class:PackageParser.PackageLite
353 this.installLocation = baseApk.installLocation;
386 public final int installLocation; field in class:PackageParser.ApkLite
396 int revisionCode, int installLocation, List<VerifierInfo> verifiers,
404 this.installLocation = installLocation;
502 pi.installLocation = p.installLocation;
1439 int installLocation
395 ApkLite(String codePath, String packageName, String splitName, int versionCode, int revisionCode, int installLocation, List<VerifierInfo> verifiers, Signature[] signatures, Certificate[][] certificates, boolean coreApp, boolean multiArch, boolean use32bitAbi, boolean extractNativeLibs) argument
4842 public int installLocation; field in class:PackageParser.Package
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java341 * Given a requested {@link PackageInfo#installLocation} and calculated
350 int installLocation, long sizeBytes) throws IOException {
383 installLocation = PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY;
388 && installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) {
440 * Given a requested {@link PackageInfo#installLocation} and calculated
444 int installLocation, long sizeBytes, int installFlags) {
465 } else if (installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) {
468 } else if (installLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL) {
471 } else if (installLocation == PackageInfo.INSTALL_LOCATION_AUTO) {
349 resolveInstallVolume(Context context, String packageName, int installLocation, long sizeBytes) argument
443 resolveInstallLocation(Context context, String packageName, int installLocation, long sizeBytes, int installFlags) argument
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java187 ret.installLocation = pkg.installLocation;
190 pkg.packageName, pkg.installLocation, sizeBytes, flags);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java853 assertInstall(ip.pkg, flags, ip.pkg.installLocation);
1438 assertInstall(ip.pkg, rFlags, ip.pkg.installLocation);
1465 assertInstall(ip.pkg, iFlags, ip.pkg.installLocation);
1493 assertInstall(rp.pkg, replaceFlags, rp.pkg.installLocation);
1520 assertInstall(rp.pkg, replaceFlags, ip.pkg.installLocation);
2617 assertInstall(ip.pkg, iFlags, ip.pkg.installLocation);
2627 assertInstall(ip2.pkg, i2Flags, ip2.pkg.installLocation);
2647 assertInstall(ip.pkg, iFlags, ip.pkg.installLocation);
2677 assertInstall(ip2.pkg, i2Flags, ip2.pkg.installLocation);
2686 assertInstall(ip.pkg, iFlags, ip.pkg.installLocation);
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java136 private static final String ATTR_INSTALL_LOCATION = "installLocation";
403 params.installLocation = readIntAttribute(in, ATTR_INSTALL_LOCATION);
478 writeIntAttribute(out, ATTR_INSTALL_LOCATION, params.installLocation);
653 params.appPackageName, params.installLocation, params.sizeBytes);
H A DPackageManagerShellCommand.java1084 sessionParams.installLocation = Integer.parseInt(getNextArg());
H A DPackageManagerService.java12877 int installLocation = pkgLite.installLocation;
12942 if (installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) {
12945 } else if (installLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL) {
/frameworks/base/tools/aapt/
H A DCommand.cpp1237 int32_t installLocation = AaptXml::getResolvedIntegerAttribute(res, tree, local
1240 fprintf(stderr, "ERROR getting 'android:installLocation' attribute: %s\n",
1245 if (installLocation >= 0) {
1247 switch (installLocation) {
1258 fprintf(stderr, "Invalid installLocation %d\n", installLocation);
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java1819 && (app.installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY
1820 || app.installLocation == PackageInfo.INSTALL_LOCATION_UNSPECIFIED)) {
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java525 sessionParams.installLocation = Integer.parseInt(nextOptionData());

Completed in 361 milliseconds