Home
last modified time | relevance | path

Searched refs:createRawContact (Results 1 – 11 of 11) sorted by relevance

/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
H A DContactAggregatorTest.java151 long rawContactId = RawContactUtil.createRawContact(mResolver); in testAggregationCreatesNewAggregate()
261 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationOfNormalizedFullNameMatchWithReadOnlyAccount()
967 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
971 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
977 long rawContactId3 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
981 long rawContactId4 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
994 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnPhoneNumber()
998 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnPhoneNumber()
1012 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnEmailAddress()
1307 long rawContactId = RawContactUtil.createRawContact(mResolver); in testDisplayNameSources()
[all …]
H A DContactAggregator2Test.java151 long rawContactId = RawContactUtil.createRawContact(mResolver); in testAggregationCreatesNewAggregate()
261 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationOfNormalizedFullNameMatchWithReadOnlyAccount()
971 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
976 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
981 long rawContactId3 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
985 long rawContactId4 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
988 long rawContactId5 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName()
1002 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnPhoneNumber()
1006 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnPhoneNumber()
1315 long rawContactId = RawContactUtil.createRawContact(mResolver); in testDisplayNameSources()
[all …]
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSearchIndexManagerTest.java52 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForStructuredName()
73 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForStructuredName_phoneticOnly()
98 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForChineseName()
115 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByChineseName()
134 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForKoreanName()
150 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByKoreanName()
174 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByKoreanNameWithTwoCharactersFamilyName()
198 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForOrganization()
216 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForPhoneNumber()
225 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForEmail()
[all …]
H A DGroupsTest.java82 long contactAlpha = mActor.createRawContact(PERSON_ALPHA); in testGroupSummary()
83 long contactBravo = mActor.createRawContact(PERSON_BRAVO); in testGroupSummary()
84 long contactCharlie = mActor.createRawContact(PERSON_CHARLIE); in testGroupSummary()
85 long contactCharlieDupe = mActor.createRawContact(PERSON_CHARLIE); in testGroupSummary()
88 long contactDelta = mActor.createRawContact(PERSON_DELTA); in testGroupSummary()
259 final long rawContactId = RawContactUtil.createRawContact(this.mResolver, sTestAccount); in testDelayVisibleTransaction()
282 final long rawContactId = RawContactUtil.createRawContact(this.mResolver); in testLocalSingleVisible()
290 final long rawContactId1 = RawContactUtil.createRawContact(this.mResolver); in testLocalMixedVisible()
291 final long rawContactId2 = RawContactUtil.createRawContact(this.mResolver, sTestAccount); in testLocalMixedVisible()
313 final long rawContactId = RawContactUtil.createRawContact(this.mResolver, sTestAccount); in testUngroupedVisible()
[all …]
H A DContactsProvider2Test.java3140 long rawContactId = createRawContact(values, "18004664411", in testQueryContactFilterByName()
3180 long rawContactId = createRawContact(values, "18004664411", in testQueryContactFilterByEmailAddress()
3207 long rawContactId = createRawContact(values, "18004664411", in testQueryContactFilterByPhoneNumber()
3292 final long rid1 = RawContactUtil.createRawContact(mResolver); in testQueryContactStrequentFrequentOrder()
5733 long rawContactId = createRawContact(values, "18004664411", in testStreamItemInsertedOnStatusUpdate()
5752 long rawContactId = createRawContact(values, "18004664411", in testStreamItemInsertedOnStatusUpdate_HtmlQuoting()
5776 long rawContactId = createRawContact(values, "18004664411", in testStreamItemUpdatedOnSecondStatusUpdate()
7599 RawContactUtil.createRawContact(mResolver); in testContactCounts()
7905 long r3 = RawContactUtil.createRawContact(mResolver, null); in testAutoGroupMembership()
7934 long r6 = RawContactUtil.createRawContact(mResolver, null); in testNoAutoAddMembershipAfterGroupCreation()
[all …]
H A DContactsActor.java638 public long createRawContact(String name) { in createRawContact() method in ContactsActor
640 long rawContactId = createRawContact(); in createRawContact()
645 public long createRawContact() { in createRawContact() method in ContactsActor
655 final long rawContactId = createRawContact(name); in createRawContactWithStatus()
H A DGlobalSearchSupportTest.java53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); in testSearchSuggestionsNotInDefaultDirectory()
H A DBaseContactsProvider2Test.java1618 long rawContactId = RawContactUtil.createRawContact(mResolver); in build()
/aosp12/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
H A DRawContactUtil.java76 public static long createRawContact(ContentResolver resolver, Account account, in createRawContact() method in RawContactUtil
111 long rawContactId = createRawContact(resolver, account); in createRawContactWithName()
116 public static long createRawContact(ContentResolver resolver) { in createRawContact() method in RawContactUtil
117 return createRawContact(resolver, null); in createRawContact()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/
H A DGroupsDaoIntegrationTests.java108 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId); in test_deleteNonEmptyGroup_removesGroupAndMembers()
109 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId); in test_deleteNonEmptyGroup_removesGroupAndMembers()
134 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers()
135 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers()
233 private Uri createRawContact() { in createRawContact() method in GroupsDaoIntegrationTests
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java324 createRawContact(intent); in onHandleIntent()
392 private void createRawContact(Intent intent) { in createRawContact() method in ContactSaveService