Home
last modified time | relevance | path

Searched refs:aliveUsers (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DUserIdsSeries.java39 List<UserInfo> aliveUsers = in UserIdsSeries() local
42 for (UserInfo userInfo : aliveUsers) { in UserIdsSeries()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserEventManager.java243 List<UserInfo> aliveUsers = mUserManager.getAliveUsers(); in getAliveUsers() local
244 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()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppInfoSettingsMoreOptionsTest.kt162 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()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DSimpleUserPickerFragment.java462 List<UserInfo> aliveUsers = mUserManager.getAliveUsers(); in getUnassignedUsers() local
465 for (int i = 0; i < aliveUsers.size(); ++i) { in getUnassignedUsers()
466 UserInfo u = aliveUsers.get(i); in getUnassignedUsers()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java455 IntArray aliveUsers = IntArray.wrap(aliveUserIds); in syncUsers() local
458 if (aliveUsers.indexOf(userPackage.userId) == -1) { in syncUsers()
464 aliveUsers); in syncUsers() local
806 public static void syncUserPackagesWithAliveUsers(SQLiteDatabase db, IntArray aliveUsers) { in syncUserPackagesWithAliveUsers() argument
808 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()
DWatchdogPerfHandler.java1799 List<UserHandle> aliveUsers = userManager.getUserHandles(/* excludeDying= */ true); in getAliveUserIds() local
1800 int userSize = aliveUsers.size(); in getAliveUserIds()
1803 userIds[i] = aliveUsers.get(i).getIdentifier(); in getAliveUserIds()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppInfoSettingsMoreOptions.kt176 ): Boolean = userManager.aliveUsers in ApplicationInfo()