Searched refs:canHaveProfile (Results 1 – 3 of 3) sorted by relevance
211 public boolean canHaveProfile() { in canHaveProfile() method in UserInfo
998 if (userInfo == null || !userInfo.canHaveProfile()) { in canHaveRestrictedProfile()1575 if (userInfo == null || !userInfo.canHaveProfile()) { in canAddMoreManagedProfiles()2435 if (!parent.info.canHaveProfile()) { in createUserInternalUnchecked()
1807 if (getUserManager().getUserInfo(accounts.userId).canHaveProfile()) { in addAccountInternal()2044 if (canHaveProfile(parentUserId)) { in renameAccountInternal()2068 private boolean canHaveProfile(final int parentUserId) { in canHaveProfile() method in AccountManagerService2070 return userInfo != null && userInfo.canHaveProfile(); in canHaveProfile()2313 if (canHaveProfile(parentUserId)) { in removeAccountInternal()