Home
last modified time | relevance | path

Searched refs:CLONE_PROFILE_USER (Results 1 – 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DUserUtilsTest.java84 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CLONE_PROFILE_USER, in testGetCorpUser()
90 um.myUser = MockUserManager.CLONE_PROFILE_USER.id; in testGetCorpUser()
102 MockUserManager.CLONE_PROFILE_USER, MockUserManager.CORP_USER); in testShouldUseParentsContacts()
119 um.myUser = MockUserManager.CLONE_PROFILE_USER.id; in testShouldUseParentsContacts()
122 MockUserManager.CLONE_PROFILE_USER.getUserHandle())); in testShouldUseParentsContacts()
130 MockUserManager.CLONE_PROFILE_USER, MockUserManager.CORP_USER); in testIsParentUser()
133 UserHandle cloneUserHandle = MockUserManager.CLONE_PROFILE_USER.getUserHandle(); in testIsParentUser()
149 MockUserManager.CLONE_PROFILE_USER, MockUserManager.CORP_USER); in testGetProfileParent()
154 um.myUser = MockUserManager.CLONE_PROFILE_USER.id; in testGetProfileParent()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCloneContactsProvider2Test.java19 import static com.android.providers.contacts.ContactsActor.MockUserManager.CLONE_PROFILE_USER;
71 new ContactsActor.AlteringUserContext(getContext(), CLONE_PROFILE_USER.id), in setUp()
74 CLONE_PROFILE_USER); in setUp()
76 CLONE_PROFILE_USER); in setUp()
77 mCloneContactsActor.mockUserManager.myUser = CLONE_PROFILE_USER.id; in setUp()
DContactsActor.java20 import static com.android.providers.contacts.ContactsActor.MockUserManager.CLONE_PROFILE_USER;
179 public static final UserInfo CLONE_PROFILE_USER = createUserInfo("clone", 12, 0, field in ContactsActor.MockUserManager
267 if (CLONE_PROFILE_USER.getUserHandle().equals(userHandle)) { in getUserProperties()
436 mockUserManager.getProcessUserId() == CLONE_PROFILE_USER.id) { in ContactsActor()
437 return CLONE_PROFILE_USER.getUserHandle(); in ContactsActor()