Home
last modified time | relevance | path

Searched refs:getNextAvailableId (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceIdRecyclingTest.java67 int userId = mUserManagerService.getNextAvailableId(); in testUserCreateRecycleIdsAddAllThenRemove()
86 int nextId = mUserManagerService.getNextAvailableId(); in testUserCreateRecycleIdsAddAllThenRemove()
95 int userId = mUserManagerService.getNextAvailableId(); in testUserCreateRecycleIdsOverflow()
113 mUserManagerService.getNextAvailableId(); in assertNoNextIdAvailable()
DUserManagerServiceCreateProfileTest.java228 mUserManagerService.getNextAvailableId(), "profile", flags); in addProfile()
236 mUserManagerService.getNextAvailableId(), "secondary", /* flags */ 0); in addUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2668 userId = getNextAvailableId(); in createUserInternalUnchecked()
3421 int getNextAvailableId() { in getNextAvailableId() method in UserManagerService