Home
last modified time | relevance | path

Searched refs:addProfile (Results 1 – 7 of 7) sorted by relevance

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java83 shadowOf(userManager).addProfile(0, 2, "profile", /* profileFlags= */ 0); in getUserProfiles_calledFromProfile_shouldReturnList()
198 .addProfile( in isManagedProfile_usesContextUser()
211 .addProfile(12, 13, "another managed profile", ShadowUserManager.FLAG_MANAGED_PROFILE); in isManagedProfileWithHandle()
237 shadowOf(userManager).addProfile(0, PROFILE_USER_HANDLE, profileUserInfo); in isCloneProfile_usesContextUser()
312 shadowOf(userManager).addProfile(10, 11, "profile", 0); in shouldGetSerialNumberForProfile()
321 shadowOf(userManager).addProfile(10, 11, "profile", 0); in shouldGetUserHandleFromSerialNumberForProfile()
682 shadowOf(userManager).addProfile(10, 11, "profile", 0); in getUsers()
697 shadowOf(userManager).addProfile(10, 11, "profile_user", 0); in getUserInfoOfProfile()
698 shadowOf(userManager).addProfile(10, 12, "profile_user_2", 0); in getUserInfoOfProfile()
699 shadowOf(userManager).addProfile(13, 14, "profile_user_3", 0); in getUserInfoOfProfile()
[all …]
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java134 .addProfile(PERSONAL_PROFILE_USER_ID, PERSONAL_PROFILE_USER_ID, "Personal Profile", 0); in createPersonalUser()
141 .addProfile(PERSONAL_PROFILE_USER_ID, WORK_PROFILE_USER_ID, "Work Profile", 0); in createWorkUser()
142 shadowOf(userManager).addProfile(WORK_PROFILE_USER_ID, WORK_PROFILE_USER_ID, "Work Profile", 0); in createWorkUser()
144 .addProfile(WORK_PROFILE_USER_ID, PERSONAL_PROFILE_USER_ID, "Personal Profile", 0); in createWorkUser()
/external/oss-fuzz/infra/base-images/base-runner/gocoverage/gocovmerge/
Dgocovmerge.go71 func addProfile(profiles []*cover.Profile, p *cover.Profile) []*cover.Profile { func
106 merged = addProfile(merged, p)
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamcorderProfile.java18 public static void addProfile(int cameraId, int quality, CamcorderProfile profile) { in addProfile() method in ShadowCamcorderProfile
DShadowUserManager.java192 addProfile(UserHandle.myUserId(), userHandle.getIdentifier(), "", 0); in addUserProfile()
285 addProfile(context.getUserId(), profileId, name, flags); in createProfile()
312 public void addProfile( in addProfile() method in ShadowUserManager
315 addProfile(userHandle, profileUserHandle, profileUserInfo); in addProfile()
319 public void addProfile(int userHandle, int profileUserHandle, UserInfo profileUserInfo) { in addProfile() method in ShadowUserManager
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java155 shadowOf(userManager).addProfile( in isManagedProfileWithHandle()
371 shadowOf(userManager).addProfile( in getProfiles_addedProfile_containsProfile()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java156 public void addProfile( in addProfile() method in ShadowUserManager