Home
last modified time | relevance | path

Searched refs:DataUtil (Results 1 – 9 of 9) sorted by relevance

/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
H A DContactAggregatorTest.java46 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 DContactAggregator2Test.java46 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 DSearchIndexManagerTest.java32 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 DCallerInfoIntegrationTest.java26 import com.android.providers.contacts.testutil.DataUtil;
48 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testCallerInfo()
H A DContactsProvider2Test.java89 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 DGlobalSearchSupportTest.java31 import com.android.providers.contacts.testutil.DataUtil;
54 DataUtil.insertStructuredName(mResolver, rawContactId, "Deer", "Dough"); in testSearchSuggestionsNotInDefaultDirectory()
H A DBaseContactsProvider2Test.java65 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 DDataUtil.java30 public class DataUtil { class
H A DRawContactUtil.java112 DataUtil.insertStructuredName(resolver, rawContactId, firstName, lastName); in createRawContactWithName()