Searched refs:uninstallReason (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 82 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/ |
D | PackageSettingBase.java | 338 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()
|
D | Settings.java | 1703 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/ |
D | PackageUserStateTest.java | 87 oldUserState.uninstallReason = PackageManager.UNINSTALL_REASON_USER_TYPE; in testPackageUserState01()
|