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.java127 long rawContactId = RawContactUtil.createRawContact(mResolver); in testAggregationCreatesNewAggregate()
142 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfExactFullNameMatch()
145 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfExactFullNameMatch()
155 long rawContactId1 = RawContactUtil.createRawContact(mResolver, account); in testAggregationIgnoresInvisibleContact()
161 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account); in testAggregationIgnoresInvisibleContact()
164 long rawContactId3 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationIgnoresInvisibleContact()
173 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfCaseInsensitiveFullNameMatch()
176 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfCaseInsensitiveFullNameMatch()
183 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfLastNameMatch()
186 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfLastNameMatch()
[all …]
DContactAggregator2Test.java127 long rawContactId = RawContactUtil.createRawContact(mResolver); in testAggregationCreatesNewAggregate()
142 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfExactFullNameMatch()
145 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfExactFullNameMatch()
155 long rawContactId1 = RawContactUtil.createRawContact(mResolver, account); in testAggregationIgnoresInvisibleContact()
161 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account); in testAggregationIgnoresInvisibleContact()
164 long rawContactId3 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationIgnoresInvisibleContact()
173 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfCaseInsensitiveFullNameMatch()
176 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfCaseInsensitiveFullNameMatch()
183 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfLastNameMatch()
186 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.java1044 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testContactEntitiesWithIdBasedUri()
1066 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testContactEntitiesWithLookupUri()
1290 long rawContactId1 = RawContactUtil.createRawContact(mResolver, account1); in testRawContactDataQuery()
1292 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testRawContactDataQuery()
1339 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testPhonesWithMergedContacts()
1342 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testPhonesWithMergedContacts()
1378 final long rawContactId = RawContactUtil.createRawContact(mResolver); in testPhonesNormalizedNumber()
2603 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testEmailFilterDefaultSortOrder()
2622 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testEmailFilterPrimaryAddress()
2639 long rawContactId1 = RawContactUtil.createRawContact(mResolver, TestUtil.ACCOUNT_1); in testEmailFilterPrimaryAccount()
[all …]
DContactsActor.java570 public long createRawContact(String name) { in createRawContact() method in ContactsActor
572 long rawContactId = createRawContact(); in createRawContact()
577 public long createRawContact() { in createRawContact() method in ContactsActor
587 final long rawContactId = createRawContact(name); in createRawContactWithStatus()
DGlobalSearchSupportTest.java53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); in testSearchSuggestionsNotInDefaultDirectory()
DBaseContactsProvider2Test.java1623 long rawContactId = RawContactUtil.createRawContact(mResolver); in build()
/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/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/src/com/android/contacts/
DContactSaveService.java324 createRawContact(intent); in onHandleIntent()
392 private void createRawContact(Intent intent) { in createRawContact() method in ContactSaveService