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.java82 public @PackageManager.UninstallReason int uninstallReason; field in PackageUserState
104 uninstallReason = PackageManager.UNINSTALL_REASON_UNKNOWN; in PackageUserState()
123 uninstallReason = o.uninstallReason; in PackageUserState()
452 if (uninstallReason != oldState.uninstallReason) { in equals()
511 hashCode = 31 * hashCode + uninstallReason; in hashCode()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java338 return readUserState(userId).uninstallReason; in getUninstallReason()
341 void setUninstallReason(@UninstallReason int uninstallReason, int userId) { in setUninstallReason() argument
342 modifyUserState(userId).uninstallReason = uninstallReason; in setUninstallReason()
524 int installReason, int uninstallReason, String harmfulAppWarning, in setUserState() argument
540 state.uninstallReason = uninstallReason; in setUserState()
555 otherState.installReason, otherState.uninstallReason, otherState.harmfulAppWarning, in setUserState()
DSettings.java1703 final int uninstallReason = parser.getAttributeInt(null, ATTR_UNINSTALL_REASON,
1779 disabledComponents, installReason, uninstallReason, harmfulAppWarning,
2030 if (ustate.uninstallReason != PackageManager.UNINSTALL_REASON_UNKNOWN) {
2031 serializer.attributeInt(null, ATTR_UNINSTALL_REASON, ustate.uninstallReason);
3997 final int uninstallReason = (shouldMaybeInstall && !shouldReallyInstall) ?
3999 ps.setUninstallReason(uninstallReason, userHandle);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageUserStateTest.java87 oldUserState.uninstallReason = PackageManager.UNINSTALL_REASON_USER_TYPE; in testPackageUserState01()