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.java134 private static final UserHandle PRIMARY_USER = UserHandle.of(0); field in MissedCallNotifierImplTest
184 cancelNotificationTestInternal(PRIMARY_USER); in testCancelNotificationInPrimaryUser()
199 PRIMARY_USER); in cancelNotificationTestInternal()
227 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testNotifyMultipleMissedCalls()
249 notificationArgumentCaptor.capture(), eq(PRIMARY_USER)); in testNotifyMultipleMissedCalls()
284 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testNotifySingleCallInPrimaryUser()
285 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInPrimaryUser()
291 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInSecondaryUser()
296 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, in testNotifySingleCallInSecondaryUserWithMultiUserCapability()
298 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.java160 public static final UserInfo PRIMARY_USER = createUserInfo("primary", 0, 0, field in ContactsActor.MockUserManager
174 mUsers.add(PRIMARY_USER); // Add the primary user. in MockUserManager()
DContactsProvider2Test.java2079 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpCorpProvider()
2097 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpNullCorpProvider()
2856 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testQueryCorpContactsProvider()