Searched refs:profileIds (Results 1 – 10 of 10) sorted by relevance
107 IntArray profileIds = new IntArray(); in setUp() local108 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()
239 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 …]
128 IntArray profileIds = new IntArray(); in setUp() local129 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()
1230 Set<Integer> profileIds = new HashSet<>(); in getProfileIds() local1231 profileIds.add(TEST_USER_0_ID); in getProfileIds()1232 profileIds.add(TEST_QUIET_USER_ID); in getProfileIds()1233 return profileIds; in getProfileIds()
658 Set<Integer> profileIds = getProfileIds(userId); in removeAllVisibleTasks() local661 if (!profileIds.contains(tr.userId)) continue; in removeAllVisibleTasks()
835 final int[] profileIds = um.getEnabledProfileIds(currentUserId);836 for (final int id : profileIds) {
658 final int profileIds[] = mUm.getProfileIdsWithDisabled(UserHandle.myUserId()); in addUser() local659 if (ArrayUtils.contains(profileIds, userId)) { in addUser()
703 IntArray profileIds = getProfileIdsLU(userId, enabledOnly); in getProfilesLU() local704 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()
2937 int[] profileIds = mUserManager.getProfileIdsWithDisabled(userHandle);2938 for (int profileId : profileIds) {9311 int[] profileIds = mUserManager.getProfileIdsWithDisabled(userId); in getPermittedAccessibilityServicesForUser() local9312 for (int profileId : profileIds) { in getPermittedAccessibilityServicesForUser()9485 int[] profileIds = InputMethodSystemProperty.PER_PROFILE_IME_ENABLED in getPermittedInputMethodsForCurrentUser() local9488 for (int profileId : profileIds) { in getPermittedInputMethodsForCurrentUser()
1940 IntArray profileIds = mUserProfiles.getCurrentProfileIds();1941 int N = profileIds.size();1943 int profileId = profileIds.get(i);