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 UserTypeDetails391 private int mMaxAllowed = UNLIMITED_NUMBER_OF_USERS;392 private int mMaxAllowedPerParent = UNLIMITED_NUMBER_OF_USERS;
40 import static com.android.server.pm.UserTypeDetails.UNLIMITED_NUMBER_OF_USERS;232 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullSecondary()260 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullDemo()273 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullRestricted()
3072 if (max == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in canAddMoreUsersOfType()3116 type.getMaxAllowed() == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS in getRemainingCreatableUserCount()3240 if (maxUsersOfType != UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in getRemainingCreatableProfileCount()3248 if (type.getMaxAllowed() != UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in getRemainingCreatableProfileCount()7390 if (maxUsersOfType == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) {
28 import static com.android.server.pm.UserTypeDetails.UNLIMITED_NUMBER_OF_USERS;188 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowed()); in testUserTypeBuilder_defaults()189 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowedPerParent()); in testUserTypeBuilder_defaults()411 assertEquals(UNLIMITED_NUMBER_OF_USERS, details.getMaxAllowedPerParent()); in testUserTypeFactoryCustomize_full()
262 final int remainingUserType = maxUsersForType == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS ? in testAddTooManyUsers()