Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java63 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in setup()
123 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in testProfileBadgeUnique()
210 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()
442 List<UserInfo> list = mUserManager.getUsers(); in findUser()
480 int count = mUserManager.getUsers().size(); in testMaxUsers()
494 int count = mUserManager.getUsers().size(); in testGetUserCount()
DUserManagerServiceUserInfoTest.java67 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in setup()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java105 when(mUm.getUsers()).thenReturn(users); in setUp()
106 when(mUm.getUsers(anyBoolean())).thenReturn(users); in setUp()
120 verify(mNm, times(mUm.getUsers().size())).setDefaultAssistantForUser(anyInt()); in testXmlUpgrade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java193 List<UserInfo> infos = mUserManager.getUsers(true); in refreshUsers()
590 public ArrayList<UserRecord> getUsers() { in getUsers() method in UserSwitcherController
610 return mController.getUsers().size(); in getUserCount()
613 final int N = mController.getUsers().size(); in getUserCount()
616 if (mController.getUsers().get(i).isGuest) continue; in getUserCount()
617 if (mController.getUsers().get(i).isRestricted) { in getUserCount()
632 return mController.getUsers().size(); in getCount()
635 final int N = mController.getUsers().size(); in getCount()
638 if (mController.getUsers().get(i).isRestricted) { in getCount()
649 return mController.getUsers().get(position); in getItem()
DUserInfoControllerImpl.java173 if (um.getUsers().size() <= 1) { in queryForUserInformation()
/frameworks/base/core/java/android/os/
DUserManager.java2342 List<UserInfo> users = getUsers(); in getUserCount()
2355 public List<UserInfo> getUsers() { in getUsers() method in UserManager
2357 return mService.getUsers(false); in getUsers()
2374 List<UserInfo> users = mService.getUsers(excludeDying); in getSerialNumbersOfUsers()
2440 final List<UserInfo> users = getUsers(true); in canAddMoreUsers()
2767 public @NonNull List<UserInfo> getUsers(boolean excludeDying) { in getUsers() method in UserManager
2769 return mService.getUsers(excludeDying); in getUsers()
2967 List<UserInfo> users = getUsers(true); in isUserSwitcherEnabled()
DIUserManager.aidl56 List<UserInfo> getUsers(boolean excludeDying); in getUsers() method
/frameworks/base/core/java/android/webkit/
DUserPackage.java102 return userManager.getUsers(false); in getAllUsers()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java102 for (UserInfo user : userManager.getUsers()) { in onReceive()
139 List<UserInfo> users = userManager.getUsers(); in onReceive()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java158 for (UserInfo user : userManager.getUsers()) { in handleMessage()
193 List<UserInfo> users = userManager.getUsers(); in handleMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java136 int[] users = mSettings.getUsers(); in testGetUsers()
140 users = mSettings.getUsers(); in testGetUsers()
146 users = mSettings.getUsers(); in testGetUsers()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsUserLifecycleTests.java102 for (UserInfo user : mUm.getUsers()) { in testNoCpuDataForRemovedUser()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceFullAccessList.java104 final List<UserInfo> activeUsers = UserManager.get(mContext).getUsers(true); in readXml()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java118 List<UserInfo> users = mUm.getUsers(); in handleMessage()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java149 List<UserInfo> users = mUserManager.getUsers(); in dump()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java243 protected List<UserInfo> getUsers() { in getUsers() method in RegisteredServicesCacheTest.TestServicesCache
249 for (UserInfo user : getUsers()) { in getUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java109 }).when(mockUserManager).getUsers(); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java210 when(userManager.getUsers()).thenReturn(mUserInfos); in addUser()
211 when(userManager.getUsers(anyBoolean())).thenReturn(mUserInfos); in addUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java88 when(mUm.getUsers()).thenReturn(mUsers); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java148 final List<UserInfo> users = mUser.getUsers(); in measureExactStorage()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java733 for (UserInfo user : getUsers()) { in migrateIfNecessaryLocked()
795 protected List<UserInfo> getUsers() { in getUsers() method in RegisteredServicesCache
796 return UserManager.get(mContext).getUsers(true); in getUsers()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java227 final List<UserInfo> users = um.getUsers(); in AbstractMasterSystemService()
688 final List<UserInfo> users = um.getUsers(); in dumpLocked()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java280 final List<UserInfo> users = um.getUsers(true /*excludeDying*/); in initIfNeeded()
994 final List<UserInfo> liveUsers = mUserManager.getUsers(true /*excludeDying*/); in restoreSettings()
1001 for (int userId : mSettings.getUsers()) { in restoreSettings()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java215 for(UserInfo userInfo : userManager.getUsers()) { in enablePackageForAllUsers()

1234