Home
last modified time | relevance | path

Searched refs:installReason (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DInstallParams.java114 installSource.installerPackageName, installerUid, sessionParams.installReason); in InstallParams()
291 int installReason) { in fixUpInstallReason() argument
296 return installReason; in fixUpInstallReason()
307 if (installReason == PackageManager.INSTALL_REASON_POLICY) { in fixUpInstallReason()
317 return installReason; in fixUpInstallReason()
DInstallArgs.java73 int installReason, int installScenario, boolean forceQueryableOverride, in InstallArgs() argument
90 mInstallReason = installReason; in InstallArgs()
DPackageSessionVerifier.java404 if (session.sessionParams().installReason == PackageManager.INSTALL_REASON_ROLLBACK) { in submitSessionToApexService()
460 return session.sessionParams().installReason == PackageManager.INSTALL_REASON_ROLLBACK; in isRollback()
DPackageSetting.java730 void setInstallReason(int installReason, int userId) {
731 modifyUserState(userId).setInstallReason(installReason);
851 int installReason, int uninstallReason,
866 .setInstallReason(installReason)
DPackageInstallerService.java622 if (params.installReason == PackageManager.INSTALL_REASON_ROLLBACK) {
1206 public void installExistingPackage(String packageName, int installFlags, int installReason,
1210 installReason, allowListedPermissions, statusReceiver);
DInstallPackageHelper.java520 @PackageManager.InstallReason int installReason, in installExistingPackageAsUser() argument
525 + " installFlags=" + installFlags + " installReason=" + installReason in installExistingPackageAsUser()
579 pkgSetting.setInstallReason(installReason, userId); in installExistingPackageAsUser()
2022 final int installReason = installArgs.mInstallReason; in updateSettingsInternalLI() local
2147 ps.setInstallReason(installReason, currentUserId); in updateSettingsInternalLI()
2151 ps.setInstallReason(installReason, userId); in updateSettingsInternalLI()
DStagingManager.java295 || session.sessionParams().installReason == PackageManager.INSTALL_REASON_ROLLBACK; in snapshotAndRestoreForApexSession()
DPackageManagerShellCommand.java1657 int installReason = PackageManager.INSTALL_REASON_UNKNOWN; in runInstallExisting() local
1663 installer.installExistingPackage(packageName, installFlags, installReason, in runInstallExisting()
1673 installFlags, installReason, null); in runInstallExisting()
3133 sessionParams.installReason = Integer.parseInt(getNextArg()); in makeInstallParams()
DPackageInstallerSession.java1043 info.installReason = params.installReason; in generateInfoInternal()
4464 out.attributeInt(null, ATTR_INSTALL_REASON, params.installReason);
4622 params.installReason = in.getAttributeInt(null, ATTR_INSTALL_REASON);
DPackageManagerService.java2990 info.installReason = userState.getInstallReason(); in sendPackageAddedForUser()
5137 int installReason, List<String> whiteListedPermissions) { in installExistingPackageAsUser() argument
5139 installReason, whiteListedPermissions, null); in installExistingPackageAsUser()
DSettings.java1822 final int installReason = parser.getAttributeInt(null, ATTR_INSTALL_REASON,
1900 enabledCaller, enabledComponents, disabledComponents, installReason,
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java784 @InstallReason int installReason, in installExistingPackage() argument
789 PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS, installReason, in installExistingPackage()
1734 public @InstallReason int installReason = PackageManager.INSTALL_REASON_UNKNOWN; field in PackageInstaller.SessionParams
1809 installReason = source.readInt(); in SessionParams()
1843 ret.installReason = installReason; in copy()
2184 public void setInstallReason(@InstallReason int installReason) { in setInstallReason() argument
2185 this.installReason = installReason; in setInstallReason()
2357 pw.printPair("installReason", installReason); in dump()
2393 dest.writeInt(installReason); in writeToParcel()
2545 public @InstallReason int installReason; field in PackageInstaller.SessionInfo
[all …]
DIPackageInstaller.aidl58 void installExistingPackage(String packageName, int installFlags, int installReason, in installExistingPackage() argument
DIPackageManager.aidl605 int installReason, in List<String> whiteListedPermissions); in installExistingPackageAsUser() argument
DPackageManager.java8103 @InstallReason int installReason) throws NameNotFoundException; in installExistingPackage() argument
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageInstallerSessionTest.java276 assertEquals(expected.installReason, actual.installReason); in assertSessionParamsEquivalent()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java633 public int installExistingPackage(String packageName, int installReason) in installExistingPackage() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java645 public int installExistingPackage(String packageName, int installReason) in installExistingPackage() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2389 public int installExistingPackage(String packageName, int installReason) in installExistingPackage() argument
2391 return installExistingPackageAsUser(packageName, installReason, getUserId()); in installExistingPackage()
2401 private int installExistingPackageAsUser(String packageName, int installReason, int userId) in installExistingPackageAsUser() argument
2405 INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS, installReason, null); in installExistingPackageAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java742 public int installExistingPackage(@NonNull String packageName, int installReason) in installExistingPackage() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java1026 public int installExistingPackage(String packageName, int installReason) in installExistingPackage() argument
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12312 Landroid/content/pm/PackageInstaller$SessionInfo;->installReason:I
12325 Landroid/content/pm/PackageInstaller$SessionParams;->installReason:I
13029 Landroid/content/pm/PackageUserState;->installReason:I