Searched refs:canHaveProfile (Results 1 – 6 of 6) sorted by relevance
463 public boolean canHaveProfile() { in canHaveProfile() method in UserInfo
263 assertTrue("Main users can have profile", userInfo.canHaveProfile()); in testCanHaveProfile()
1936 if (getUserManager().getUserInfo(accounts.userId).canHaveProfile()) { in addAccountInternal()2241 if (canHaveProfile(parentUserId)) { in renameAccountInternal()2273 private boolean canHaveProfile(final int parentUserId) { in canHaveProfile() method in AccountManagerService2275 return userInfo != null && userInfo.canHaveProfile(); in canHaveProfile()2512 if (canHaveProfile(parentUserId)) { in removeAccountInternal()
2303 if (userInfo == null || !userInfo.canHaveProfile()) { in canHaveRestrictedProfile()3221 if (userInfo == null || !userInfo.canHaveProfile()) { in getRemainingCreatableProfileCount()
1046 method public boolean canHaveProfile();
13406 Landroid/content/pm/UserInfo;->canHaveProfile()Z