Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java28 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()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeDetails.java48 public static final int UNLIMITED_NUMBER_OF_USERS = -1; field in UserTypeDetails
385 private int mMaxAllowed = UNLIMITED_NUMBER_OF_USERS;
386 private int mMaxAllowedPerParent = UNLIMITED_NUMBER_OF_USERS;
DUserTypeFactory.java37 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()
DUserManagerService.java2356 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()