Home
last modified time | relevance | path

Searched refs:insertStructuredName (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java153 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()
211 DataUtil.insertStructuredName(mResolver, rawContactId2, null, "johnd"); in testAggregationOfLastNameMatch()
[all …]
DContactAggregator2Test.java153 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()
211 DataUtil.insertStructuredName(mResolver, rawContactId2, null, "johnd"); in testAggregationOfLastNameMatch()
[all …]
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DDataUtil.java44 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId, in insertStructuredName() method in DataUtil
53 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId, in insertStructuredName() method in DataUtil
55 return insertStructuredName(resolver, rawContactId, givenName, familyName, in insertStructuredName()
59 public static Uri insertStructuredName( in insertStructuredName() method in DataUtil
62 return insertStructuredName(resolver, rawContactId, givenName, familyName, phoneticFamily, in insertStructuredName()
66 public static Uri insertStructuredName( in insertStructuredName() method in DataUtil
96 return insertStructuredName(resolver, rawContactId, values); in insertStructuredName()
105 return insertStructuredName(resolver, rawContactId, values); in insertPhoneticName()
DRawContactUtil.java112 DataUtil.insertStructuredName(resolver, rawContactId, firstName, lastName); in createRawContactWithName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSearchIndexManagerTest.java54 DataUtil.insertStructuredName(mResolver, rawContactId, "John", "Doe"); in testSearchIndexForStructuredName()
57 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName()
66 DataUtil.insertStructuredName(mResolver, rawContactId, values); in testSearchIndexForStructuredName()
75 DataUtil.insertStructuredName(mResolver, rawContactId, "John", "Doe"); in testSearchIndexForStructuredName_phoneticOnly()
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()
[all …]
DContactsProvider2Test.java1327 Uri dataUri1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "John", "Doe"); in testRawContactDataQuery()
1329 Uri dataUri2 = DataUtil.insertStructuredName(mResolver, rawContactId2, "Jane", "Doe"); in testRawContactDataQuery()
1349 DataUtil.insertStructuredName(mResolver, rawContactId, "Meghan", "Knox"); in testPhonesQuery()
1666 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testPhoneLookup()
1703 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testSipPhoneLookup()
1732 DataUtil.insertStructuredName(mResolver, rawContactId, "Emergency", /* familyName =*/ null); in testPhoneLookupStarUseCases()
1737 DataUtil.insertStructuredName(mResolver, rawContactId, "Voicemail", /* familyName =*/ null); in testPhoneLookupStarUseCases()
1764 DataUtil.insertStructuredName(mResolver, rawContactId1, "Emergency", in testPhoneLookupReturnsNothingRatherThanStar()
1778 DataUtil.insertStructuredName(mResolver, rawContactId1, "Voice mail", in testPhoneLookupReturnsNothingRatherThanMissStar()
1791 DataUtil.insertStructuredName(mResolver, rawContactId1, "Voice mail", in testPhoneLookupStarNoFallbackMatch()
[all …]
DCallerInfoIntegrationTest.java48 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testCallerInfo()
DGlobalSearchSupportTest.java54 DataUtil.insertStructuredName(mResolver, rawContactId, "Deer", "Dough"); in testSearchSuggestionsNotInDefaultDirectory()
DBaseContactsProvider2Test.java1626 DataUtil.insertStructuredName(mResolver, rawContactId, givenName, familyName); in build()
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/
DContactTestUtils.java70 insertStructuredName(contentResolver, rawContactId, name, values); in createContact()
76 private static void insertStructuredName(ContentResolver contentResolver, in insertStructuredName() method in ContactTestUtils