/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 | 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 | SqlInjectionDetectionTest.java | 30 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()
|
D | ContactsProvider2Test.java | 97 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 …]
|
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 | 31 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()
|
D | VCardTest.java | 22 import com.android.providers.contacts.testutil.RawContactUtil; 41 RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testCompose()
|
D | GlobalSearchSupportTest.java | 32 import com.android.providers.contacts.testutil.RawContactUtil; 53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); in testSearchSuggestionsNotInDefaultDirectory()
|
D | ContactMetadataProviderTest.java | 30 import com.android.providers.contacts.testutil.RawContactUtil; 177 long rawContactId = RawContactUtil.createRawContactWithAccountDataSet( in testInsertAndUpdateMetadataSync() 526 long rawContactId1 = RawContactUtil.createRawContactWithAccountDataSet( in setupData()
|
D | BaseContactsProvider2Test.java | 64 import com.android.providers.contacts.testutil.RawContactUtil; 1595 long rawContactId = RawContactUtil.createRawContact(mResolver);
|
/packages/providers/ContactsProvider/tests/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 | 34 public class RawContactUtil { class 77 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid, in queryContactIdByRawContactId()
|