Searched refs:addUserProfile (Results 1 – 5 of 5) sorted by relevance
189 userManager.addUserProfile(new UserHandle(1)); in onResume_accountMissing_shouldFinish()201 userManager.addUserProfile(new UserHandle(1)); in onResume_accountPresentOneProfile_shouldNotFinish()213 userManager.addUserProfile(new UserHandle(1)); in onResume_accountPresentTwoProfiles_shouldNotFinish()214 userManager.addUserProfile(new UserHandle(2)); in onResume_accountPresentTwoProfiles_shouldNotFinish()
194 ShadowUserManager.getShadow().addUserProfile(UserHandle.of(fakePrivateProfileId)); in privateProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()229 ShadowUserManager.getShadow().addUserProfile(UserHandle.of(fakePrivateProfileId)); in privateProfileDisallowShareLocationOff_getAllUserLocationServices()
212 mUserManager.addUserProfile(new UserHandle(0)); in setupActivity()239 mUserManager.addUserProfile(new UserHandle(0)); in setupActivityForPosture()
387 public long addUserProfile(UserHandle userHandle) { in addUserProfile() method in ShadowUserManager
242 userManagerShadow.addUserProfile(new UserHandle(123)); in createShadowWorkProfile()