Searched refs:CORP_USER (Results 1 – 3 of 3) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | UserUtilsTest.java | 51 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testGetCorpUser() 54 assertEquals(MockUserManager.CORP_USER.id, UserUtils.getCorpUserId(c)); in testGetCorpUser() 56 um.myUser = MockUserManager.CORP_USER.id; in testGetCorpUser() 61 MockUserManager.CORP_USER); in testGetCorpUser() 64 assertEquals(MockUserManager.CORP_USER.id, UserUtils.getCorpUserId(c)); in testGetCorpUser() 66 um.myUser = MockUserManager.CORP_USER.id; in testGetCorpUser()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 171 public static final UserInfo CORP_USER = createUserInfo("corp", 10, 0, field in ContactsActor.MockUserManager
|
D | ContactsProvider2Test.java | 2114 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpCorpProvider() 2118 final int userId = MockUserManager.CORP_USER.id; in setUpCorpProvider() 2132 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpNullCorpProvider() 2136 "" + MockUserManager.CORP_USER.id + "@com.android.contacts", in setUpNullCorpProvider() 2137 new AlteringUserContext(mActor.getProviderContext(), MockUserManager.CORP_USER.id)); in setUpNullCorpProvider() 2884 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testQueryCorpContactsProvider()
|