Home
last modified time | relevance | path

Searched refs:getUsers (Results 1 – 25 of 54) 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.java106 List<UserInfo> list = mUserManager.getUsers(); in removeExistingUsers()
128 List<UserInfo> list = mUserManager.getUsers(); in testAddUser()
378 List<UserInfo> list = mUserManager.getUsers(); in findUser()
416 int count = mUserManager.getUsers().size(); in testMaxUsers()
430 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.java196 List<UserInfo> infos = mUserManager.getUsers(true); in refreshUsers()
655 public ArrayList<UserRecord> getUsers() { in getUsers() method in UserSwitcherController
675 return mController.getUsers().size(); in getUserCount()
678 final int N = mController.getUsers().size(); in getUserCount()
681 if (mController.getUsers().get(i).isGuest) continue; in getUserCount()
682 if (mController.getUsers().get(i).isRestricted) { in getUserCount()
697 return mController.getUsers().size(); in getCount()
700 final int N = mController.getUsers().size(); in getCount()
703 if (mController.getUsers().get(i).isRestricted) { in getCount()
714 return mController.getUsers().get(position); in getItem()
DUserInfoControllerImpl.java162 if (um.getUsers().size() <= 1) { in queryForUserInformation()
DSecurityControllerImpl.java320 for (UserInfo user : mUserManager.getUsers()) { in updateState()
/frameworks/base/core/java/android/os/
DUserManager.java1758 List<UserInfo> users = getUsers(); in getUserCount()
1770 public List<UserInfo> getUsers() { in getUsers() method in UserManager
1772 return mService.getUsers(false); in getUsers()
1789 List<UserInfo> users = mService.getUsers(excludeDying); in getSerialNumbersOfUsers()
1855 final List<UserInfo> users = getUsers(true); in canAddMoreUsers()
2139 public @NonNull List<UserInfo> getUsers(boolean excludeDying) { in getUsers() method in UserManager
2141 return mService.getUsers(excludeDying); in getUsers()
2262 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/services/core/java/com/android/server/storage/
DAppCollector.java118 List<UserInfo> users = mUm.getUsers(); in handleMessage()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java279 final List<UserInfo> users = um.getUsers(true /*excludeDying*/); in initIfNeeded()
797 final List<UserInfo> liveUsers = mUserManager.getUsers(true /*excludeDying*/); in restoreSettings()
804 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/core/java/com/android/server/trust/
DTrustManagerService.java193 List<UserInfo> userInfos = mUserManager.getUsers(true /* excludeDying */); in updateTrustAll()
260 userInfos = mUserManager.getUsers(true /* excludeDying */); in refreshAgentList()
413 userInfos = mUserManager.getUsers(true /* excludeDying */); in refreshDeviceLockedForUser()
869 final List<UserInfo> userInfos = mUserManager.getUsers(true /* excludeDying */);
/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/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java80 for (UserInfo user : UserManager.get(mContext).getUsers()) { in TunerServiceImpl()
/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.java310 List<UserInfo> users = userMgr.getUsers(); in migrateLegacyLastStackActiveTime()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java243 for(UserInfo userInfo : userManager.getUsers()) { in enablePackageForAllUsers()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java142 List<UserInfo> users = mUserManager.getUsers(true); // exclude dying users in startMonitoring()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java439 when(userManager.getUsers()).thenReturn(mUserInfos); in addUser()
440 when(userManager.getUsers(anyBoolean())).thenReturn(mUserInfos); in addUser()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java278 for (UserInfo user : UserManager.get(mContext).getUsers(true /* excludeDying */)) { in loadAuthenticatorIds()
1317 for (UserInfo user : UserManager.get(getContext()).getUsers()) { in dumpInternal()
1348 for (UserInfo user : UserManager.get(getContext()).getUsers()) { in dumpProto()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java572 List<UserInfo> users = mUserManager.getUsers(); in migrateOldData()
607 List<UserInfo> users = mUserManager.getUsers(); in migrateOldData()
633 final List<UserInfo> users = mUserManager.getUsers(); in migrateOldData()
656 final List<UserInfo> users = mUserManager.getUsers(); in migrateOldData()
2192 List<UserInfo> users = mUserManager.getUsers(); in dump()

123