/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 46 import com.android.providers.contacts.testutil.DataUtil; 153 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); in testAggregationCreatesNewAggregate() 167 DataUtil.insertStructuredName(mResolver, rawContactId1, "Johnb", "Smithb"); in testAggregationOfExactFullNameMatch() 170 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johnb", "Smithb"); in testAggregationOfExactFullNameMatch() 180 DataUtil.insertStructuredName(mResolver, rawContactId1, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 186 DataUtil.insertStructuredName(mResolver, rawContactId2, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 189 DataUtil.insertStructuredName(mResolver, rawContactId3, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 198 DataUtil.insertStructuredName(mResolver, rawContactId1, "Johnc", "Smithc"); in testAggregationOfCaseInsensitiveFullNameMatch() 201 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johnc", "smithc"); in testAggregationOfCaseInsensitiveFullNameMatch() 208 DataUtil.insertStructuredName(mResolver, rawContactId1, null, "Johnd"); in testAggregationOfLastNameMatch() [all …]
|
D | ContactAggregator2Test.java | 46 import com.android.providers.contacts.testutil.DataUtil; 153 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); in testAggregationCreatesNewAggregate() 167 DataUtil.insertStructuredName(mResolver, rawContactId1, "Johnb", "Smithb"); in testAggregationOfExactFullNameMatch() 170 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johnb", "Smithb"); in testAggregationOfExactFullNameMatch() 180 DataUtil.insertStructuredName(mResolver, rawContactId1, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 186 DataUtil.insertStructuredName(mResolver, rawContactId2, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 189 DataUtil.insertStructuredName(mResolver, rawContactId3, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 198 DataUtil.insertStructuredName(mResolver, rawContactId1, "Johnc", "Smithc"); in testAggregationOfCaseInsensitiveFullNameMatch() 201 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johnc", "smithc"); in testAggregationOfCaseInsensitiveFullNameMatch() 208 DataUtil.insertStructuredName(mResolver, rawContactId1, null, "Johnd"); in testAggregationOfLastNameMatch() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | SearchIndexManagerTest.java | 33 import com.android.providers.contacts.testutil.DataUtil; 55 DataUtil.insertStructuredName(mResolver, rawContactId, "John", "Doe"); in testSearchIndexForStructuredName() 58 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName() 67 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName() 76 DataUtil.insertStructuredName(mResolver, rawContactId, "John", "Doe"); in testSearchIndexForStructuredName_phoneticOnly() 79 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName_phoneticOnly() 88 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName_phoneticOnly() 103 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForChineseName() 119 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchByChineseName() 139 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForKoreanName() [all …]
|
D | CallerInfoIntegrationTest.java | 27 import com.android.providers.contacts.testutil.DataUtil; 49 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testCallerInfo()
|
D | ContactsProvider2Test.java | 102 import com.android.providers.contacts.testutil.DataUtil; 1546 Uri dataUri1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "John", "Doe"); in testRawContactDataQuery() 1548 Uri dataUri2 = DataUtil.insertStructuredName(mResolver, rawContactId2, "Jane", "Doe"); in testRawContactDataQuery() 1568 DataUtil.insertStructuredName(mResolver, rawContactId, "Meghan", "Knox"); in testPhonesQuery() 1885 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testPhoneLookup() 1922 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testSipPhoneLookup() 1951 DataUtil.insertStructuredName(mResolver, rawContactId, "Emergency", /* familyName =*/ null); in testPhoneLookupStarUseCases() 1956 DataUtil.insertStructuredName(mResolver, rawContactId, "Voicemail", /* familyName =*/ null); in testPhoneLookupStarUseCases() 1983 DataUtil.insertStructuredName(mResolver, rawContactId1, "Emergency", in testPhoneLookupReturnsNothingRatherThanStar() 1997 DataUtil.insertStructuredName(mResolver, rawContactId1, "Voice mail", in testPhoneLookupReturnsNothingRatherThanMissStar() [all …]
|
D | GlobalSearchSupportTest.java | 32 import com.android.providers.contacts.testutil.DataUtil; 55 DataUtil.insertStructuredName(mResolver, rawContactId, "Deer", "Dough"); in testSearchSuggestionsNotInDefaultDirectory()
|
D | BaseContactsProvider2Test.java | 68 import com.android.providers.contacts.testutil.DataUtil; 1456 DataUtil.insertStructuredName(mResolver, rawContactId1, "John", "Doe"); in createVCardTestContacts() 1460 DataUtil.insertStructuredName(mResolver, rawContactId2, "Jane", "Doh"); in createVCardTestContacts() 1724 DataUtil.insertStructuredName(mResolver, rawContactId, givenName, familyName); in build()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | DataUtil.java | 30 public class DataUtil { class
|
D | RawContactUtil.java | 112 DataUtil.insertStructuredName(resolver, rawContactId, firstName, lastName); in createRawContactWithName()
|