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.java78 private static final UserHandle PRIMARY_USER = UserHandle.of(0); field in MissedCallNotifierImplTest
118 cancelNotificationTestInternal(PRIMARY_USER); in testCancelNotificationInPrimaryUser()
133 PRIMARY_USER); in cancelNotificationTestInternal()
161 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testNotifyMultipleMissedCalls()
183 notificationArgumentCaptor.capture(), eq(PRIMARY_USER)); in testNotifyMultipleMissedCalls()
218 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testNotifySingleCallInPrimaryUser()
219 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInPrimaryUser()
225 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInSecondaryUser()
230 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, in testNotifySingleCallInSecondaryUserWithMultiUserCapability()
232 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInSecondaryUserWithMultiUserCapability()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DUserUtilsTest.java53 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testGetCorpUser()
55 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
62 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.SECONDARY_USER, in testGetCorpUser()
65 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
75 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.SECONDARY_USER); in testGetCorpUser()
77 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java162 public static final UserInfo PRIMARY_USER = createUserInfo("primary", 0, 0, field in ContactsActor.MockUserManager
176 mUsers.add(PRIMARY_USER); // Add the primary user. in MockUserManager()
DContactsProvider2Test.java2054 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpCorpProvider()
2071 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpNullCorpProvider()
2830 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testQueryCorpContactsProvider()