Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java55 List<UserInfo> list = mUserManager.getUsers(); in removeExistingUsers()
72 List<UserInfo> list = mUserManager.getUsers(); in testAddUser()
135 List<UserInfo> list = mUserManager.getUsers(); in findUser()
161 int count = mUserManager.getUsers().size(); in testMaxUsers()
183 List<UserInfo> users = mUserManager.getUsers(); in testRestrictions()
/frameworks/base/core/java/android/os/
DUserManager.java849 List<UserInfo> users = getUsers(); in getUserCount()
859 public List<UserInfo> getUsers() { in getUsers() method in UserManager
861 return mService.getUsers(false); in getUsers()
876 final List<UserInfo> users = getUsers(true); in canAddMoreUsers()
1023 public List<UserInfo> getUsers(boolean excludeDying) { in getUsers() method in UserManager
1025 return mService.getUsers(excludeDying); in getUsers()
1115 List<UserInfo> users = getUsers(true); in isUserSwitcherEnabled()
DIUserManager.aidl36 List<UserInfo> getUsers(boolean excludeDying); in getUsers() method
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java180 List<UserInfo> userInfos = mUserManager.getUsers(true /* excludeDying */); in updateTrustAll()
214 userInfos = mUserManager.getUsers(true /* excludeDying */); in refreshAgentList()
304 userInfos = mUserManager.getUsers(true /* excludeDying */); in refreshDeviceLockedForUser()
716 final List<UserInfo> userInfos = mUserManager.getUsers(true /* excludeDying */);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoController.java163 if (um.getUsers().size() <= 1) { in queryForUserInformation()
DUserSwitcherController.java137 List<UserInfo> infos = mUserManager.getUsers(true); in refreshUsers()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DEnableAccessibilityController.java228 final boolean hasMoreThanOneUser = mUserManager.getUsers().size() > 1; in enableAccessibility()
DGlobalActions.java481 List<UserInfo> users = um.getUsers();
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java141 List<UserInfo> users = mUserManager.getUsers(true); // exclude dying users in startMonitoring()
DVpn.java432 users = UserManager.get(mContext).getUsers(); in agentConnect()
/frameworks/base/core/java/android/provider/
DCallLog.java529 List<UserInfo> users = userManager.getUsers(true); in addCall()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java241 for (UserInfo user : um.getUsers()) { in findUser()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java139 final List<UserInfo> users = mUserManager.getUsers(true); in cleanUpRemovedUsersLocked()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java150 List<UserInfo> users = um.getUsers(); in migrateOldData()
DMountService.java1382 for (UserInfo user : userManager.getUsers(false)) { in readStorageListLocked()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java156 List<UserInfo> users = um.getUsers(); in onCreate()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java833 List<UserInfo> users = getUserManager().getUsers(); in addAccountToLimitedUsers()
1035 List<UserInfo> users = mUserManager.getUsers(true); in renameAccountInternal()
1249 List<UserInfo> users = mUserManager.getUsers(true); in removeAccountInternal()
2199 final List<UserInfo> users = getUserManager().getUsers(); in getAllAccounts()
2939 final List<UserInfo> users = getUserManager().getUsers(); in dump()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardHostView.java1036 mKeyguardMultiUserSelectorView.addUsers(um.getUsers(true)); in enableUserSelectorIfNecessary()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java528 final List<UserInfo> users = UserManager.get(mContext).getUsers(true); in isLockScreenDisabled()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1609 List<UserInfo> users = mUserManager.getUsers(true); in systemReady()
1632 List<UserInfo> allUsers = mUserManager.getUsers(); in cleanUpOldUsers()
1677 for (UserInfo userInfo : mUserManager.getUsers()) { in doInBackground()
5421 List<UserInfo> users = mUserManager.getUsers(true); in updateUserSetupComplete()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java666 users = ((UserManager) mContext.getSystemService(Context.USER_SERVICE)).getUsers(); in hasNamedWallpaper()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java253 return mUserManager.getUsers(); in getAllUsers()
291 for (UserInfo user : mUserManager.getUsers(true)) { in doDatabaseCleanup()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java1243 List<UserInfo> users = mUm.getUsers(false); in runListUsers()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java262 public List<UserInfo> getUsers(boolean excludeDying) { in getUsers() method in UserManagerService
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1975 final List<UserInfo> users = um.getUsers(); in updateRulesForGlobalChangeLocked()

12