/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DirectoryLoader.java | 128 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()
|
D | ProfileTabs.java | 106 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/ |
D | FixedActivityServiceTest.java | 138 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/ |
D | ProfileTabsTest.java | 170 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/ |
D | TestUserIdManager.java | 25 public List<UserId> userIds = new ArrayList<>(); field in TestUserIdManager 31 return userIds; in getUserIds()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureSettings.java | 202 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/ |
D | RootsFragment.java | 357 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()
|
D | RootItemListBuilder.java | 58 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/ |
D | UserTestingHelper.java | 50 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/ |
D | AndroidMockitoHelper.java | 130 @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/ |
D | CarUserManagerUnitTest.java | 637 private void setExistingUsers(int... userIds) { in setExistingUsers() argument 638 mockUmGetAliveUsers(mUserManager, userIds); in setExistingUsers()
|
D | InitialUserSetterTest.java | 993 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/ |
D | AppsRowManagerTest.java | 90 mTestUserIdManager.userIds = in setUp()
|