Searched refs:aliveUsers (Results 1 – 7 of 7) sorted by relevance
39 List<UserInfo> aliveUsers = in UserIdsSeries() local42 for (UserInfo userInfo : aliveUsers) { in UserIdsSeries()
243 List<UserInfo> aliveUsers = mUserManager.getAliveUsers(); in getAliveUsers() local244 for (int i = aliveUsers.size() - 1; i >= 0; i--) { in getAliveUsers()245 UserInfo userInfo = aliveUsers.get(i); in getAliveUsers()248 aliveUsers.remove(i); in getAliveUsers()251 return aliveUsers; in getAliveUsers()
162 whenever(userManager.aliveUsers).thenReturn(listOf(OTHER_USER)) in uninstallForAllUsers_regularAppAndPrimaryUser_displayed()180 whenever(userManager.aliveUsers).thenReturn(listOf(OTHER_USER)) in uninstallForAllUsers_appHiddenNotInQuietModeAndPrimaryUser_displayed()201 whenever(userManager.aliveUsers).thenReturn(listOf(OTHER_USER)) in uninstallForAllUsers_appHiddenInQuietModeAndPrimaryUser_notDisplayed()
462 List<UserInfo> aliveUsers = mUserManager.getAliveUsers(); in getUnassignedUsers() local465 for (int i = 0; i < aliveUsers.size(); ++i) { in getUnassignedUsers()466 UserInfo u = aliveUsers.get(i); in getUnassignedUsers()
455 IntArray aliveUsers = IntArray.wrap(aliveUserIds); in syncUsers() local458 if (aliveUsers.indexOf(userPackage.userId) == -1) { in syncUsers()464 aliveUsers); in syncUsers() local806 public static void syncUserPackagesWithAliveUsers(SQLiteDatabase db, IntArray aliveUsers) { in syncUserPackagesWithAliveUsers() argument808 for (int i = 0; i < aliveUsers.size(); ++i) { in syncUserPackagesWithAliveUsers()814 queryBuilder.append(aliveUsers.get(i)); in syncUserPackagesWithAliveUsers()815 if (i == aliveUsers.size() - 1) { in syncUserPackagesWithAliveUsers()
1799 List<UserHandle> aliveUsers = userManager.getUserHandles(/* excludeDying= */ true); in getAliveUserIds() local1800 int userSize = aliveUsers.size(); in getAliveUserIds()1803 userIds[i] = aliveUsers.get(i).getIdentifier(); in getAliveUserIds()
176 ): Boolean = userManager.aliveUsers in ApplicationInfo()