Searched refs:getOrCreateUserState (Results 1 – 2 of 2) sorted by relevance
251 RoleUserState userState = getOrCreateUserState(userId); in maybeGrantDefaultRolesInternal()289 RoleUserState userState = getOrCreateUserState(userId); in maybeMigrateRole()337 private RoleUserState getOrCreateUserState(@UserIdInt int userId) { in getOrCreateUserState() method in RoleManagerService461 return getOrCreateUserState(userId).isRoleAvailable(roleName); in isRoleAvailable()473 ArraySet<String> roleHolders = getOrCreateUserState(userId).getRoleHolders(roleName); in isRoleHeld()493 ArraySet<String> roleHolders = getOrCreateUserState(userId).getRoleHolders(roleName); in getRoleHoldersAsUser()605 getOrCreateUserState(userId).setRoleNames(roleNames); in setRoleNamesFromController()619 return getOrCreateUserState(userId).addRoleHolder(roleName, packageName); in addRoleHolderFromController()633 return getOrCreateUserState(userId).removeRoleHolder(roleName, packageName); in removeRoleHolderFromController()645 return getOrCreateUserState(userId).getHeldRoles(packageName); in getHeldRolesFromController()[all …]
29594 HSPLcom/android/server/role/RoleManagerService;->getOrCreateUserState(I)Lcom/android/server/role/Ro…