Home
last modified time | relevance | path

Searched refs:getUserIds (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DScanTests.java76 when(mMockUserManager.getUserIds()).thenReturn(new int[]{0}); in setupDefaultUser()
115 when(mMockUserManager.getUserIds()).thenReturn(userIds); in newInstallForAllUsers()
153 when(mMockUserManager.getUserIds()).thenReturn(new int[]{0}); in updateSimpleNominal()
184 when(mMockUserManager.getUserIds()).thenReturn(new int[]{0}); in updateInstantSimpleNominal()
336 when(mMockUserManager.getUserIds()).thenReturn(new int[]{0}); in updateInstant_changeToFull()
357 when(mMockUserManager.getUserIds()).thenReturn(new int[]{0}); in updateFull_changeToInstant()
/frameworks/base/core/java/android/os/
DUserManagerInternal.java189 public abstract int[] getUserIds(); in getUserIds() method in UserManagerInternal
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java232 for (int userId : UserManagerService.getInstance().getUserIds()) { in registerCarrierConfigChangedReceiver()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java636 final int[] userIds = mUserManagerInt.getUserIds(); in revokeRuntimePermissionsIfGroupChanged()
896 final int[] currentUserIds = UserManagerService.getInstance().getUserIds(); in restorePermissionState()
916 ps.getSharedUser(), UserManagerService.getInstance().getUserIds()); in restorePermissionState()
1066 for (int userId : UserManagerService.getInstance().getUserIds()) { in restorePermissionState()
1410 int[] users = UserManagerService.getInstance().getUserIds(); in revokePermissionsNoLongerImplicitLocked()
1519 return UserManagerService.getInstance().getUserIds(); in checkIfLegacyStorageOpsNeedToBeUpdated()
1573 int[] users = UserManagerService.getInstance().getUserIds(); in setInitialGrantForNewImplicitPermissionsLocked()
1988 for (int userId : mUserManagerInt.getUserIds()) { in grantRuntimePermissionsGrantedToDisabledPackageLocked()
2684 final int[] userIds = mUserManagerInt.getUserIds(); in updatePermissions()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java2341 ? sUserManager.getUserIds() : new int[]{userId}; in scheduleWritePackageRestrictionsLocked()
3234 final int[] userIds = UserManagerService.getInstance().getUserIds(); in PackageManagerService()
4813 final int[] allUsers = sUserManager.getUserIds();
5691 for (int userId : UserManagerService.getInstance().getUserIds()) {
10240 return (userId == UserHandle.USER_ALL) ? sUserManager.getUserIds() : new int[] { userId };
10636 deletePackageLIF(pkg.packageName, null, true, sUserManager.getUserIds(),
13072 for (int checkUserId : sUserManager.getUserIds()) {
13155 for (int currentUserId : userManager.getUserIds()) {
13402 final int[] userIds = (affectedUser == UserHandle.USER_ALL) ? sUserManager.getUserIds()
14249 final int[] allUsers = sUserManager.getUserIds();
[all …]
DInstantAppRegistry.java689 allUsers = PackageManagerService.sUserManager.getUserIds(); in pruneInstantApps()
773 for (int userId : UserManagerService.getInstance().getUserIds()) { in pruneInstantApps()
DUserManagerService.java2090 public int[] getUserIds() { in getUserIds() method in UserManagerService
4300 public int[] getUserIds() { in getUserIds() method in UserManagerService.LocalService
4301 return UserManagerService.this.getUserIds(); in getUserIds()
DSettings.java1299 for (int userId : UserManagerService.getInstance().getUserIds()) { in writeAllRuntimePermissionsLPr()
4957 for (int userId : UserManagerService.getInstance().getUserIds()) { in dumpSharedUsersLPr()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java1324 return userManagerInternal.getUserIds(); in resolveUserId()
1327 for (int userId : userManagerInternal.getUserIds()) { in resolveUserId()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java186 public int[] getUserIds() { in BatteryStatsService()
190 return (umi != null) ? umi.getUserIds() : null; in BatteryStatsService()
DUserController.java1949 return ums != null ? ums.getUserIds() : new int[] { 0 };
1956 int[] getUserIds() {
1957 return mInjector.getUserManager().getUserIds();
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java221 for (int userId : um.getUserIds()) { in onBootPhase()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java664 int[] userIds = mUserManagerInternal.getUserIds(); in dump()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java347 userIds = mUserManager.getUserIds(); in onReceive()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1123 mJobs.removeJobsOfNonUsers(umi.getUserIds()); in cancelJobsForNonExistentUsers()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java349 protected abstract @Nullable int[] getUserIds(); in getUserIds() method in BatteryStatsImpl.UserInfoProvider
352 userIds = getUserIds(); in refreshUserIds()
/frameworks/base/services/
Dart-profile3139 HSPLcom/android/server/am/BatteryStatsService$1;->getUserIds()[I
11745 HSPLcom/android/server/pm/UserManagerService$LocalService;->getUserIds()[I
11793 HSPLcom/android/server/pm/UserManagerService;->getUserIds()[I
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt53983 Landroid/os/UserManagerInternal;->getUserIds()[I
88463 Lcom/android/internal/os/BatteryStatsImpl$UserInfoProvider;->getUserIds()[I