Searched refs:mUserInfos (Results 1 – 3 of 3) sorted by relevance
32 private List<UserInfo> mUserInfos = addProfile(0, "Owner"); field in ShadowUserManager41 return mUserInfos.stream().mapToInt(s -> s.id).toArray(); in getProfileIdsWithDisabled()46 return mUserInfos; in getProfiles()50 List<UserInfo> userInfoList = mUserInfos; in addProfile()
186 private final ArrayList<UserInfo> mUserInfos = new ArrayList<>(); field in MockSystemServices209 mUserInfos.add(uh); in addUser()210 when(userManager.getUsers()).thenReturn(mUserInfos); in addUser()211 when(userManager.getUsers(anyBoolean())).thenReturn(mUserInfos); in addUser()252 for (int i = 0; i < mUserInfos.size(); i++) { in removeUser()253 if (mUserInfos.get(i).id == userId) { in removeUser()254 mUserInfos.remove(i); in removeUser()264 for (final UserInfo ui : mUserInfos) { in getUserInfo()275 for (final UserInfo ui : mUserInfos) { in getProfiles()284 for (final UserInfo ui : mUserInfos) { in getProfiles()
721 protected final Map<Integer, UserInfo> mUserInfos = new HashMap<>(); field in BaseShortcutManagerTest804 mUserInfos.put(USER_0, USER_INFO_0); in setUp()805 mUserInfos.put(USER_10, USER_INFO_10); in setUp()806 mUserInfos.put(USER_11, USER_INFO_11); in setUp()807 mUserInfos.put(USER_P0, USER_INFO_P0); in setUp()808 mUserInfos.put(USER_P1, USER_INFO_P1); in setUp()818 final UserInfo ui = mUserInfos.get(userId); in setUp()823 final UserInfo parent = mUserInfos.get(ui.profileGroupId); in setUp()835 final UserInfo callingUserInfo = mUserInfos.get(callingUserId); in setUp()836 final UserInfo targetUserInfo = mUserInfos.get(targetUserId); in setUp()[all …]