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.java642 @InstallReason int installReason, in installExistingPackage() argument
647 PackageManager.INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS, installReason, in installExistingPackage()
1290 public @InstallReason int installReason = PackageManager.INSTALL_REASON_UNKNOWN; field in PackageInstaller.SessionParams
1345 installReason = source.readInt(); in SessionParams()
1368 ret.installReason = installReason; in copy()
1639 public void setInstallReason(@InstallReason int installReason) { in setInstallReason() argument
1640 this.installReason = installReason; in setInstallReason()
1745 dest.writeInt(installReason); in writeToParcel()
1845 public @InstallReason int installReason; field in PackageInstaller.SessionInfo
1913 installReason = source.readInt(); in SessionInfo()
[all …]
DIPackageInstaller.aidl54 void installExistingPackage(String packageName, int installFlags, int installReason, in installExistingPackage() argument
DIPackageManager.aidl637 int installReason, in List<String> whiteListedPermissions); in installExistingPackageAsUser() argument
DPackageManager.java5620 @InstallReason int installReason) throws NameNotFoundException; in installExistingPackage() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java314 return readUserState(userId).installReason; in getInstallReason()
317 void setInstallReason(int installReason, int userId) { in setInstallReason() argument
318 modifyUserState(userId).installReason = installReason; in setInstallReason()
440 int domainVerifState, int linkGeneration, int installReason, in setUserState() argument
460 state.installReason = installReason; in setUserState()
DPackageInstallerSession.java478 info.installReason = params.installReason; in generateInfo()
2423 writeIntAttribute(out, ATTR_INSTALL_REASON, params.installReason); in write()
2521 params.installReason = readIntAttribute(in, ATTR_INSTALL_REASON); in readFromXml()
DPackageInstallerService.java858 public void installExistingPackage(String packageName, int installFlags, int installReason, in installExistingPackage() argument
860 mPm.installExistingPackageAsUser(packageName, userId, installFlags, installReason, in installExistingPackage()
DPackageManagerShellCommand.java1200 int installReason = PackageManager.INSTALL_REASON_UNKNOWN; in runInstallExisting() local
1206 installer.installExistingPackage(packageName, installFlags, installReason, in runInstallExisting()
1216 installFlags, installReason, null); in runInstallExisting()
2462 sessionParams.installReason = Integer.parseInt(getNextArg()); in makeInstallParams()
DPackageManagerService.java13120 int installReason) {
13125 return installReason;
13136 if (installReason == PackageManager.INSTALL_REASON_POLICY) {
13146 return installReason;
13196 info.installReason = pkgSetting.getInstallReason(userId);
13474 int installReason, List<String> whiteListedPermissions) {
13475 return installExistingPackageAsUser(packageName, userId, installFlags, installReason,
13481 @PackageManager.InstallReason int installReason,
13485 + " installFlags=" + installFlags + " installReason=" + installReason
13537 pkgSetting.setInstallReason(installReason, userId);
[all …]
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.java255 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/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java645 public int installExistingPackage(String packageName, int installReason) in installExistingPackage() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java633 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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...