Searched refs:UNLIMITED_NUMBER_OF_USERS (Results 1 – 4 of 4) sorted by relevance
28 import static com.android.server.pm.UserTypeDetails.UNLIMITED_NUMBER_OF_USERS;160 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowed()); in testUserTypeBuilder_defaults()161 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowedPerParent()); in testUserTypeBuilder_defaults()325 assertEquals(UNLIMITED_NUMBER_OF_USERS, details.getMaxAllowedPerParent()); in testUserTypeFactoryCustomize_full()
48 public static final int UNLIMITED_NUMBER_OF_USERS = -1; field in UserTypeDetails385 private int mMaxAllowed = UNLIMITED_NUMBER_OF_USERS;386 private int mMaxAllowedPerParent = UNLIMITED_NUMBER_OF_USERS;
37 import static com.android.server.pm.UserTypeDetails.UNLIMITED_NUMBER_OF_USERS;197 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullSecondary()225 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullDemo()238 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullRestricted()
2356 if (max == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in canAddMoreUsersOfType()2415 if (maxUsersOfType != UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in canAddMoreProfilesToUser()5846 if (maxUsersOfType == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in getFreeProfileBadgeLU()