Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java70 public int installReason; field in PackageUserState
86 installReason = PackageManager.INSTALL_REASON_UNKNOWN; in PackageUserState()
109 installReason = o.installReason; in PackageUserState()
273 if (installReason != oldState.installReason) { in equals()
DPackageInstaller.java625 @InstallReason int installReason, in installExistingPackage() argument
630 PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS, installReason, in installExistingPackage()
1273 public @InstallReason int installReason = PackageManager.INSTALL_REASON_UNKNOWN; field in PackageInstaller.SessionParams
1328 installReason = source.readInt(); in SessionParams()
1351 ret.installReason = installReason; in copy()
1622 public void setInstallReason(@InstallReason int installReason) { in setInstallReason() argument
1623 this.installReason = installReason; in setInstallReason()
1728 dest.writeInt(installReason); in writeToParcel()
1828 public @InstallReason int installReason; field in PackageInstaller.SessionInfo
1896 installReason = source.readInt(); in SessionInfo()
[all …]
DIPackageInstaller.aidl54 void installExistingPackage(String packageName, int installFlags, int installReason, in installExistingPackage() argument
DIPackageManager.aidl631 int installReason, in List<String> whiteListedPermissions); in installExistingPackageAsUser() argument
DPackageManager.java5680 @InstallReason int installReason) throws NameNotFoundException; in installExistingPackage() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java315 return readUserState(userId).installReason; in getInstallReason()
318 void setInstallReason(int installReason, int userId) { in setInstallReason() argument
319 modifyUserState(userId).installReason = installReason; in setInstallReason()
441 int domainVerifState, int linkGeneration, int installReason, in setUserState() argument
461 state.installReason = installReason; in setUserState()
476 otherState.installReason, otherState.harmfulAppWarning); in setUserState()
DPackageInstallerSession.java473 info.installReason = params.installReason; in generateInfo()
2428 writeIntAttribute(out, ATTR_INSTALL_REASON, params.installReason); in write()
2526 params.installReason = readIntAttribute(in, ATTR_INSTALL_REASON); in readFromXml()
DPackageInstallerService.java870 public void installExistingPackage(String packageName, int installFlags, int installReason, in installExistingPackage() argument
872 mPm.installExistingPackageAsUser(packageName, userId, installFlags, installReason, in installExistingPackage()
DPackageManagerService.java12668 int installReason) {
12673 return installReason;
12684 if (installReason == PackageManager.INSTALL_REASON_POLICY) {
12694 return installReason;
12744 info.installReason = pkgSetting.getInstallReason(userId);
13022 int installReason, List<String> whiteListedPermissions) {
13023 return installExistingPackageAsUser(packageName, userId, installFlags, installReason,
13029 @PackageManager.InstallReason int installReason,
13033 + " installFlags=" + installFlags + " installReason=" + installReason
13085 pkgSetting.setInstallReason(installReason, userId);
[all …]
DPackageManagerShellCommand.java1362 int installReason = PackageManager.INSTALL_REASON_UNKNOWN; in runInstallExisting() local
1368 installer.installExistingPackage(packageName, installFlags, installReason, in runInstallExisting()
1378 installFlags, installReason, null); in runInstallExisting()
2633 sessionParams.installReason = Integer.parseInt(getNextArg()); in makeInstallParams()
DSettings.java1657 final int installReason = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr() local
1709 linkGeneration, installReason, harmfulAppWarning); in readPackageRestrictionsLPr()
2060 if (ustate.installReason != PackageManager.INSTALL_REASON_UNKNOWN) { in writePackageRestrictionsLPr()
2062 Integer.toString(ustate.installReason)); in writePackageRestrictionsLPr()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java260 assertEquals(expected.installReason, actual.installReason); in assertSessionParamsEquivalent()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1909 public int installExistingPackage(String packageName, int installReason) in installExistingPackage() argument
1911 return installExistingPackageAsUser(packageName, installReason, getUserId()); in installExistingPackage()
1921 private int installExistingPackageAsUser(String packageName, int installReason, int userId) in installExistingPackageAsUser() argument
1925 INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS, installReason, null); in installExistingPackageAsUser()
/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/test-mock/src/android/test/mock/
DMockPackageManager.java1026 public int installExistingPackage(String packageName, int installReason) in installExistingPackage() argument
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt15199 Landroid/content/pm/PackageInstaller$SessionInfo;->installReason:I
15212 Landroid/content/pm/PackageInstaller$SessionParams;->installReason:I
15916 Landroid/content/pm/PackageUserState;->installReason:I