Lines Matching refs:installFlags
8073 int installFlags, String installerPackageName, VerificationParams verificationParams,
8075 installPackageAsUser(originPath, observer, installFlags, installerPackageName, verificationParams,
8081 int installFlags, String installerPackageName, VerificationParams verificationParams,
8099 installFlags |= PackageManager.INSTALL_FROM_ADB;
8105 installFlags &= ~PackageManager.INSTALL_FROM_ADB;
8106 installFlags &= ~PackageManager.INSTALL_ALL_USERS;
8110 if ((installFlags & PackageManager.INSTALL_ALL_USERS) != 0) {
8122 msg.obj = new InstallParams(origin, observer, installFlags,
8141 msg.obj = new InstallParams(origin, observer, params.installFlags,
8500 private boolean isVerificationEnabled(int userId, int installFlags) {
8508 if ((installFlags & PackageManager.INSTALL_FROM_ADB) != 0) {
8903 int installFlags;
8910 InstallParams(OriginInfo origin, IPackageInstallObserver2 observer, int installFlags,
8916 this.installFlags = installFlags;
8938 boolean onSd = (installFlags & PackageManager.INSTALL_EXTERNAL) != 0;
8943 if ((installFlags & PackageManager.INSTALL_REPLACE_EXISTING) != 0) {
8945 if ((installFlags & PackageManager.INSTALL_ALLOW_DOWNGRADE) == 0) {
9005 installFlags |= PackageManager.INSTALL_INTERNAL;
9006 installFlags &= ~PackageManager.INSTALL_EXTERNAL;
9008 installFlags |= PackageManager.INSTALL_EXTERNAL;
9009 installFlags &= ~PackageManager.INSTALL_INTERNAL;
9015 final boolean onSd = (installFlags & PackageManager.INSTALL_EXTERNAL) != 0;
9016 final boolean onInt = (installFlags & PackageManager.INSTALL_INTERNAL) != 0;
9025 pkgLite = mContainerService.getMinimalPackageInfo(origin.resolvedPath, installFlags,
9044 installFlags, packageAbiOverride);
9085 installFlags |= PackageManager.INSTALL_EXTERNAL;
9086 installFlags &= ~PackageManager.INSTALL_INTERNAL;
9090 installFlags |= PackageManager.INSTALL_INTERNAL;
9091 installFlags &= ~PackageManager.INSTALL_EXTERNAL;
9107 && ((installFlags & PackageManager.INSTALL_FROM_ADB) != 0)) {
9118 && isVerificationEnabled(userIdentifier, installFlags)) {
9144 installFlags);
9261 return (installFlags & PackageManager.INSTALL_FORWARD_LOCK) != 0;
9268 * @param installFlags package installation flags
9271 private static boolean installOnSd(int installFlags) {
9272 if ((installFlags & PackageManager.INSTALL_INTERNAL) != 0) {
9275 if ((installFlags & PackageManager.INSTALL_EXTERNAL) != 0) {
9284 * @param installFlags package installation flags
9287 private static boolean installForwardLocked(int installFlags) {
9288 return (installFlags & PackageManager.INSTALL_FORWARD_LOCK) != 0;
9292 if (installOnSd(params.installFlags) || params.isForwardLocked()) {
9303 private InstallArgs createInstallArgsForExisting(int installFlags, String codePath,
9306 if (installOnSd(installFlags)) {
9309 } else if (installForwardLocked(installFlags)
9322 installOnSd(installFlags), installForwardLocked(installFlags));
9335 final int installFlags;
9346 InstallArgs(OriginInfo origin, IPackageInstallObserver2 observer, int installFlags,
9350 this.installFlags = installFlags;
9401 return (installFlags & PackageManager.INSTALL_FORWARD_LOCK) != 0;
9405 return (installFlags & PackageManager.INSTALL_EXTERNAL) != 0;
9431 super(params.origin, params.observer, params.installFlags,
9692 super(params.origin, params.observer, params.installFlags,
10525 final int installFlags = args.installFlags;
10528 boolean forwardLocked = ((installFlags & PackageManager.INSTALL_FORWARD_LOCK) != 0);
10529 boolean onSd = ((installFlags & PackageManager.INSTALL_EXTERNAL) != 0);
10557 if ((installFlags & PackageManager.INSTALL_ALLOW_TEST) == 0) {
10596 if ((installFlags & PackageManager.INSTALL_REPLACE_EXISTING) != 0) {
10779 int installFlags = 0;
10781 installFlags |= PackageManager.INSTALL_EXTERNAL;
10784 installFlags |= PackageManager.INSTALL_FORWARD_LOCK;
10786 return installFlags;