Home
last modified time | relevance | path

Searched refs:profileIds (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java259 IntArray profileIds = new IntArray();
260 profileIds.add(UserHandle.USER_SYSTEM);
261 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
263 profileIds = new IntArray();
264 profileIds.add(UserHandle.USER_CURRENT);
265 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
271 IntArray profileIds = new IntArray();
272 profileIds.add(UserHandle.USER_CURRENT);
273 profileIds.add(UserHandle.USER_SYSTEM);
274 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
[all …]
DNotificationAssistantsTest.java107 IntArray profileIds = new IntArray(); in setUp() local
108 profileIds.add(0); in setUp()
109 profileIds.add(11); in setUp()
110 profileIds.add(10); in setUp()
111 profileIds.add(12); in setUp()
112 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds); in setUp()
DManagedServicesTest.java128 IntArray profileIds = new IntArray(); in setUp() local
129 profileIds.add(0); in setUp()
130 profileIds.add(11); in setUp()
131 profileIds.add(10); in setUp()
132 profileIds.add(12); in setUp()
133 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds); in setUp()
/frameworks/base/services/core/java/com/android/server/wm/
DRunningTasks.java44 int callingUid, boolean allowed, boolean crossUser, ArraySet<Integer> profileIds) { in getTasks() argument
59 callingUid, allowed, crossUser, profileIds); in getTasks()
DRecentTasks.java658 Set<Integer> profileIds = getProfileIds(userId); in removeAllVisibleTasks() local
661 if (!profileIds.contains(tr.userId)) continue; in removeAllVisibleTasks()
DRootActivityContainer.java2280 boolean allowed, boolean crossUser, ArraySet<Integer> profileIds) { in getRunningTasks() argument
2282 ignoreWindowingMode, mActivityDisplays, callingUid, allowed, crossUser, profileIds); in getRunningTasks()
DActivityTaskManagerService.java2530 final int[] profileIds = getUserManager().getProfileIds( in getFilteredTasks() local
2533 for (int i = 0; i < profileIds.length; i++) { in getFilteredTasks()
2534 callingProfileIds.add(profileIds[i]); in getFilteredTasks()
DActivityStack.java5247 boolean crossUser, ArraySet<Integer> profileIds) { in getRunningTasks() argument
5258 if (task.userId != userId && !crossUser && !profileIds.contains(task.userId)) { in getRunningTasks()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java487 int[] profileIds = mUserManager.getEnabledProfileIds(userId); in reloadWidgetsMaskedStateForGroup() local
488 for (int profileId : profileIds) { in reloadWidgetsMaskedStateForGroup()
706 final int[] profileIds = mSecurityPolicy.getEnabledGroupProfileIds(userId); in ensureGroupStateLoadedLocked() local
712 final int profileIdCount = profileIds.length; in ensureGroupStateLoadedLocked()
714 final int profileId = profileIds[i]; in ensureGroupStateLoadedLocked()
716 profileIds[i] = LOADED_PROFILE_ID; in ensureGroupStateLoadedLocked()
729 final int profileId = profileIds[i]; in ensureGroupStateLoadedLocked()
2106 final int[] profileIds = mSecurityPolicy.getEnabledGroupProfileIds(userId); in scheduleNotifyGroupHostsForProvidersChangedLocked() local
2113 final int M = profileIds.length; in scheduleNotifyGroupHostsForProvidersChangedLocked()
2115 final int profileId = profileIds[j]; in scheduleNotifyGroupHostsForProvidersChangedLocked()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java1230 Set<Integer> profileIds = new HashSet<>(); in getProfileIds() local
1231 profileIds.add(TEST_USER_0_ID); in getProfileIds()
1232 profileIds.add(TEST_QUIET_USER_ID); in getProfileIds()
1233 return profileIds; in getProfileIds()
1304 int callingUid, boolean allowed, boolean crossUser, ArraySet<Integer> profileIds) { in getTasks() argument
1307 callingUid, allowed, crossUser, profileIds); in getTasks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java836 final int[] profileIds = um.getEnabledProfileIds(currentUserId);
837 for (final int id : profileIds) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java658 final int profileIds[] = mUm.getProfileIdsWithDisabled(UserHandle.myUserId()); in addUser() local
659 if (ArrayUtils.contains(profileIds, userId)) { in addUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java748 IntArray profileIds = getProfileIdsLU(userId, enabledOnly); in getProfilesLU() local
749 ArrayList<UserInfo> users = new ArrayList<>(profileIds.size()); in getProfilesLU()
750 for (int i = 0; i < profileIds.size(); i++) { in getProfilesLU()
751 int profileId = profileIds.get(i); in getProfilesLU()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2945 int[] profileIds = mUserManager.getProfileIdsWithDisabled(userHandle);
2946 for (int profileId : profileIds) {
9320 int[] profileIds = mUserManager.getProfileIdsWithDisabled(userId); in getPermittedAccessibilityServicesForUser() local
9321 for (int profileId : profileIds) { in getPermittedAccessibilityServicesForUser()
9494 int[] profileIds = InputMethodSystemProperty.PER_PROFILE_IME_ENABLED in getPermittedInputMethodsForCurrentUser() local
9497 for (int profileId : profileIds) { in getPermittedInputMethodsForCurrentUser()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2013 IntArray profileIds = mUserProfiles.getCurrentProfileIds();
2014 int N = profileIds.size();
2016 int profileId = profileIds.get(i);