Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java151 long rawContactId = RawContactUtil.createRawContact(mResolver); in testAggregationCreatesNewAggregate()
166 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfExactFullNameMatch()
169 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfExactFullNameMatch()
179 long rawContactId1 = RawContactUtil.createRawContact(mResolver, account); in testAggregationIgnoresInvisibleContact()
185 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account); in testAggregationIgnoresInvisibleContact()
188 long rawContactId3 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationIgnoresInvisibleContact()
197 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfCaseInsensitiveFullNameMatch()
200 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfCaseInsensitiveFullNameMatch()
207 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfLastNameMatch()
210 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfLastNameMatch()
[all …]
DContactAggregator2Test.java151 long rawContactId = RawContactUtil.createRawContact(mResolver); in testAggregationCreatesNewAggregate()
166 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfExactFullNameMatch()
169 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfExactFullNameMatch()
179 long rawContactId1 = RawContactUtil.createRawContact(mResolver, account); in testAggregationIgnoresInvisibleContact()
185 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account); in testAggregationIgnoresInvisibleContact()
188 long rawContactId3 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationIgnoresInvisibleContact()
197 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfCaseInsensitiveFullNameMatch()
200 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfCaseInsensitiveFullNameMatch()
207 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfLastNameMatch()
210 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfLastNameMatch()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
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 …]
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 …]
DContactsProvider2Test.java1080 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testContactEntitiesWithIdBasedUri()
1102 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testContactEntitiesWithLookupUri()
1326 long rawContactId1 = RawContactUtil.createRawContact(mResolver, account1); in testRawContactDataQuery()
1328 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testRawContactDataQuery()
1374 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testPhonesWithMergedContacts()
1377 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testPhonesWithMergedContacts()
1413 final long rawContactId = RawContactUtil.createRawContact(mResolver); in testPhonesNormalizedNumber()
2637 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testEmailFilterDefaultSortOrder()
2656 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testEmailFilterPrimaryAddress()
2673 long rawContactId1 = RawContactUtil.createRawContact(mResolver, TestUtil.ACCOUNT_1); in testEmailFilterPrimaryAccount()
[all …]
DContactsActor.java630 public long createRawContact(String name) { in createRawContact() method in ContactsActor
632 long rawContactId = createRawContact(); in createRawContact()
637 public long createRawContact() { in createRawContact() method in ContactsActor
647 final long rawContactId = createRawContact(name); in createRawContactWithStatus()
DGlobalSearchSupportTest.java53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); in testSearchSuggestionsNotInDefaultDirectory()
DBaseContactsProvider2Test.java1622 long rawContactId = RawContactUtil.createRawContact(mResolver); in build()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
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()
/packages/apps/Contacts/tests/src/com/android/contacts/
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
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java324 createRawContact(intent); in onHandleIntent()
392 private void createRawContact(Intent intent) { in createRawContact() method in ContactSaveService