Home
last modified time | relevance | path

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

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