Searched refs:UNLIMITED_NUMBER_OF_USERS (Results 1 – 4 of 4) sorted by relevance
35 import static com.android.server.pm.UserTypeDetails.UNLIMITED_NUMBER_OF_USERS;134 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullSecondary()162 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullDemo()175 .setMaxAllowed(UNLIMITED_NUMBER_OF_USERS) in getDefaultTypeFullRestricted()
44 public static final int UNLIMITED_NUMBER_OF_USERS = -1; field in UserTypeDetails321 private int mMaxAllowed = UNLIMITED_NUMBER_OF_USERS;322 private int mMaxAllowedPerParent = UNLIMITED_NUMBER_OF_USERS;
2234 if (max == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in canAddMoreUsersOfType()2293 if (maxUsersOfType != UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in canAddMoreProfilesToUser()5310 if (maxUsersOfType == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in getFreeProfileBadgeLU()
28 import static com.android.server.pm.UserTypeDetails.UNLIMITED_NUMBER_OF_USERS;126 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowed()); in testUserTypeBuilder_defaults()127 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowedPerParent()); in testUserTypeBuilder_defaults()288 assertEquals(UNLIMITED_NUMBER_OF_USERS, details.getMaxAllowedPerParent()); in testUserTypeFactoryCustomize_full()