Home
last modified time | relevance | path

Searched refs:getUsers (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java62 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in setup()
122 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in testProfileBadgeUnique()
209 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in removeUsers()
DUserManagerTest.java105 List<UserInfo> list = mUserManager.getUsers(); in removeExistingUsers()
127 List<UserInfo> list = mUserManager.getUsers(); in testAddUser()
377 List<UserInfo> list = mUserManager.getUsers(); in findUser()
415 int count = mUserManager.getUsers().size(); in testMaxUsers()
429 int count = mUserManager.getUsers().size(); in testGetUserCount()
DUserManagerServiceUserInfoTest.java66 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java198 List<UserInfo> infos = mUserManager.getUsers(true); in refreshUsers()
660 public ArrayList<UserRecord> getUsers() { in getUsers() method in UserSwitcherController
680 return mController.getUsers().size(); in getUserCount()
683 final int N = mController.getUsers().size(); in getUserCount()
686 if (mController.getUsers().get(i).isGuest) continue; in getUserCount()
687 if (mController.getUsers().get(i).isRestricted) { in getUserCount()
702 return mController.getUsers().size(); in getCount()
705 final int N = mController.getUsers().size(); in getCount()
708 if (mController.getUsers().get(i).isRestricted) { in getCount()
719 return mController.getUsers().get(position); in getItem()
DUserInfoControllerImpl.java163 if (um.getUsers().size() <= 1) { in queryForUserInformation()
/frameworks/base/core/java/android/os/
DUserManager.java1760 List<UserInfo> users = getUsers(); in getUserCount()
1772 public List<UserInfo> getUsers() { in getUsers() method in UserManager
1774 return mService.getUsers(false); in getUsers()
1791 List<UserInfo> users = mService.getUsers(excludeDying); in getSerialNumbersOfUsers()
1857 final List<UserInfo> users = getUsers(true); in canAddMoreUsers()
2141 public @NonNull List<UserInfo> getUsers(boolean excludeDying) { in getUsers() method in UserManager
2143 return mService.getUsers(excludeDying); in getUsers()
2264 List<UserInfo> users = getUsers(true); in isUserSwitcherEnabled()
DIUserManager.aidl51 List<UserInfo> getUsers(boolean excludeDying); in getUsers() method
/frameworks/base/core/java/android/webkit/
DUserPackage.java100 return userManager.getUsers(false); in getAllUsers()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java240 protected List<UserInfo> getUsers() { in getUsers() method in RegisteredServicesCacheTest.TestServicesCache
246 for (UserInfo user : getUsers()) { in getUser()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsUserLifecycleTests.java101 for (UserInfo user : mUm.getUsers()) { in testNoCpuDataForRemovedUser()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java118 List<UserInfo> users = mUm.getUsers(); in handleMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java173 when(userManager.getUsers()).thenReturn(mUserInfos); in addUser()
174 when(userManager.getUsers(anyBoolean())).thenReturn(mUserInfos); in addUser()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java279 final List<UserInfo> users = um.getUsers(true /*excludeDying*/); in initIfNeeded()
798 final List<UserInfo> liveUsers = mUserManager.getUsers(true /*excludeDying*/); in restoreSettings()
805 for (int userId : mSettings.getUsers()) { in restoreSettings()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java688 for (UserInfo user : getUsers()) { in migrateIfNecessaryLocked()
750 protected List<UserInfo> getUsers() { in getUsers() method in RegisteredServicesCache
751 return UserManager.get(mContext).getUsers(true); in getUsers()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java148 final List<UserInfo> users = mUser.getUsers(); in measureExactStorage()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java88 when(mUm.getUsers()).thenReturn(mUsers); in setUp()
DDiskStatsLoggingServiceTest.java182 when(userManager.getUsers()).thenReturn(new ArrayList<>()); in testDontCrashOnRun()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java199 List<UserInfo> userInfos = mUserManager.getUsers(true /* excludeDying */); in updateTrustAll()
266 userInfos = mUserManager.getUsers(true /* excludeDying */); in refreshAgentList()
418 userInfos = mUserManager.getUsers(true /* excludeDying */); in refreshDeviceLockedForUser()
901 final List<UserInfo> userInfos = mUserManager.getUsers(true /* excludeDying */);
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java118 when(mUserManager.getUsers(anyBoolean())).thenReturn(mPrimaryUserProfiles); in setUp()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java625 List<UserInfo> users = mUserManager.getUsers(); in migrateOldData()
660 List<UserInfo> users = mUserManager.getUsers(); in migrateOldData()
686 final List<UserInfo> users = mUserManager.getUsers(); in migrateOldData()
709 final List<UserInfo> users = mUserManager.getUsers(); in migrateOldData()
787 for (UserInfo userInfo : mUserManager.getUsers()) { in migrateFrpCredential()
2416 List<UserInfo> users = mUserManager.getUsers(); in dump()
2535 List<UserInfo> users = mUserManager.getUsers(); in clearFrpCredentialIfOwnerNotSecure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java80 for (UserInfo user : UserManager.get(mContext).getUsers()) { in TunerServiceImpl()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java243 for(UserInfo userInfo : userManager.getUsers()) { in enablePackageForAllUsers()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java314 List<UserInfo> users = userManager.getUsers(); in getSecondaryUserId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java315 List<UserInfo> users = userMgr.getUsers(); in migrateLegacyLastStackActiveTime()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java145 List<UserInfo> users = mUserManager.getUsers(true); // exclude dying users in startMonitoring()

123