Searched refs:userProfile (Results 1 – 2 of 2) sorted by relevance
103 UserInfo userProfile = new UserInfo(); in setUp() local104 userProfile.id = mProfileId; in setUp()105 mUsers.add(userProfile); in setUp()108 mProfiles = new int[] {userSystem.id, userProfile.id}; in setUp()112 when(mUserManager.getProfileIds(userProfile.id, true)) in setUp()113 .thenReturn(new int[] {userProfile.id}); in setUp()115 when(mUserManager.getProfileParent(userProfile.id)).thenReturn(userSystem); in setUp()
1353 UserInfo userProfile = createProfileForUser("Managed 1", in testCreateProfile_withContextUserId() local1355 assertThat(userProfile).isNotNull(); in testCreateProfile_withContextUserId()1363 assertThat(profiles.get(0).equals(userProfile.getUserHandle()) in testCreateProfile_withContextUserId()1364 || profiles.get(1).equals(userProfile.getUserHandle())).isTrue(); in testCreateProfile_withContextUserId()