Home
last modified time | relevance | path

Searched refs:installFlags (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java871 public int installFlags; field in PackageInstaller.SessionParams
905 installFlags = source.readInt(); in SessionParams()
989 installFlags |= PackageManager.INSTALL_INTERNAL; in setInstallFlagsInternal()
990 installFlags &= ~PackageManager.INSTALL_EXTERNAL; in setInstallFlagsInternal()
995 installFlags |= PackageManager.INSTALL_EXTERNAL; in setInstallFlagsExternal()
996 installFlags &= ~PackageManager.INSTALL_INTERNAL; in setInstallFlagsExternal()
1002 pw.printHexPair("installFlags", installFlags); in dump()
1022 dest.writeInt(installFlags); in writeToParcel()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java862 int installFlags = 0; in runInstall() local
874 installFlags |= PackageManager.INSTALL_FORWARD_LOCK; in runInstall()
876 installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in runInstall()
884 installFlags |= PackageManager.INSTALL_ALLOW_TEST; in runInstall()
887 installFlags |= PackageManager.INSTALL_EXTERNAL; in runInstall()
890 installFlags |= PackageManager.INSTALL_INTERNAL; in runInstall()
892 installFlags |= PackageManager.INSTALL_ALLOW_DOWNGRADE; in runInstall()
917 installFlags |= PackageManager.INSTALL_ALL_USERS; in runInstall()
958 mPm.installPackageAsUser(apkFilePath, obs.getBinder(), installFlags, in runInstall()
994 params.installFlags |= PackageManager.INSTALL_FORWARD_LOCK; in runInstallCreate()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java372 params.installFlags = readIntAttribute(in, ATTR_INSTALL_FLAGS); in readSessionLocked()
443 writeIntAttribute(out, ATTR_INSTALL_FLAGS, params.installFlags); in writeSessionLocked()
509 params.installFlags |= PackageManager.INSTALL_FROM_ADB; in createSessionInternal()
514 params.installFlags &= ~PackageManager.INSTALL_FROM_ADB; in createSessionInternal()
515 params.installFlags &= ~PackageManager.INSTALL_ALL_USERS; in createSessionInternal()
516 params.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in createSessionInternal()
539 params.installFlags); in createSessionInternal()
576 if ((params.installFlags & PackageManager.INSTALL_INTERNAL) != 0) { in createSessionInternal()
DPackageManagerService.java8050 int installFlags, String installerPackageName, VerificationParams verificationParams, in installPackage() argument
8052 … installPackageAsUser(originPath, observer, installFlags, installerPackageName, verificationParams, in installPackage()
8058 int installFlags, String installerPackageName, VerificationParams verificationParams, in installPackageAsUser() argument
8076 installFlags |= PackageManager.INSTALL_FROM_ADB; in installPackageAsUser()
8082 installFlags &= ~PackageManager.INSTALL_FROM_ADB; in installPackageAsUser()
8083 installFlags &= ~PackageManager.INSTALL_ALL_USERS; in installPackageAsUser()
8087 if ((installFlags & PackageManager.INSTALL_ALL_USERS) != 0) { in installPackageAsUser()
8099 msg.obj = new InstallParams(origin, observer, installFlags, in installPackageAsUser()
8118 msg.obj = new InstallParams(origin, observer, params.installFlags, in installStage()
8477 private boolean isVerificationEnabled(int userId, int installFlags) { in isVerificationEnabled() argument
[all …]
DPackageInstallerSession.java545 if ((params.installFlags & PackageManager.INSTALL_ALL_USERS) != 0) { in commitLocked()
729 (params.installFlags & PackageManager.INSTALL_FORWARD_LOCK) != 0; in calculateInstalledSize()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java341 int installLocation, long sizeBytes, int installFlags) { in resolveInstallLocation() argument
351 if ((installFlags & PackageManager.INSTALL_INTERNAL) != 0) { in resolveInstallLocation()
354 } else if ((installFlags & PackageManager.INSTALL_EXTERNAL) != 0) { in resolveInstallLocation()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java1709 private void moveFromRawResource(String outFileName, int rawResId, int installFlags, in moveFromRawResource() argument
1716 ip = installFromRawResource("install.apk", rawResId, installFlags, false, in moveFromRawResource()
1760 private void sampleMoveFromRawResource(int installFlags, int moveFlags, boolean fail, in sampleMoveFromRawResource() argument
1763 R.raw.install, installFlags, moveFlags, true, in sampleMoveFromRawResource()
1774 int installFlags = PackageManager.INSTALL_INTERNAL; in testMoveAppInternalToExternal() local
1778 sampleMoveFromRawResource(installFlags, moveFlags, fail, result); in testMoveAppInternalToExternal()
1783 int installFlags = PackageManager.INSTALL_INTERNAL; in testMoveAppInternalToInternal() local
1787 sampleMoveFromRawResource(installFlags, moveFlags, fail, result); in testMoveAppInternalToInternal()
1797 int installFlags = PackageManager.INSTALL_EXTERNAL; in testMoveAppExternalToExternal() local
1801 sampleMoveFromRawResource(installFlags, moveFlags, fail, result); in testMoveAppExternalToExternal()
[all …]