/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
H A D | ContactAggregatorTest.java | 46 import com.android.providers.contacts.testutil.DataUtil; 208 DataUtil.insertStructuredName(mResolver, rawContactId1, null, "Johnd"); in testAggregationOfLastNameMatch() 211 DataUtil.insertStructuredName(mResolver, rawContactId2, null, "johnd"); in testAggregationOfLastNameMatch() 221 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johne", null); in testNonAggregationOfFirstNameMatch() 269 DataUtil.insertStructuredName(mResolver, rawContactId1, "123", null); in testAggregationOfNumericNames() 285 DataUtil.insertStructuredName(mResolver, rawContactId1, values); in testAggregationOfInconsistentlyParsedNames() 292 DataUtil.insertStructuredName(mResolver, rawContactId2, values); in testAggregationOfInconsistentlyParsedNames() 304 DataUtil.insertStructuredName(mResolver, rawContactId1, values); in testAggregationBasedOnMiddleName() 311 DataUtil.insertStructuredName(mResolver, rawContactId2, values); in testAggregationBasedOnMiddleName() 1329 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testDisplayNameSources() [all …]
|
H A D | ContactAggregator2Test.java | 46 import com.android.providers.contacts.testutil.DataUtil; 208 DataUtil.insertStructuredName(mResolver, rawContactId1, null, "Johnd"); in testAggregationOfLastNameMatch() 211 DataUtil.insertStructuredName(mResolver, rawContactId2, null, "johnd"); in testAggregationOfLastNameMatch() 221 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johne", null); in testNonAggregationOfFirstNameMatch() 269 DataUtil.insertStructuredName(mResolver, rawContactId1, "123", null); in testAggregationOfNumericNames() 285 DataUtil.insertStructuredName(mResolver, rawContactId1, values); in testAggregationOfInconsistentlyParsedNames() 292 DataUtil.insertStructuredName(mResolver, rawContactId2, values); in testAggregationOfInconsistentlyParsedNames() 304 DataUtil.insertStructuredName(mResolver, rawContactId1, values); in testAggregationBasedOnMiddleName() 311 DataUtil.insertStructuredName(mResolver, rawContactId2, values); in testAggregationBasedOnMiddleName() 1337 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testDisplayNameSources() [all …]
|
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | SearchIndexManagerTest.java | 32 import com.android.providers.contacts.testutil.DataUtil; 57 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName() 66 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName() 78 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName_phoneticOnly() 87 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName_phoneticOnly() 102 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForChineseName() 118 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchByChineseName() 138 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForKoreanName() 153 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchByKoreanName() 180 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchByKoreanNameWithTwoCharactersFamilyName() [all …]
|
H A D | CallerInfoIntegrationTest.java | 26 import com.android.providers.contacts.testutil.DataUtil; 48 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testCallerInfo()
|
H A D | ContactsProvider2Test.java | 89 import com.android.providers.contacts.testutil.DataUtil; 1757 DataUtil.insertStructuredName(mResolver, rawContactId1, "Emergency", in testPhoneLookupReturnsNothingRatherThanStar() 1799 DataUtil.insertStructuredName(mResolver, rawContactId, "No star", in testPhoneLookupStarNotBreakFallbackMatching() 1806 DataUtil.insertStructuredName(mResolver, rawContactId, "Has star", in testPhoneLookupStarNotBreakFallbackMatching() 4249 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testDisplayNameParsingWhenPartsUnspecified() 4260 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testDisplayNameParsingWhenPartsAreNull() 4269 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testDisplayNameParsingWhenPartsSpecified() 4376 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testJapaneseNameContactInEnglishLocale() 4487 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testDisplayNameFromData() 8608 DataUtil.delete(mResolver, dataId); in testDataDelete_updatesContactLastUpdatedTimestamp() [all …]
|
H A D | GlobalSearchSupportTest.java | 31 import com.android.providers.contacts.testutil.DataUtil; 54 DataUtil.insertStructuredName(mResolver, rawContactId, "Deer", "Dough"); in testSearchSuggestionsNotInDefaultDirectory()
|
H A D | BaseContactsProvider2Test.java | 65 import com.android.providers.contacts.testutil.DataUtil; 1622 DataUtil.insertStructuredName(mResolver, rawContactId, givenName, familyName); in build()
|
/aosp12/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
H A D | DataUtil.java | 30 public class DataUtil { class
|
H A D | RawContactUtil.java | 112 DataUtil.insertStructuredName(resolver, rawContactId, firstName, lastName); in createRawContactWithName()
|