/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | DisallowAddUserTaskTest.java | 73 when(mockUserManager.getUsers()).thenReturn(Collections.singletonList(primaryUser)); in testMaybeDisallowAddUsers_normalSystem() 90 when(mockUserManager.getUsers()).thenReturn(Collections.singletonList(primaryUser)); in testMaybeDisallowAddUsers_normalSystem_restrictionAlreadySetupForOneUser() 111 when(mockUserManager.getUsers()).thenReturn(Arrays.asList(new UserInfo[]{ in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner() 130 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 | 115 when(mUserManager.getUsers()).thenReturn(userInfos); in noSecondaryUserAddedIfNoneExist() 133 when(mUserManager.getUsers()).thenReturn(userInfos); in secondaryUserAddedIfHasDistinctId() 149 when(mUserManager.getUsers()).thenReturn(userInfos); in profilesOfPrimaryUserAreNotIgnored() 193 when(mUserManager.getUsers()).thenReturn(userInfos); in dontAddPrimaryProfileAsASecondaryProfile()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | UserManagerWrapperImpl.java | 37 public List<UserInfo> getUsers() { in getUsers() method in UserManagerWrapperImpl 38 return mUserManager.getUsers(); in getUsers()
|
D | UserManagerWrapper.java | 31 List<UserInfo> getUsers(); in getUsers() method
|
D | InstalledAppDetails.java | 340 && mUserManager.getUsers().size() >= 2) { in initUnintsallButtonForUserApp() 637 } else if (mUserManager.getUsers().size() < 2) { in shouldShowUninstallForAll() 1372 final List<UserInfo> userInfos = userManager.getUsers(true);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | InstalledAppDetailsTest.java | 159 when(mUserManager.getUsers().size()).thenReturn(2); in shouldShowUninstallForAll_installForOneOtherUserOnly_shouldReturnTrue() 175 when(mUserManager.getUsers().size()).thenReturn(2); in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse() 261 when(mUserManager.getUsers().size()).thenReturn(2); in instantApps_noUninstallForAllButton()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 102 for (UserInfo user : userManager.getUsers()) { in onReceive() 139 List<UserInfo> users = userManager.getUsers(); in onReceive()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 158 for (UserInfo user : userManager.getUsers()) { in handleMessage() 193 List<UserInfo> users = userManager.getUsers(); in handleMessage()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NotificationMgr.java | 353 List<UserInfo> users = mUserManager.getUsers(true); in updateMwi() 371 List<UserInfo> users = mUserManager.getUsers(true /* excludeDying */); in updateMwi()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | UserIconLoader.java | 70 for (UserInfo userInfo : um.getUsers()) { in loadUserIconsWithContext()
|
D | SecondaryUserController.java | 68 List<UserInfo> infos = userManager.getUsers(); in getSecondaryUserControllers()
|
D | StorageAsyncLoader.java | 74 List<UserInfo> infos = mUserManager.getUsers(); in loadApps()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DisallowAddUserTask.java | 62 for (UserInfo userInfo : mUserManager.getUsers()) { in run()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | UserUtils.java | 58 for (UserInfo ui : um.getUsers()) { in getCorpUserInfo()
|
/packages/apps/Settings/tests/app/src/com/android/settings/applications/ |
D | PackageUtilTest.java | 59 when(mMockUserManager.getUsers(true)).thenReturn(mUserInfos); in setUp()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 484 .getUsers().size() > 1; in hasMultipleUsers() 870 final List<UserInfo> users = userManager.getUsers(true /* excludeDying */); in getExistingUser() 1292 List<UserInfo> userInfos = userManager.getUsers(); in isProfileOrDeviceOwner()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | MigrateEstimateTask.java | 86 for (UserInfo u : user.getUsers()) { in doInBackground()
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UserSettingsFragment.java | 99 List<UserInfo> infos = mUserManager.getUsers(true); in getLineItems()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | ManagedProfileTest.java | 73 List<UserInfo> users = um.getUsers(); in removeAllManagedProfiles()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
D | OtaController.java | 82 for (UserInfo userInfo : mUserManager.getUsers()) { in run()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserDetailsSettings.java | 148 List<UserInfo> users = mUserManager.getUsers(true); in enableCallsAndSms()
|
D | UserSettings.java | 722 List<UserInfo> users = mUserManager.getUsers(true); in updateUserList() 891 final List<UserInfo> users = mUserManager.getUsers(); in getMaxRealUsers()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | VpnPreferenceController.java | 125 final List<UserInfo> users = mUserManager.getUsers(); in updateSummary()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 90 when(mUserManager.getUsers()).thenReturn(mUsers); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 222 when(mUserManager.getUsers()).thenReturn(userInfos); in testIsProfileOrDeviceOwner_profileOwnerApp_returnTrue()
|