/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | DisallowAddUserTaskTest.java | 76 when(mockUserManager.getUsers()).thenReturn(Collections.singletonList(primaryUser)); in testMaybeDisallowAddUsers_normalSystem() 94 when(mockUserManager.getUsers()).thenReturn(Collections.singletonList(primaryUser)); in testMaybeDisallowAddUsers_normalSystem_restrictionAlreadySetupForOneUser() 116 when(mockUserManager.getUsers()).thenReturn(Arrays.asList(new UserInfo[]{ in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner() 136 when(mockUserManager.getUsers()).thenReturn(Collections.singletonList(systemUser)); in testMaybeDisallowAddUsers_splitUserSystem_systemDeviceOwner()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | SecondaryUserControllerTest.java | 112 when(mUserManager.getUsers()).thenReturn(userInfos); in noSecondaryUserAddedIfNoneExist() 130 when(mUserManager.getUsers()).thenReturn(userInfos); in secondaryUserAddedIfHasDistinctId() 146 when(mUserManager.getUsers()).thenReturn(userInfos); in profilesOfPrimaryUserAreNotIgnored() 190 when(mUserManager.getUsers()).thenReturn(userInfos); in dontAddPrimaryProfileAsASecondaryProfile()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragmentTest.java | 117 when(mUserManager.getUsers().size()).thenReturn(2); in shouldShowUninstallForAll_installForOneOtherUserOnly_shouldReturnTrue() 133 when(mUserManager.getUsers().size()).thenReturn(2); in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse() 252 when(mUserManager.getUsers().size()).thenReturn(2); in instantApps_noUninstallForAllButton() 300 when(mUserManager.getUsers(true)).thenReturn(userInfos); in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo() 323 when(mUserManager.getUsers(true)).thenReturn(userInfos); in getNumberOfUserWithPackageInstalled_oneUserInstalled_shouldReturnOne()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 367 return mUserManager.getUsers(/* excludeDying= */ true); in getAllUsers() 431 List<UserInfo> users = mUserManager.getUsers(/* excludeDying= */true); in getAllUsersExceptSpecifiedUser() 450 List<UserInfo> users = mUserManager.getUsers(/* excludeDying= */true); in getAllUsersExceptSystemUserAndSpecifiedUser()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NotificationMgr.java | 377 List<UserInfo> users = mUserManager.getUsers(true); in updateMwi() 394 List<UserInfo> users = mUserManager.getUsers(true /* excludeDying */); in updateMwi() 558 List<UserInfo> users = mUserManager.getUsers(true); in updateCfi()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | UserIconLoader.java | 69 for (UserInfo userInfo : um.getUsers()) { in loadUserIconsWithContext()
|
D | SecondaryUserController.java | 72 List<UserInfo> infos = userManager.getUsers(); in getSecondaryUserControllers()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | UserIconLoader.java | 69 for (UserInfo userInfo : um.getUsers()) { in loadUserIconsWithContext()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | UserUtils.java | 58 for (UserInfo ui : um.getUsers()) { in getCorpUserInfo()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DisallowAddUserTask.java | 70 for (UserInfo userInfo : mUserManager.getUsers()) { in run()
|
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/ |
D | ShadowUserManager.java | 56 public List<UserInfo> getUsers() { in getUsers() method in ShadowUserManager
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 383 .getUsers().size() > 1; in hasMultipleUsers() 544 final List<UserInfo> users = userManager.getUsers(true /* excludeDying */); in getExistingUser() 893 List<UserInfo> userInfos = userManager.getUsers(); in isProfileOrDeviceOwner()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | Utils.java | 388 .getUsers().size() > 1; in hasMultipleUsers() 549 final List<UserInfo> users = userManager.getUsers(true /* excludeDying */); in getExistingUser() 898 List<UserInfo> userInfos = userManager.getUsers(); in isProfileOrDeviceOwner()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragment.java | 417 } else if (mUserManager.getUsers().size() < 2) { in shouldShowUninstallForAll() 510 final List<UserInfo> userInfos = mUserManager.getUsers(true); in getNumberOfUserWithPackageInstalled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppInfoDashboardFragment.java | 417 } else if (mUserManager.getUsers().size() < 2) { in shouldShowUninstallForAll() 510 final List<UserInfo> userInfos = mUserManager.getUsers(true); in getNumberOfUserWithPackageInstalled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | MigrateEstimateTask.java | 86 for (UserInfo u : user.getUsers()) { in doInBackground()
|
D | StorageWizardMoveConfirm.java | 82 for (UserInfo user : getSystemService(UserManager.class).getUsers()) { in onNavigateNext()
|
D | StorageWizardMigrateConfirm.java | 101 for (UserInfo user : getSystemService(UserManager.class).getUsers()) { in onNavigateNext()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | MigrateEstimateTask.java | 86 for (UserInfo u : user.getUsers()) { in doInBackground()
|
D | StorageWizardMoveConfirm.java | 83 for (UserInfo user : getSystemService(UserManager.class).getUsers()) { in onNavigateNext()
|
D | StorageWizardMigrateConfirm.java | 101 for (UserInfo user : getSystemService(UserManager.class).getUsers()) { in onNavigateNext()
|
/packages/apps/Settings/src/com/android/settings/privacy/ |
D | EnableContentCaptureWithServiceSettingsPreferenceController.java | 94 final List<UserInfo> userInfos = userManager.getUsers(); in show()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfileModel.java | 110 for (UserInfo userInfo : mUserManager.getUsers()) { in getUser()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AddAccountActivity.java | 185 .getUsers().size() > 1; in hasMultipleUsers()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | ManagedProfileTest.java | 83 List<UserInfo> users = um.getUsers(); in removeAllManagedProfiles()
|