/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator2Test.java | 44 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 …]
|
D | ContactAggregatorTest.java | 44 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/ |
D | SearchIndexManagerTest.java | 33 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 …]
|
D | ContactsProvider2Test.java | 99 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 …]
|
D | ContactLookupKeyTest.java | 27 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 …]
|
D | GroupsTest.java | 37 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()
|
D | DirectoryTest.java | 33 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()
|
D | VCardTest.java | 22 import com.android.providers.contacts.testutil.RawContactUtil; 41 RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testCompose()
|
D | SqlInjectionDetectionTest.java | 31 import com.android.providers.contacts.testutil.RawContactUtil; 98 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadLimit()
|
D | ContactMetadataProviderTest.java | 30 import com.android.providers.contacts.testutil.RawContactUtil; 176 long rawContactId = RawContactUtil.createRawContactWithAccountDataSet( in testInsertAndUpdateMetadataSync() 523 long rawContactId1 = RawContactUtil.createRawContactWithAccountDataSet( in setupData()
|
D | GlobalSearchSupportTest.java | 32 import com.android.providers.contacts.testutil.RawContactUtil; 53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); in testSearchSuggestionsNotInDefaultDirectory()
|
D | BaseContactsProvider2Test.java | 66 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/ |
D | DatabaseAsserts.java | 58 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()
|
D | RawContactUtil.java | 32 public class RawContactUtil { class 63 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid, in queryContactIdByRawContactId()
|