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 …]
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 …]
DSqlInjectionDetectionTest.java30 import com.android.providers.contacts.testutil.RawContactUtil;
46 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryValid()
54 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadProjection()
62 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadSelection()
70 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadSortOrder()
79 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadLimit()
DContactsProvider2Test.java97 import com.android.providers.contacts.testutil.RawContactUtil;
967 long rawContactId = RawContactUtil.createRawContactWithName(mResolver); in testDataDirectoryWithLookupUri()
1014 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithIdBasedUri()
1019 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testContactEntitiesWithIdBasedUri()
1036 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithLookupUri()
1041 long rawContactId2 = RawContactUtil.createRawContact(mResolver, account2); in testContactEntitiesWithLookupUri()
1128 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsert()
1156 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId()
1213 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId_Photo()
1237 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertPhoneNumberTooLongIsTrimmed()
[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.java31 import com.android.providers.contacts.testutil.RawContactUtil;
79 long contactId = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "John", in testForwardingToLocalContacts()
98 long contactId1 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Bob", in testForwardingToLocalInvisibleContacts()
104 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()
DGlobalSearchSupportTest.java32 import com.android.providers.contacts.testutil.RawContactUtil;
53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); in testSearchSuggestionsNotInDefaultDirectory()
DContactMetadataProviderTest.java30 import com.android.providers.contacts.testutil.RawContactUtil;
177 long rawContactId = RawContactUtil.createRawContactWithAccountDataSet( in testInsertAndUpdateMetadataSync()
526 long rawContactId1 = RawContactUtil.createRawContactWithAccountDataSet( in setupData()
DBaseContactsProvider2Test.java64 import com.android.providers.contacts.testutil.RawContactUtil;
1595 long rawContactId = RawContactUtil.createRawContact(mResolver);
/packages/providers/ContactsProvider/tests/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.java34 public class RawContactUtil { class
77 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid, in queryContactIdByRawContactId()