Home
last modified time | relevance | path

Searched refs:insertNameLookup (Results 1 – 7 of 7) sorted by relevance

/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DNameLookupBuilderTest.java86 mBuilder.insertNameLookup(0, 0, "", FullNameStyle.UNDEFINED); in testEmptyName()
91 mBuilder.insertNameLookup(0, 0, "Foo", FullNameStyle.UNDEFINED); in testSingleUniqueName()
96 mBuilder.insertNameLookup(0, 0, "Mr. Foo", FullNameStyle.UNDEFINED); in testSingleUniqueNameWithPrefix()
101 mBuilder.insertNameLookup(0, 0, "Foo Bar", FullNameStyle.UNDEFINED); in testTwoUniqueNames()
106 mBuilder.insertNameLookup(0, 0, "Foo Bar Baz", FullNameStyle.UNDEFINED); in testThreeUniqueNames()
121 mBuilder.insertNameLookup(0, 0, "Foo Bar Baz Biz", FullNameStyle.UNDEFINED); in testFourUniqueNames()
155 mBuilder.insertNameLookup(0, 0, "Bill", FullNameStyle.UNDEFINED); in testSingleNickname()
160 mBuilder.insertNameLookup(0, 0, "Al", FullNameStyle.UNDEFINED); in testSingleNameWithTwoNicknames()
165 mBuilder.insertNameLookup(0, 0, "Foo Al", FullNameStyle.UNDEFINED); in testTwoNamesOneOfWhichIsNickname()
174 mBuilder.insertNameLookup(0, 0, "Bill Al", FullNameStyle.UNDEFINED); in testTwoNamesBothNickname()
[all …]
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameLookupBuilder.java82 protected abstract void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() method in NameLookupBuilder
99 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) { in insertNameLookup() method in NameLookupBuilder
277 insertNameLookup(rawContactId, dataId, lookupType, mStringBuilder.toString()); in insertNameVariant()
294 insertNameLookup(rawContactId, dataId, NameLookupType.NAME_COLLATION_KEY, in insertCollationKey()
H A DDataRowHandlerForStructuredName.java55 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, in insert()
83 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, in update()
H A DContactsDatabaseHelper.java886 protected void insertNameLookup( in insertNameLookup() method in ContactsDatabaseHelper.StructuredNameLookupBuilder
2653 insertNameLookup(db); in rebuildNameLookup()
2705 insertNameLookup(db); in rebuildLocaleData()
2758 private void insertNameLookup(SQLiteDatabase db) { in insertNameLookup() method in ContactsDatabaseHelper
2796 nameLookupBuilder.insertNameLookup(rawContactId, dataId, name, fullNameStyle); in insertStructuredNameLookup()
2817 insertNameLookup(nameLookupInsert, rawContactId, dataId, in insertEmailLookup()
2838 insertNameLookup(nameLookupInsert, rawContactId, dataId, in insertNicknameLookup()
2849 public void insertNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, in insertNameLookup() method in ContactsDatabaseHelper
4897 public void insertNameLookup(long rawContactId, long dataId, int lookupType, String name) { in insertNameLookup() method in ContactsDatabaseHelper
4937 insertNameLookup(rawContactId, dataId, in insertNameLookupForEmail()
[all …]
H A DContactsProvider2.java9337 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() method in ContactsProvider2.StructuredNameLookupBuilder
9339 mDbHelper.get().insertNameLookup(rawContactId, dataId, lookupType, name); in insertNameLookup()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DAbstractContactAggregator.java1094 protected void insertNameLookup( in insertNameLookup() method in AbstractContactAggregator.NameLookupSelectionBuilder
1129 builder.insertNameLookup(0, 0, query, FullNameStyle.UNDEFINED); in updateMatchScoresBasedOnNameMatches()
H A DContactAggregator2.java639 builder.insertNameLookup(0, 0, query, FullNameStyle.UNDEFINED); in updateMatchScoresBasedOnNameMatches()