Searched refs:UNLIMITED_NUMBER_OF_USERS (Results 1 – 5 of 5) sorted by relevance
49 public static final int UNLIMITED_NUMBER_OF_USERS = -1; field in UserTypeDetails428 private int mMaxAllowed = UNLIMITED_NUMBER_OF_USERS;429 private int mMaxAllowedPerParent = UNLIMITED_NUMBER_OF_USERS;
42 import static com.android.server.pm.UserTypeDetails.UNLIMITED_NUMBER_OF_USERS;348 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullSecondary()376 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullDemo()389 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullRestricted()
3642 if (max == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in canAddMoreUsersOfType()3686 type.getMaxAllowed() == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS in getRemainingCreatableUserCount()3811 if (maxUsersOfType != UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in getRemainingCreatableProfileCount()3819 if (type.getMaxAllowed() != UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in getRemainingCreatableProfileCount()8041 if (maxUsersOfType == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) {
28 import static com.android.server.pm.UserTypeDetails.UNLIMITED_NUMBER_OF_USERS;211 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowed()); in testUserTypeBuilder_defaults()212 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowedPerParent()); in testUserTypeBuilder_defaults()478 assertEquals(UNLIMITED_NUMBER_OF_USERS, details.getMaxAllowedPerParent()); in testUserTypeFactoryCustomize_full()
433 final int remainingUserType = maxUsersForType == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS ? in testAddTooManyUsers()