Home
last modified time | relevance | path

Searched refs:canAddMoreUsersOfType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DIUserManager.aidl69 boolean canAddMoreUsersOfType(in String userType); in canAddMoreUsersOfType() method
DUserManager.java5140 return mService.canAddMoreUsersOfType(userType); in canAddMoreUsers()
5142 return canAddMoreUsers() && mService.canAddMoreUsersOfType(userType); in canAddMoreUsers()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java796 assumeTrue(mUms.canAddMoreUsersOfType(USER_TYPE_FULL_SECONDARY)); in testCreatePrivateProfileOnSecondaryUser_shouldNotAllowCreation()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java3637 private boolean canAddMoreUsersOfType(@NonNull UserTypeDetails userTypeDetails) { in canAddMoreUsersOfType() method in UserManagerService
3720 public boolean canAddMoreUsersOfType(String userType) { in canAddMoreUsersOfType() method in UserManagerService
3723 return userTypeDetails != null && canAddMoreUsersOfType(userTypeDetails); in canAddMoreUsersOfType()
5490 if (!preCreate && !canAddMoreUsersOfType(userTypeDetails)) {