Home
last modified time | relevance | path

Searched refs:uninstallReason (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java83 public @PackageManager.UninstallReason int uninstallReason; field in PackageUserState
105 uninstallReason = PackageManager.UNINSTALL_REASON_UNKNOWN; in PackageUserState()
126 uninstallReason = o.uninstallReason; in PackageUserState()
430 if (uninstallReason != oldState.uninstallReason) { in equals()
487 hashCode = 31 * hashCode + uninstallReason; in hashCode()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java323 return readUserState(userId).uninstallReason; in getUninstallReason()
326 void setUninstallReason(@UninstallReason int uninstallReason, int userId) { in setUninstallReason() argument
327 modifyUserState(userId).uninstallReason = uninstallReason; in setUninstallReason()
491 int domainVerifState, int linkGeneration, int installReason, int uninstallReason, in setUserState() argument
509 state.uninstallReason = uninstallReason; in setUserState()
523 otherState.installReason, otherState.uninstallReason, otherState.harmfulAppWarning); in setUserState()
DSettings.java1708 final int uninstallReason = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr() local
1783 linkGeneration, installReason, uninstallReason, harmfulAppWarning); in readPackageRestrictionsLPr()
2115 if (ustate.uninstallReason != PackageManager.UNINSTALL_REASON_UNKNOWN) { in writePackageRestrictionsLPr()
2117 Integer.toString(ustate.uninstallReason)); in writePackageRestrictionsLPr()
4208 final int uninstallReason = (shouldMaybeInstall && !shouldReallyInstall) ? in createNewUserLI() local
4210 ps.setUninstallReason(uninstallReason, userHandle); in createNewUserLI()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageUserStateTest.java92 oldUserState.uninstallReason = PackageManager.UNINSTALL_REASON_USER_TYPE; in testPackageUserState01()