/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 129 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); in testAggregationCreatesNewAggregate() 143 DataUtil.insertStructuredName(mResolver, rawContactId1, "Johnb", "Smithb"); in testAggregationOfExactFullNameMatch() 146 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johnb", "Smithb"); in testAggregationOfExactFullNameMatch() 156 DataUtil.insertStructuredName(mResolver, rawContactId1, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 162 DataUtil.insertStructuredName(mResolver, rawContactId2, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 165 DataUtil.insertStructuredName(mResolver, rawContactId3, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 174 DataUtil.insertStructuredName(mResolver, rawContactId1, "Johnc", "Smithc"); in testAggregationOfCaseInsensitiveFullNameMatch() 177 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johnc", "smithc"); in testAggregationOfCaseInsensitiveFullNameMatch() 184 DataUtil.insertStructuredName(mResolver, rawContactId1, null, "Johnd"); in testAggregationOfLastNameMatch() 187 DataUtil.insertStructuredName(mResolver, rawContactId2, null, "johnd"); in testAggregationOfLastNameMatch() [all …]
|
D | ContactAggregator2Test.java | 129 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); in testAggregationCreatesNewAggregate() 143 DataUtil.insertStructuredName(mResolver, rawContactId1, "Johnb", "Smithb"); in testAggregationOfExactFullNameMatch() 146 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johnb", "Smithb"); in testAggregationOfExactFullNameMatch() 156 DataUtil.insertStructuredName(mResolver, rawContactId1, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 162 DataUtil.insertStructuredName(mResolver, rawContactId2, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 165 DataUtil.insertStructuredName(mResolver, rawContactId3, "Flynn", "Ryder"); in testAggregationIgnoresInvisibleContact() 174 DataUtil.insertStructuredName(mResolver, rawContactId1, "Johnc", "Smithc"); in testAggregationOfCaseInsensitiveFullNameMatch() 177 DataUtil.insertStructuredName(mResolver, rawContactId2, "Johnc", "smithc"); in testAggregationOfCaseInsensitiveFullNameMatch() 184 DataUtil.insertStructuredName(mResolver, rawContactId1, null, "Johnd"); in testAggregationOfLastNameMatch() 187 DataUtil.insertStructuredName(mResolver, rawContactId2, null, "johnd"); in testAggregationOfLastNameMatch() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
D | DataUtil.java | 45 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId, in insertStructuredName() method in DataUtil 54 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId, in insertStructuredName() method in DataUtil 56 return insertStructuredName(resolver, rawContactId, givenName, familyName, in insertStructuredName() 60 public static Uri insertStructuredName( in insertStructuredName() method in DataUtil 63 return insertStructuredName(resolver, rawContactId, givenName, familyName, phoneticFamily, in insertStructuredName() 67 public static Uri insertStructuredName( in insertStructuredName() method in DataUtil 97 return insertStructuredName(resolver, rawContactId, values); in insertStructuredName() 106 return insertStructuredName(resolver, rawContactId, values); in insertPhoneticName()
|
D | RawContactUtil.java | 126 DataUtil.insertStructuredName(resolver, rawContactId, firstName, lastName); in createRawContactWithName()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | SearchIndexManagerTest.java | 54 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 …]
|
D | ContactsProvider2Test.java | 1266 Uri dataUri1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "John", "Doe"); in testRawContactDataQuery() 1268 Uri dataUri2 = DataUtil.insertStructuredName(mResolver, rawContactId2, "Jane", "Doe"); in testRawContactDataQuery() 1288 DataUtil.insertStructuredName(mResolver, rawContactId, "Meghan", "Knox"); in testPhonesQuery() 1606 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testPhoneLookup() 1643 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testSipPhoneLookup() 1672 DataUtil.insertStructuredName(mResolver, rawContactId, "Emergency", /* familyName =*/ null); in testPhoneLookupStarUseCases() 1677 DataUtil.insertStructuredName(mResolver, rawContactId, "Voicemail", /* familyName =*/ null); in testPhoneLookupStarUseCases() 1704 DataUtil.insertStructuredName(mResolver, rawContactId1, "Emergency", in testPhoneLookupReturnsNothingRatherThanStar() 1718 DataUtil.insertStructuredName(mResolver, rawContactId1, "Voice mail", in testPhoneLookupReturnsNothingRatherThanMissStar() 1731 DataUtil.insertStructuredName(mResolver, rawContactId1, "Voice mail", in testPhoneLookupStarNoFallbackMatch() [all …]
|
D | CallerInfoIntegrationTest.java | 48 DataUtil.insertStructuredName(mResolver, rawContactId, "Hot", "Tamale"); in testCallerInfo()
|
D | GlobalSearchSupportTest.java | 54 DataUtil.insertStructuredName(mResolver, rawContactId, "Deer", "Dough"); in testSearchSuggestionsNotInDefaultDirectory()
|
D | BaseContactsProvider2Test.java | 1599 DataUtil.insertStructuredName(mResolver, rawContactId, givenName, familyName);
|
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/ |
D | ContactTestUtils.java | 70 insertStructuredName(contentResolver, rawContactId, name, values); in createContact() 76 private static void insertStructuredName(ContentResolver contentResolver, in insertStructuredName() method in ContactTestUtils
|