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.java68 int userId = mUserManagerService.getNextAvailableId(); in testUserCreateRecycleIdsAddAllThenRemove()
87 int nextId = mUserManagerService.getNextAvailableId(); in testUserCreateRecycleIdsAddAllThenRemove()
96 int userId = mUserManagerService.getNextAvailableId(); in testUserCreateRecycleIdsOverflow()
114 mUserManagerService.getNextAvailableId(); in assertNoNextIdAvailable()
DUserManagerServiceCreateProfileTest.java229 mUserManagerService.getNextAvailableId(), "profile", flags); in addProfile()
237 mUserManagerService.getNextAvailableId(), "secondary", /* flags */ 0); in addUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2748 userId = getNextAvailableId(); in createUserInternalUnchecked()
3515 int getNextAvailableId() { in getNextAvailableId() method in UserManagerService