Searched refs:canHaveProfile (Results 1 – 3 of 3) sorted by relevance
231 public boolean canHaveProfile() { in canHaveProfile() method in UserInfo
1220 if (userInfo == null || !userInfo.canHaveProfile()) { in canHaveRestrictedProfile()1844 if (userInfo == null || !userInfo.canHaveProfile()) { in canAddMoreManagedProfiles()2730 if (!parent.info.canHaveProfile()) { in createUserInternalUnchecked()
1833 if (getUserManager().getUserInfo(accounts.userId).canHaveProfile()) { in addAccountInternal()2070 if (canHaveProfile(parentUserId)) { in renameAccountInternal()2094 private boolean canHaveProfile(final int parentUserId) { in canHaveProfile() method in AccountManagerService2096 return userInfo != null && userInfo.canHaveProfile(); in canHaveProfile()2339 if (canHaveProfile(parentUserId)) { in removeAccountInternal()