Home
last modified time | relevance | path

Searched refs:installLocation (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java144 int installLocation, long sizeBytes, TestableInterface testInterface) in resolveInstallVolume() argument
148 params.installLocation = installLocation; in resolveInstallVolume()
165 return resolveInstallVolume(context, params.appPackageName, params.installLocation, in resolveInstallVolume()
220 && params.installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) { in resolveInstallVolume()
278 int installLocation, long sizeBytes, int installFlags) { in resolveInstallLocation() argument
281 params.installLocation = installLocation; in resolveInstallLocation()
314 } else if (params.installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) { in resolveInstallLocation()
317 } else if (params.installLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL) { in resolveInstallLocation()
320 } else if (params.installLocation == PackageInfo.INSTALL_LOCATION_AUTO) { in resolveInstallLocation()
/frameworks/base/core/java/android/content/pm/
DPackageInfoLite.java84 public int installLocation; field in PackageInfoLite
109 dest.writeInt(installLocation); in writeToParcel()
140 installLocation = source.readInt(); in PackageInfoLite()
DPackageInstaller.java1288 public int installLocation = PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY; field in PackageInstaller.SessionParams
1344 installLocation = source.readInt(); in SessionParams()
1367 ret.installLocation = installLocation; in copy()
1413 public void setInstallLocation(int installLocation) { in setInstallLocation() argument
1414 this.installLocation = installLocation; in setInstallLocation()
1716 pw.printPair("installLocation", installLocation); in dump()
1744 dest.writeInt(installLocation); in writeToParcel()
1860 public int installLocation; field in PackageInstaller.SessionInfo
1919 installLocation = source.readInt(); in SessionInfo()
2084 return installLocation; in getInstallLocation()
[all …]
DPackageInfo.java329 public int installLocation = INSTALL_LOCATION_INTERNAL_ONLY; field in PackageInfo
471 dest.writeInt(installLocation); in writeToParcel()
535 installLocation = source.readInt(); in PackageInfo()
DApplicationInfo.java1081 public int installLocation = PackageInfo.INSTALL_LOCATION_UNSPECIFIED; field in ApplicationInfo
1582 installLocation = orig.installLocation; in ApplicationInfo()
1661 dest.writeInt(installLocation); in writeToParcel()
1737 installLocation = source.readInt(); in ApplicationInfo()
DPackageParser.java375 public final int installLocation; field in PackageParser.PackageLite
418 this.installLocation = baseApk.installLocation; in PackageLite()
460 public final int installLocation; field in PackageParser.ApkLite
478 int revisionCode, int installLocation, List<VerifierInfo> verifiers, in ApkLite() argument
492 this.installLocation = installLocation; in ApkLite()
679 pi.installLocation = p.installLocation; in generatePackageInfo()
1715 int installLocation = PARSE_DEFAULT_INSTALL_LOCATION; in parseApkLite() local
1736 installLocation = attrs.getAttributeIntValue(i, in parseApkLite()
1824 revisionCode, installLocation, verifiers, signingDetails, coreApp, debuggable, in parseApkLite()
2023 pkg.installLocation = sa.getInteger( in parseBaseApkCommon()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java196 appInfo.installLocation = location; in testGetCandidateVolumes_3rdParty_internalOnly()
222 appInfo.installLocation = location; in testGetCandidateVolumes_3rdParty_auto()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java206 assertEquals(a.installLocation, b.installLocation); in assertPackagesEqual()
409 assertEquals(a.installLocation, that.installLocation); in assertApplicationInfoEqual()
443 pkg.installLocation = 100; in setKnownFields()
DPackageInstallerSessionTest.java254 assertEquals(expected.installLocation, actual.installLocation); in assertSessionParamsEquivalent()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java830 assertInstall(ip.pkg, flags, ip.pkg.installLocation); in sampleReplaceFromRawResource()
1082 assertInstall(rp.pkg, replaceFlags, rp.pkg.installLocation); in testManifestInstallLocationReplaceInternalSdcard()
1109 assertInstall(rp.pkg, replaceFlags, ip.pkg.installLocation); in testManifestInstallLocationReplaceSdcardInternal()
1718 assertInstall(ip.pkg, iFlags, ip.pkg.installLocation); in testInstallDeclaresPermissions()
1728 assertInstall(ip2.pkg, i2Flags, ip2.pkg.installLocation); in testInstallDeclaresPermissions()
1748 assertInstall(ip.pkg, iFlags, ip.pkg.installLocation); in testInstallDeclaresPermissions()
1778 assertInstall(ip2.pkg, i2Flags, ip2.pkg.installLocation); in testInstallDeclaresPermissions()
1787 assertInstall(ip.pkg, iFlags, ip.pkg.installLocation); in testInstallDeclaresPermissions()
1796 assertInstall(ip2.pkg, i2Flags, ip2.pkg.installLocation); in testInstallDeclaresPermissions()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java765 pkg.packageName, pkg.installLocation, sizeBytes, flags); in getMinimalPackageInfo()
773 ret.installLocation = pkg.installLocation; in getMinimalPackageInfo()
DPackageInstallerSession.java486 info.installLocation = params.installLocation; in generateInfo()
2414 writeIntAttribute(out, ATTR_INSTALL_LOCATION, params.installLocation); in write()
2510 params.installLocation = readIntAttribute(in, ATTR_INSTALL_LOCATION); in readFromXml()
DPackageManagerShellCommand.java2459 sessionParams.installLocation = Integer.parseInt(getNextArg()); in makeInstallParams()
DPackageManagerService.java15101 int installLocation = pkgLite.installLocation;
15155 if (installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) {
15158 … } else if (installLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL) {
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java147 params.setInstallLocation(pkg.installLocation); in onCreate()
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp430 const int32_t* installLocation = nullptr; member in aapt::Manifest
448 installLocation = GetAttributeInteger(FindAttribute(manifest, INSTALL_LOCATION_ATTR)); in Extract()
475 if (installLocation) { in Print()
476 switch (*installLocation) { in Print()
/frameworks/base/tools/aapt/
DCommand.cpp1285 int32_t installLocation = AaptXml::getResolvedIntegerAttribute(res, tree, in doDump() local
1294 if (installLocation >= 0) { in doDump()
1296 switch (installLocation) { in doDump()
1307 fprintf(stderr, "Invalid installLocation %d\n", installLocation); in doDump()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2179 && (app.installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY in isPackageCandidateVolume()
2180 || app.installLocation == PackageInfo.INSTALL_LOCATION_UNSPECIFIED)) { in isPackageCandidateVolume()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...