Home
last modified time | relevance | path

Searched refs:userIds (Results 1 – 13 of 13) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDirectoryLoader.java128 final List<UserId> userIds = new ArrayList<>(); in loadInBackground() local
135 userIds.add(userId); in loadInBackground()
140 if (userIds.isEmpty()) { in loadInBackground()
141 userIds.add(mRoot.userId); in loadInBackground()
144 if (userIds.size() == 1) { in loadInBackground()
173 cursor = queryOnUsers(userIds, authority, queryArgs); in loadInBackground()
220 private Cursor queryOnUsers(List<UserId> userIds, String authority, Bundle queryArgs) in queryOnUsers() argument
222 final List<Cursor> cursors = new ArrayList<>(userIds.size()); in queryOnUsers()
223 for (UserId userId : userIds) { in queryOnUsers()
DProfileTabs.java106 List<UserId> userIds = mUserIdManager.getUserIds(); in updateTabsIfNeeded() local
110 if (!userIds.equals(mUserIds)) { in updateTabsIfNeeded()
111 mUserIds = userIds; in updateTabsIfNeeded()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DFixedActivityServiceTest.java138 int[] userIds = new int[] { userId }; in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity() local
145 createRootTaskInfo(intent, userIds, mValidDisplayId, taskIds) in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
166 int[] userIds = new int[] { userId }; in testStartFixedActivityModeForDisplayAndUser_runNewActivity() local
175 createRootTaskInfo(intent, userIds, mValidDisplayId, taskIds) in testStartFixedActivityModeForDisplayAndUser_runNewActivity()
194 int[] userIds = new int[] { userId }; in testStartFixedActivityModeForDisplay_relaunchWithPackageUpdated() local
205 createRootTaskInfo(intent, userIds, mValidDisplayId, taskIds) in testStartFixedActivityModeForDisplay_relaunchWithPackageUpdated()
374 private List<RootTaskInfo> createRootTaskInfo(Intent intent, @UserIdInt int[] userIds, in createRootTaskInfo() argument
377 taskInfo.childTaskUserIds = userIds; in createRootTaskInfo()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DProfileTabsTest.java170 mTestUserIdManager.userIds = Collections.singletonList(systemUser); in testUpdateView_getSelectedUser_afterUsersChanged()
224 private void initializeWithUsers(UserId... userIds) { in initializeWithUsers() argument
225 mTestUserIdManager.userIds = Lists.newArrayList(userIds); in initializeWithUsers()
226 for (UserId userId : userIds) { in initializeWithUsers()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestUserIdManager.java25 public List<UserId> userIds = new ArrayList<>(); field in TestUserIdManager
31 return userIds; in getUserIds()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java202 final ArrayList<Integer> userIds = new ArrayList<>(); in collectPipApps() local
204 userIds.add(user.id); in collectPipApps()
207 for (int id : userIds) { in collectPipApps()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java357 List<UserId> userIds, in sortLoadResult() argument
361 final RootItemListBuilder librariesBuilder = new RootItemListBuilder(selectedUser, userIds); in sortLoadResult()
363 userIds); in sortLoadResult()
407 otherProviders, userIds, maybeShowBadge); in sortLoadResult()
442 List<Item> rootListOtherUser, List<RootItem> otherProviders, List<UserId> userIds, in includeHandlerApps() argument
451 for (UserId userId : userIds) { in includeHandlerApps()
DRootItemListBuilder.java58 RootItemListBuilder(UserId selectedUser, List<UserId> userIds) { in RootItemListBuilder() argument
60 mUserIds = userIds; in RootItemListBuilder()
/packages/services/Car/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java50 public static List<UserInfo> newUsers(@UserIdInt int... userIds) { in newUsers() argument
51 return Arrays.stream(userIds) in newUsers()
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java130 @NonNull @UserIdInt int... userIds) { in mockUmGetAliveUsers() argument
131 List<UserInfo> users = UserTestingHelper.newUsers(userIds); in mockUmGetAliveUsers()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserManagerUnitTest.java637 private void setExistingUsers(int... userIds) { in setExistingUsers() argument
638 mockUmGetAliveUsers(mUserManager, userIds); in setExistingUsers()
DInitialUserSetterTest.java993 private void mockGeAliveUsers(@NonNull @UserIdInt int... userIds) { in mockGeAliveUsers() argument
994 mockUmGetAliveUsers(mUm, userIds); in mockGeAliveUsers()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAppsRowManagerTest.java90 mTestUserIdManager.userIds = in setUp()