Home
last modified time | relevance | path

Searched refs:allUsers (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java234 List<Integer> allUsers = userInfoListToUserIdList(getAllUsers()); in getInitialUser() local
240 && allUsers.contains(bootUserOverride)) { in getInitialUser()
249 && allUsers.contains(lastActiveUser)) { in getInitialUser()
256 int returnId = Collections.min(allUsers); in getInitialUser()
262 private List<Integer> userInfoListToUserIdList(List<UserInfo> allUsers) { in userInfoListToUserIdList() argument
263 ArrayList<Integer> list = new ArrayList<>(allUsers.size()); in userInfoListToUserIdList()
264 for (UserInfo userInfo : allUsers) { in userInfoListToUserIdList()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskUtils.java82 List<UserHandle> allUsers = UserManagerCompat.getInstance(context).getUserProfiles(); in checkCurrentOrManagedUserId() local
83 for (int i = allUsers.size() - 1; i >= 0; i--) { in checkCurrentOrManagedUserId()
84 if (currentUserId == allUsers.get(i).getIdentifier()) { in checkCurrentOrManagedUserId()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java313 final LongSparseArray<UserHandle> allUsers = c.allUsers; in loadWorkspace() local
318 allUsers.put(serialNo, user); in loadWorkspace()
371 if (allUsers.indexOfValue(c.user) < 0) { in loadWorkspace()
DLoaderCursor.java64 public final LongSparseArray<UserHandle> allUsers = new LongSparseArray<>(); field in LoaderCursor
131 user = allUsers.get(serialNumber); in moveToNext()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java215 List<UserInfo> allUsers = mUserManager.getUsers(); in update() local
216 final int userCount = allUsers.size(); in update()
226 final UserInfo userInfo = allUsers.get(userIndex); in update()
240 final UserInfo userInfo = allUsers.get(userIndex); in update()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java215 List<UserInfo> allUsers = mUserManager.getUsers(); in update() local
216 final int userCount = allUsers.size(); in update()
226 final UserInfo userInfo = allUsers.get(userIndex); in update()
240 final UserInfo userInfo = allUsers.get(userIndex); in update()
/packages/services/Car/service/src/com/android/car/
DCarPowerManagementService.java494 List<UserInfo> allUsers = mUserManager.getUsers(); in getFirstSwitchableUser() local
495 for (UserInfo user : allUsers) { in getFirstSwitchableUser()
500 Log.wtf(CarLog.TAG_POWER, "no switchable user: " + allUsers); in getFirstSwitchableUser()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragment.java475 private void uninstallPkg(String packageName, boolean allUsers, boolean andDisable) { in uninstallPkg() argument
480 uninstallIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, allUsers); in uninstallPkg()
DAppButtonsPreferenceController.java521 void uninstallPkg(String packageName, boolean allUsers, boolean andDisable) { in uninstallPkg() argument
526 uninstallIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, allUsers); in uninstallPkg()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppInfoDashboardFragment.java475 private void uninstallPkg(String packageName, boolean allUsers, boolean andDisable) { in uninstallPkg() argument
480 uninstallIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, allUsers); in uninstallPkg()
DAppButtonsPreferenceController.java522 void uninstallPkg(String packageName, boolean allUsers, boolean andDisable) { in uninstallPkg() argument
527 uninstallIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, allUsers); in uninstallPkg()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java87 mLoaderCursor.allUsers.put(0, Process.myUserHandle()); in setup()