/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SnoozeHelperTest.java | 259 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 …]
|
D | NotificationAssistantsTest.java | 107 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()
|
D | ManagedServicesTest.java | 128 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/ |
D | RunningTasks.java | 44 int callingUid, boolean allowed, boolean crossUser, ArraySet<Integer> profileIds) { in getTasks() argument 59 callingUid, allowed, crossUser, profileIds); in getTasks()
|
D | RecentTasks.java | 658 Set<Integer> profileIds = getProfileIds(userId); in removeAllVisibleTasks() local 661 if (!profileIds.contains(tr.userId)) continue; in removeAllVisibleTasks()
|
D | RootActivityContainer.java | 2280 boolean allowed, boolean crossUser, ArraySet<Integer> profileIds) { in getRunningTasks() argument 2282 ignoreWindowingMode, mActivityDisplays, callingUid, allowed, crossUser, profileIds); in getRunningTasks()
|
D | ActivityTaskManagerService.java | 2530 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()
|
D | ActivityStack.java | 5247 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/ |
D | AppWidgetServiceImpl.java | 487 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/ |
D | RecentTasksTest.java | 1230 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/ |
D | GlobalActionsDialog.java | 836 final int[] profileIds = um.getEnabledProfileIds(currentUserId); 837 for (final int id : profileIds) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 658 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/ |
D | UserManagerService.java | 748 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/ |
D | DevicePolicyManagerService.java | 2945 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/ |
D | NotificationManagerService.java | 2013 IntArray profileIds = mUserProfiles.getCurrentProfileIds(); 2014 int N = profileIds.size(); 2016 int profileId = profileIds.get(i);
|