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.java231 public boolean canHaveProfile() { in canHaveProfile() method in UserInfo
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1220 if (userInfo == null || !userInfo.canHaveProfile()) { in canHaveRestrictedProfile()
1844 if (userInfo == null || !userInfo.canHaveProfile()) { in canAddMoreManagedProfiles()
2730 if (!parent.info.canHaveProfile()) { in createUserInternalUnchecked()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1833 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 AccountManagerService
2096 return userInfo != null && userInfo.canHaveProfile(); in canHaveProfile()
2339 if (canHaveProfile(parentUserId)) { in removeAccountInternal()