Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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()
DSnoozeHelperTest.java239 IntArray profileIds = new IntArray();
240 profileIds.add(UserHandle.USER_SYSTEM);
241 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
243 profileIds = new IntArray();
244 profileIds.add(UserHandle.USER_CURRENT);
245 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
251 IntArray profileIds = new IntArray();
252 profileIds.add(UserHandle.USER_CURRENT);
253 profileIds.add(UserHandle.USER_SYSTEM);
254 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
[all …]
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/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()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java658 Set<Integer> profileIds = getProfileIds(userId); in removeAllVisibleTasks() local
661 if (!profileIds.contains(tr.userId)) continue; in removeAllVisibleTasks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java835 final int[] profileIds = um.getEnabledProfileIds(currentUserId);
836 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.java703 IntArray profileIds = getProfileIdsLU(userId, enabledOnly); in getProfilesLU() local
704 ArrayList<UserInfo> users = new ArrayList<>(profileIds.size()); in getProfilesLU()
705 for (int i = 0; i < profileIds.size(); i++) { in getProfilesLU()
706 int profileId = profileIds.get(i); in getProfilesLU()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2937 int[] profileIds = mUserManager.getProfileIdsWithDisabled(userHandle);
2938 for (int profileId : profileIds) {
9311 int[] profileIds = mUserManager.getProfileIdsWithDisabled(userId); in getPermittedAccessibilityServicesForUser() local
9312 for (int profileId : profileIds) { in getPermittedAccessibilityServicesForUser()
9485 int[] profileIds = InputMethodSystemProperty.PER_PROFILE_IME_ENABLED in getPermittedInputMethodsForCurrentUser() local
9488 for (int profileId : profileIds) { in getPermittedInputMethodsForCurrentUser()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1940 IntArray profileIds = mUserProfiles.getCurrentProfileIds();
1941 int N = profileIds.size();
1943 int profileId = profileIds.get(i);