Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java463 public boolean canHaveProfile() { in canHaveProfile() method in UserInfo
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserInfoTest.java263 assertTrue("Main users can have profile", userInfo.canHaveProfile()); in testCanHaveProfile()
/aosp14/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java1936 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 AccountManagerService
2275 return userInfo != null && userInfo.canHaveProfile(); in canHaveProfile()
2512 if (canHaveProfile(parentUserId)) { in removeAccountInternal()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java2303 if (userInfo == null || !userInfo.canHaveProfile()) { in canHaveRestrictedProfile()
3221 if (userInfo == null || !userInfo.canHaveProfile()) { in getRemainingCreatableProfileCount()
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt1046 method public boolean canHaveProfile();
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt13406 Landroid/content/pm/UserInfo;->canHaveProfile()Z