Home
last modified time | relevance | path

Searched refs:PRIMARY_USER (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java142 private static final UserHandle PRIMARY_USER = UserHandle.of(0); field in MissedCallNotifierImplTest
196 cancelNotificationTestInternal(PRIMARY_USER); in testCancelNotificationInPrimaryUser()
212 PRIMARY_USER); in cancelNotificationTestInternal()
241 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testNotifyMultipleMissedCalls()
263 notificationArgumentCaptor.capture(), eq(PRIMARY_USER)); in testNotifyMultipleMissedCalls()
299 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testNotifySingleCallInPrimaryUser()
300 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInPrimaryUser()
307 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInSecondaryUser()
313 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, in testNotifySingleCallInSecondaryUserWithMultiUserCapability()
315 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInSecondaryUserWithMultiUserCapability()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DUserUtilsTest.java51 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testGetCorpUser()
53 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
60 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.SECONDARY_USER, in testGetCorpUser()
63 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
73 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.SECONDARY_USER); in testGetCorpUser()
75 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java169 public static final UserInfo PRIMARY_USER = createUserInfo("primary", 0, 0, field in ContactsActor.MockUserManager
183 mUsers.add(PRIMARY_USER); // Add the primary user. in MockUserManager()
DContactsProvider2Test.java2114 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpCorpProvider()
2132 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpNullCorpProvider()
2884 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testQueryCorpContactsProvider()