Home
last modified time | relevance | path

Searched refs:RawContactUtil (Results 1 – 14 of 14) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregator2Test.java44 import com.android.providers.contacts.testutil.RawContactUtil;
79 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "zz", "top"); in testCrudAggregationExceptions()
80 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom"); in testCrudAggregationExceptions()
127 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()
[all …]
DContactAggregatorTest.java44 import com.android.providers.contacts.testutil.RawContactUtil;
79 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "zz", "top"); in testCrudAggregationExceptions()
80 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom"); in testCrudAggregationExceptions()
127 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()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSearchIndexManagerTest.java33 import com.android.providers.contacts.testutil.RawContactUtil;
52 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()
[all …]
DContactsProvider2Test.java99 import com.android.providers.contacts.testutil.RawContactUtil;
992 long rawContactId = RawContactUtil.createRawContactWithName(mResolver); in testDataDirectoryWithLookupUri()
1039 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithIdBasedUri()
1044 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testContactEntitiesWithIdBasedUri()
1061 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithLookupUri()
1066 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testContactEntitiesWithLookupUri()
1153 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsert()
1181 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId()
1238 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId_Photo()
1262 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertPhoneNumberTooLongIsTrimmed()
[all …]
DContactLookupKeyTest.java27 import com.android.providers.contacts.testutil.RawContactUtil;
44 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyUsingDisplayNameAndNoAccount()
45 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "johndoe", null); in testLookupKeyUsingDisplayNameAndNoAccount()
72 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyUsingSourceIdAndNoAccount()
75 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "johndoe", null); in testLookupKeyUsingSourceIdAndNoAccount()
78 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "john", "dough"); in testLookupKeyUsingSourceIdAndNoAccount()
98 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "Dear", "Doe"); in testLookupKeySameSourceIdDifferentAccounts()
103 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "Deer", "Dough"); in testLookupKeySameSourceIdDifferentAccounts()
129 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyChoosingLargestContact()
132 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyChoosingLargestContact()
[all …]
DGroupsTest.java37 import com.android.providers.contacts.testutil.RawContactUtil;
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()
334 final long rawContactId1 = RawContactUtil.createRawContact(this.mResolver, sTestAccount); in testMultipleSourcesVisible()
335 final long rawContactId2 = RawContactUtil.createRawContact(this.mResolver, sSecondAccount); in testMultipleSourcesVisible()
DDirectoryTest.java33 import com.android.providers.contacts.testutil.RawContactUtil;
85 long contactId = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "John", in testForwardingToLocalContacts()
104 long contactId1 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Bob", in testForwardingToLocalInvisibleContacts()
110 long contactId2 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Helen", in testForwardingToLocalInvisibleContacts()
DVCardTest.java22 import com.android.providers.contacts.testutil.RawContactUtil;
41 RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testCompose()
DSqlInjectionDetectionTest.java31 import com.android.providers.contacts.testutil.RawContactUtil;
98 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadLimit()
DContactMetadataProviderTest.java30 import com.android.providers.contacts.testutil.RawContactUtil;
176 long rawContactId = RawContactUtil.createRawContactWithAccountDataSet( in testInsertAndUpdateMetadataSync()
523 long rawContactId1 = RawContactUtil.createRawContactWithAccountDataSet( in setupData()
DGlobalSearchSupportTest.java32 import com.android.providers.contacts.testutil.RawContactUtil;
53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); in testSearchSuggestionsNotInDefaultDirectory()
DBaseContactsProvider2Test.java66 import com.android.providers.contacts.testutil.RawContactUtil;
1623 long rawContactId = RawContactUtil.createRawContact(mResolver); in build()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DDatabaseAsserts.java58 long rawContactId = RawContactUtil.createRawContactWithName(resolver); in assertAndCreateContact()
60 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId); in assertAndCreateContact()
73 long rawContactId = RawContactUtil.createRawContactWithName(resolver, firstName, lastName); in assertAndCreateContactWithName()
75 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId); in assertAndCreateContactWithName()
DRawContactUtil.java32 public class RawContactUtil { class
63 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid, in queryContactIdByRawContactId()