/frameworks/base/core/java/com/android/internal/content/ |
D | InstallLocationUtils.java | 177 final int installFlags = translateAllocateFlags(params.installFlags); in checkFitOnVolume() local 180 installFlags | StorageManager.FLAG_ALLOCATE_NON_CACHE_ONLY); in checkFitOnVolume() 185 installFlags | StorageManager.FLAG_ALLOCATE_CACHE_ONLY); in checkFitOnVolume() 279 translateAllocateFlags(params.installFlags)); in resolveInstallVolume() 308 final int flags = translateAllocateFlags(params.installFlags); in fitsOnInternal() 349 if ((params.installFlags & PackageManager.INSTALL_INSTANT_APP) != 0) { in resolveInstallLocation() 353 } else if ((params.installFlags & PackageManager.INSTALL_INTERNAL) != 0) { in resolveInstallLocation() 473 public static int translateAllocateFlags(int installFlags) { in translateAllocateFlags() argument 474 if ((installFlags & PackageManager.INSTALL_ALLOCATE_AGGRESSIVE) != 0) { in translateAllocateFlags() 482 int installFlags, boolean installedPkgIsSystem, boolean installedPackageOnExternal) { in installLocationPolicy() argument [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 2730 public int installFlags = PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS; field in PackageInstaller.SessionParams 2820 installFlags = source.readInt(); in SessionParams() 2861 ret.installFlags = installFlags; in copy() 2906 return (installFlags & (PackageManager.INSTALL_REQUEST_DOWNGRADE in areHiddenOptionsSet() 2912 | PackageManager.INSTALL_ALLOCATE_AGGRESSIVE)) != installFlags in areHiddenOptionsSet() 3013 installFlags |= PackageManager.INSTALL_GRANT_ALL_REQUESTED_PERMISSIONS; in setGrantedRuntimePermissions() 3016 installFlags &= ~PackageManager.INSTALL_GRANT_ALL_REQUESTED_PERMISSIONS; in setGrantedRuntimePermissions() 3128 installFlags |= PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS; in setWhitelistedRestrictedPermissions() 3131 installFlags &= ~PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS; in setWhitelistedRestrictedPermissions() 3190 installFlags |= PackageManager.INSTALL_ENABLE_ROLLBACK; in setEnableRollback() [all …]
|
D | IPackageInstaller.aidl | 62 void installExistingPackage(String packageName, int installFlags, int installReason, in installExistingPackage() argument
|
D | IPackageManager.aidl | 623 int installExistingPackageAsUser(String packageName, int userId, int installFlags, in installExistingPackageAsUser() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 655 params.installFlags &= ~PackageManager.INSTALL_UNARCHIVE_DRAFT; 709 params.installFlags |= PackageManager.INSTALL_FROM_ADB; 727 params.installFlags &= ~PackageManager.INSTALL_FROM_ADB; 728 params.installFlags &= ~PackageManager.INSTALL_ALL_USERS; 729 params.installFlags &= ~PackageManager.INSTALL_ARCHIVED; 730 params.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; 731 if ((params.installFlags & PackageManager.INSTALL_VIRTUAL_PRELOAD) != 0 733 params.installFlags &= ~PackageManager.INSTALL_VIRTUAL_PRELOAD; 737 params.installFlags &= ~PackageManager.INSTALL_ALLOW_TEST; 755 params.installFlags |= PackageManager.INSTALL_ALLOW_DOWNGRADE; [all …]
|
D | InstallArgs.java | 71 int installFlags, int developmentInstallFlags, InstallSource installSource, in InstallArgs() argument 81 mInstallFlags = installFlags; in InstallArgs()
|
D | PackageSessionVerifier.java | 207 if ((session.params.installFlags & PackageManager.INSTALL_ALL_USERS) != 0) { in createVerifyingSession() 308 if ((session.sessionParams().installFlags & PackageManager.INSTALL_ENABLE_ROLLBACK) != 0) { in verifyApex() 484 final int installFlags = session.params.installFlags; in checkApexUpdateAllowed() local 485 if ((installFlags & PackageManager.INSTALL_DISABLE_ALLOWED_APEX_UPDATE_CHECK) != 0) { in checkApexUpdateAllowed()
|
D | InstallPackageHelper.java | 654 @UserIdInt int userId, @PackageManager.InstallFlags int installFlags, in installExistingPackageAsUser() argument 660 + " installFlags=" + installFlags + " installReason=" + installReason in installExistingPackageAsUser() 686 (installFlags & PackageManager.INSTALL_INSTANT_APP) != 0; in installExistingPackageAsUser() 688 (installFlags & PackageManager.INSTALL_FULL_APP) != 0; in installExistingPackageAsUser() 750 if ((installFlags & PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS) in installExistingPackageAsUser() 972 final int installFlags = request.getInstallFlags(); in performRollbackManagerRestore() local 973 boolean doSnapshotOrRestore = ((installFlags & PackageManager.INSTALL_ENABLE_ROLLBACK) != 0 in performRollbackManagerRestore() 974 || (installFlags & PackageManager.INSTALL_REQUEST_DOWNGRADE) != 0); in performRollbackManagerRestore() 1201 final int installFlags = request.getInstallFlags(); in preparePackageLI() local 1203 final boolean instantApp = ((installFlags & PackageManager.INSTALL_INSTANT_APP) != 0); in preparePackageLI() [all …]
|
D | PackageManagerShellCommand.java | 1543 params.sessionParams.installFlags |= PackageManager.INSTALL_ARCHIVED; in runArchivedInstall() 1580 (params.sessionParams.installFlags & PackageManager.INSTALL_APEX) != 0; in doRunInstall() 1582 (params.sessionParams.installFlags & PackageManager.INSTALL_ARCHIVED) != 0; in doRunInstall() 1975 int installFlags = PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS; in runInstallExisting() local 1985 installFlags |= PackageManager.INSTALL_INSTANT_APP; in runInstallExisting() 1986 installFlags &= ~PackageManager.INSTALL_FULL_APP; in runInstallExisting() 1989 installFlags &= ~PackageManager.INSTALL_INSTANT_APP; in runInstallExisting() 1990 installFlags |= PackageManager.INSTALL_FULL_APP; in runInstallExisting() 1996 installFlags &= ~PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS; in runInstallExisting() 2018 installer.installExistingPackage(packageName, installFlags, installReason, in runInstallExisting() [all …]
|
D | MovePackageHelper.java | 172 int installFlags; in movePackageInternal() local 176 installFlags = INSTALL_INTERNAL; in movePackageInternal() 311 installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in movePackageInternal() 319 installObserver, installFlags, /* developmentInstallFlags= */ 0, installSource, in movePackageInternal()
|
D | FreeStorageHelper.java | 186 String resolvedPath, String mPackageAbiOverride, int installFlags) { in freeCacheForInstallation() argument 197 mContext, pkgLite, resolvedPath, installFlags, in freeCacheForInstallation()
|
D | PackageInstallerSession.java | 648 return (params.installFlags & PackageManager.INSTALL_APEX) != 0; in isApexSession() 888 static boolean isArchivedInstallation(int installFlags) { in isArchivedInstallation() argument 889 return (installFlags & PackageManager.INSTALL_ARCHIVED) != 0; in isArchivedInstallation() 951 return isArchivedInstallation(this.params.installFlags); in isArchivedInstallation() 1039 (params.installFlags & PackageManager.INSTALL_FORCE_PERMISSION_PROMPT) != 0 in computeUserActionRequirement() 1092 (params.installFlags & PackageManager.INSTALL_FROM_MANAGED_USER_OR_PROFILE) != 0; in computeUserActionRequirement() 1100 (params.installFlags & PackageManager.INSTALL_UNARCHIVE) != 0; in computeUserActionRequirement() 1364 info.installFlags = params.installFlags; in generateInfoInternal() 1989 InstallLocationUtils.translateAllocateFlags(params.installFlags)); in doWriteInternal() 3205 if ((params.installFlags & PackageManager.INSTALL_ALL_USERS) != 0) { [all …]
|
D | InstallingSession.java | 109 int installFlags, int developmentInstallFlags, InstallSource installSource, in InstallingSession() argument 117 mInstallFlags = installFlags; in InstallingSession() 156 mInstallFlags = sessionParams.installFlags; in InstallingSession()
|
D | PackageManagerServiceUtils.java | 932 sessionParams.installFlags = flags; in getMinimalPackageInfo() 987 public static boolean isDowngradePermitted(int installFlags, boolean isAppDebuggable) { in isDowngradePermitted() argument 1005 (installFlags & PackageManager.INSTALL_REQUEST_DOWNGRADE) != 0; in isDowngradePermitted() 1013 return (installFlags & PackageManager.INSTALL_ALLOW_DOWNGRADE) != 0; in isDowngradePermitted()
|
D | StagingManager.java | 293 (session.sessionParams().installFlags & PackageManager.INSTALL_ENABLE_ROLLBACK) != 0 in snapshotAndRestoreForApexSession()
|
D | VerifyingSession.java | 154 mInstallFlags = sessionParams.installFlags; in VerifyingSession()
|
D | PackageManagerService.java | 2926 String resolvedPath, String mPackageAbiOverride, int installFlags) { 2928 resolvedPath, mPackageAbiOverride, installFlags); 5446 public int installExistingPackageAsUser(String packageName, int userId, int installFlags, 5448 … return mInstallPackageHelper.installExistingPackageAsUser(packageName, userId, installFlags, 8078 @UserIdInt int userId, @PackageManager.InstallFlags int installFlags, in installExistingPackageAsUser() argument 8082 return mInstallPackageHelper.installExistingPackageAsUser(packageName, userId, installFlags, in installExistingPackageAsUser() 8111 int installFlags) { in verifyReplacingVersionCode() argument 8113 pkgLite, requiredInstalledVersionCode, installFlags); in verifyReplacingVersionCode()
|
D | PackageArchiver.java | 881 sessionParams.installFlags = (INSTALL_UNARCHIVE_DRAFT | INSTALL_UNARCHIVE); in createDraftSession()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 893 final int installFlags = session.installFlags; 894 if ((installFlags & PackageManager.INSTALL_ENABLE_ROLLBACK) == 0) { 898 if ((installFlags & PackageManager.INSTALL_INSTANT_APP) != 0) { 922 if (!session.isStaged() && (installFlags & PackageManager.INSTALL_APEX) != 0 940 final boolean isApex = ((installFlags & PackageManager.INSTALL_APEX) != 0);
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerTests.java | 261 sessionParams.installFlags = flags; in invokeInstallPackage() 310 sessionParams.installFlags = flags; in invokeInstallPackageFail() 1217 private void moveFromRawResource(String outFileName, int rawResId, int installFlags, in moveFromRawResource() argument 1224 ip = installFromRawResource("install.apk", rawResId, installFlags, false, in moveFromRawResource() 1263 private void sampleMoveFromRawResource(int installFlags, int moveFlags, boolean fail, in sampleMoveFromRawResource() argument 1266 R.raw.install, installFlags, moveFlags, true, in sampleMoveFromRawResource() 1277 int installFlags = PackageManager.INSTALL_INTERNAL; in testMoveAppInternalToExternal() local 1281 sampleMoveFromRawResource(installFlags, moveFlags, fail, result); in testMoveAppInternalToExternal() 1287 int installFlags = PackageManager.INSTALL_INTERNAL; in testMoveAppInternalToInternal() local 1291 sampleMoveFromRawResource(installFlags, moveFlags, fail, result); in testMoveAppInternalToInternal() [all …]
|
D | PackageInstallerSessionTest.kt | 274 assertThat(expected.installFlags).isEqualTo(actual.installFlags) in <lambda>()
|
/frameworks/base/services/core/java/android/content/pm/ |
D | PackageManagerInternal.java | 1076 IntentSender intentSender, @PackageManager.InstallFlags int installFlags); in uninstallApex() argument
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 12310 Landroid/content/pm/PackageInstaller$SessionInfo;->installFlags:I
|