Home
last modified time | relevance | path

Searched refs:getMaxSupportedUsers (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DGenerationRegistry.java120 final int size = 1 + 2 + 10 + 2 * UserManager.getMaxSupportedUsers(); in getBackingStoreLocked()
/frameworks/base/core/java/android/os/
DUserManager.java847 return getMaxSupportedUsers() > 1 in supportsMultipleUsers()
1864 return aliveUserCount < getMaxSupportedUsers(); in canAddMoreUsers()
2239 public static int getMaxSupportedUsers() { in getMaxSupportedUsers() method in UserManager
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java415 int N = UserManager.getMaxSupportedUsers(); in testMaxUsers()
486 int maxSupportedUsers = UserManager.getMaxSupportedUsers(); in testConcurrentUserCreate()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1554 return count >= UserManager.getMaxSupportedUsers(); in isUserLimitReached()
1582 || usersCountAfterRemoving < UserManager.getMaxSupportedUsers(); in canAddMoreManagedProfiles()
3475 pw.println(" Max users: " + UserManager.getMaxSupportedUsers()); in dump()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java1077 System.out.println("Maximum supported users: " + UserManager.getMaxSupportedUsers()); in runGetMaxUsers()