/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowUserManagerTest.java | 83 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/ |
D | RobolectricTestUtilities.java | 134 .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/ |
D | gocovmerge.go | 71 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/ |
D | ShadowCamcorderProfile.java | 18 public static void addProfile(int cameraId, int quality, CamcorderProfile profile) { in addProfile() method in ShadowCamcorderProfile
|
D | ShadowUserManager.java | 192 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/ |
D | ShadowUserManagerTest.java | 155 shadowOf(userManager).addProfile( in isManagedProfileWithHandle() 371 shadowOf(userManager).addProfile( in getProfiles_addedProfile_containsProfile()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowUserManager.java | 156 public void addProfile( in addProfile() method in ShadowUserManager
|