shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java
public void addProfile(
      int userHandle, int profileUserHandle, String profileName, int profileFlags) {
    profiles.putIfAbsent(userHandle, new ArrayList<>());
    profiles.get(userHandle).add(new UserInfo(profileUserHandle, profileName, profileFlags));
  }
public void addProfile(
      int userHandle, int profileUserHandle, String profileName, int profileFlags) {
    profiles.putIfAbsent(userHandle, new ArrayList<>());
    profiles.get(userHandle).add(new UserInfo(profileUserHandle, profileName, profileFlags));
  }
public void addProfile ( int userHandle , int profileUserHandle , String profileName , int profileFlags ) { profiles . putIfAbsent ( userHandle , new ArrayList <> ( ) ) ; profiles . get ( userHandle ) . add ( new UserInfo ( profileUserHandle , profileName , profileFlags ) ) ; }
Add a profile to be returned by {@link #getProfiles(int)}.*
Add a profile to be returned by {