Home
last modified time | relevance | path

Searched refs:canHaveProfile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java211 public boolean canHaveProfile() { in canHaveProfile() method in UserInfo
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java998 if (userInfo == null || !userInfo.canHaveProfile()) { in canHaveRestrictedProfile()
1575 if (userInfo == null || !userInfo.canHaveProfile()) { in canAddMoreManagedProfiles()
2435 if (!parent.info.canHaveProfile()) { in createUserInternalUnchecked()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1807 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 AccountManagerService
2070 return userInfo != null && userInfo.canHaveProfile(); in canHaveProfile()
2313 if (canHaveProfile(parentUserId)) { in removeAccountInternal()