Home
last modified time | relevance | path

Searched refs:getProfileIds (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DUserInfoHelper.java135 int[] fromUserIds = getProfileIds(fromUserId); in dispatchOnCurrentUserChanged()
136 int[] toUserIds = getProfileIds(toUserId); in dispatchOnCurrentUserChanged()
194 private int[] getProfileIds(@UserIdInt int userId) { in getProfileIds() method in UserInfoHelper
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java116 int[] users = mUserManagerService.getProfileIds(UserHandle.USER_SYSTEM, userType1, false); in testGetProfileIds_specifyType()
120 users = mUserManagerService.getProfileIds(secondaryUser.id, userType1, false); in testGetProfileIds_specifyType()
125 users = mUserManagerService.getProfileIds(profile.id, userType1, false); in testGetProfileIds_specifyType()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowUserManager.java45 public int[] getProfileIds(@UserIdInt int userId, boolean enabledOnly) { in getProfileIds() method in ShadowUserManager
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/user/
DTvUserManager.java90 int[] userIds = mUserManager.getProfileIds(mUserId, enabledOnly); in getUserProfiles()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java108 when(mUserManager.getProfileIds(userSystem.id, true)).thenReturn(mProfiles); in setUp()
109 when(mUserManager.getProfileIds(userFullSecondary.id, true)) in setUp()
111 when(mUserManager.getProfileIds(userProfile.id, true)) in setUp()
DValidateNotificationPeopleTest.java195 when(mockUserManager.getProfileIds(personalUserId, /* enabledOnly= */ true)) in testSearchContacts_workContact_queriesWorkContactProvider()
/frameworks/base/core/java/android/os/
DIUserManager.aidl60 int[] getProfileIds(int userId, boolean enabledOnly); in getProfileIds() method
DUserManager.java3440 int[] userIds = getProfileIds(UserHandle.myUserId(), true /* enabledOnly */); in getUserProfiles()
3489 final int[] userIds = getProfileIds(mUserId, enabledOnly); in getProfiles()
3509 public @NonNull int[] getProfileIds(@UserIdInt int userId, boolean enabledOnly) { in getProfileIds() method in UserManager
3511 return mService.getProfileIds(userId, enabledOnly); in getProfileIds()
3525 return getProfileIds(userId, false /* enabledOnly */); in getProfileIdsWithDisabled()
3535 return getProfileIds(userId, true /* enabledOnly */); in getEnabledProfileIds()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java425 .getProfileIds(mInjector.getCallingUserId(), /* enabledOnly= */ false);
580 final int[] profileIds = mInjector.getUserManager().getProfileIds(
623 mInjector.getUserManager().getProfileIds(userId, /* enabledOnly= */ false);
DUserManagerService.java804 public int[] getProfileIds(@UserIdInt int userId, boolean enabledOnly) { in getProfileIds() method in UserManagerService
805 return getProfileIds(userId, null, enabledOnly); in getProfileIds()
816 public int[] getProfileIds(@UserIdInt int userId, @Nullable String userType, in getProfileIds() method in UserManagerService
2294 final int userTypeCount = getProfileIds(userId, userType, false).length; in canAddMoreProfilesToUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupManagerServiceTest.java544 when(mUserManagerMock.getProfileIds(UserHandle.getCallingUserId(), false)) in testGetUserForAncestralSerialNumber_forSystemUser()
558 when(mUserManagerMock.getProfileIds(UserHandle.getCallingUserId(), false)) in testGetUserForAncestralSerialNumber_forNonSystemUser()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java278 int[] profiles = mInjector.getProfileIds(mUserManager, userId); in getEvents()
1099 public int[] getProfileIds(UserManager userManager, int userId) { in getProfileIds() method in BrightnessTracker.Injector
1101 return userManager.getProfileIds(userId, false); in getProfileIds()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java677 Set<Integer> profileIds = getProfileIds(userId); in removeAllVisibleTasks()
849 Set<Integer> getProfileIds(int userId) { in getProfileIds() method in RecentTasks
851 int[] profileIds = mService.getUserManager().getProfileIds(userId, false /* enabledOnly */); in getProfileIds()
895 final Set<Integer> includedUsers = getProfileIds(userId); in getRecentTasksImpl()
DActivityTaskManagerService.java2686 final int[] profileIds = getUserManager().getProfileIds( in getFilteredTasks()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryManager.java388 int[] profiles = mUserManager.getProfileIds(userId, true); in update()
DValidateNotificationPeople.java427 userManager.getProfileIds(context.getUserId(), /* enabledOnly= */ true); in findWorkUserId()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java481 doReturn(TEST_USER_PROFILE_IDS).when(ums).getProfileIds(anyInt(), eq(true));
DRecentTasksTest.java1321 Set<Integer> getProfileIds(int userId) { in getProfileIds() method in RecentTasksTest.TestRecentTasks
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1409 userIds = getUserManager().getProfileIds(callingUserId, false); in getUserForAncestralSerialNumber()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java978 public int[] getProfileIds(UserManager userManager, int userId) { in getProfileIds() method in BrightnessTrackerTest.TestInjector
/frameworks/base/services/
Dart-profile14878 PLcom/android/server/display/BrightnessTracker$Injector;->getProfileIds(Landroid/os/UserManager;I)[I
26533 HSPLcom/android/server/pm/UserManagerService;->getProfileIds(ILjava/lang/String;Z)[I
26534 HSPLcom/android/server/pm/UserManagerService;->getProfileIds(IZ)[I
37481 HPLcom/android/server/wm/RecentTasks;->getProfileIds(I)Ljava/util/Set;
/frameworks/base/config/
Dboot-image-profile.txt15552 HSPLandroid/os/IUserManager$Stub$Proxy;->getProfileIds(IZ)[I
16437 HSPLandroid/os/UserManager;->getProfileIds(IZ)[I