Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java31 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
734 " ON (" + "nameA." + NameLookupColumns.NORMALIZED_NAME + "="
735 + "nameB." + NameLookupColumns.NORMALIZED_NAME + ")"
737 " ON (nameB." + NameLookupColumns.RAW_CONTACT_ID + " = "
740 String SELECTION = "nameA." + NameLookupColumns.RAW_CONTACT_ID + "=?"
746 "nameA." + NameLookupColumns.NORMALIZED_NAME,
747 "nameA." + NameLookupColumns.NAME_TYPE,
748 "nameB." + NameLookupColumns.NAME_TYPE,
831 final String selection = "(" + NameLookupColumns.NORMALIZED_NAME + " GLOB '" in lookupApproximateNameMatches()
833 + "(" + NameLookupColumns.NAME_TYPE + " IN(" in lookupApproximateNameMatches()
[all …]
DContactAggregator2.java37 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
701 final String selection = "(" + NameLookupColumns.NORMALIZED_NAME + " GLOB '" in lookupApproximateNameMatches()
703 + "(" + NameLookupColumns.NAME_TYPE + " IN(" in lookupApproximateNameMatches()
723 NameLookupColumns.NORMALIZED_NAME,
724 NameLookupColumns.NAME_TYPE
963 " ON (" + "nameA." + NameLookupColumns.NORMALIZED_NAME + "="
964 + "nameB." + NameLookupColumns.NORMALIZED_NAME + ")"
966 " ON (nameB." + NameLookupColumns.RAW_CONTACT_ID + " = "
969 String SELECTION = "nameA." + NameLookupColumns.RAW_CONTACT_ID + "=?"
976 "nameA." + NameLookupColumns.NORMALIZED_NAME,
[all …]
DAbstractContactAggregator.java26 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
93 NameLookupColumns.NAME_TYPE + " IN ("
985 String SELECTION = NameLookupColumns.RAW_CONTACT_ID + "=?";
990 NameLookupColumns.NORMALIZED_NAME,
991 NameLookupColumns.NAME_TYPE
1051 " ON (" + NameLookupColumns.RAW_CONTACT_ID + " = "
1058 NameLookupColumns.NORMALIZED_NAME,
1059 NameLookupColumns.NAME_TYPE,
1074 NameLookupColumns.NORMALIZED_NAME + " IN(");
1209 NameLookupColumns.NORMALIZED_NAME,
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java560 public interface NameLookupColumns { interface in ContactsDatabaseHelper
779 "(SELECT " + NameLookupColumns.DATA_ID + " FROM " + Tables.NAME_LOOKUP + ")" +
1441 NameLookupColumns.DATA_ID in onCreate()
1443 NameLookupColumns.RAW_CONTACT_ID in onCreate()
1445 NameLookupColumns.NORMALIZED_NAME + " TEXT NOT NULL," + in onCreate()
1446 NameLookupColumns.NAME_TYPE + " INTEGER NOT NULL," + in onCreate()
1448 + NameLookupColumns.DATA_ID + ", " in onCreate()
1449 + NameLookupColumns.NORMALIZED_NAME + ", " in onCreate()
1450 + NameLookupColumns.NAME_TYPE + ")" + in onCreate()
1454 NameLookupColumns.RAW_CONTACT_ID + in onCreate()
[all …]
DLegacyApiSupport.java60 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
2011 "SELECT " + NameLookupColumns.RAW_CONTACT_ID + in getRawContactsByFilterAsNestedQuery()
2013 " WHERE " + NameLookupColumns.NORMALIZED_NAME + in getRawContactsByFilterAsNestedQuery()
2018 sb.append("*' AND " + NameLookupColumns.NAME_TYPE + " IN (" in getRawContactsByFilterAsNestedQuery()
DContactsProvider2.java140 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
7848 NameLookupColumns.NORMALIZED_NAME
7861 sb.append(NameLookupColumns.NORMALIZED_NAME + " IN ("); in lookupContactIdByDisplayNames()
7870 sb.append(") AND " + NameLookupColumns.NAME_TYPE + "=" + NameLookupType.NAME_COLLATION_KEY in lookupContactIdByDisplayNames()
8124 sb.append("=nl." + NameLookupColumns.RAW_CONTACT_ID); in appendSearchIndexJoin()
8125 sb.append(") WHERE nl." + NameLookupColumns.NORMALIZED_NAME); in appendSearchIndexJoin()
8127 sb.append("nl." + NameLookupColumns.NAME_TYPE + "="); in appendSearchIndexJoin()
9384 + NameLookupColumns.RAW_CONTACT_ID + ")" + in appendContactFilterAsNestedQuery()
9387 sb.append("*' AND " + NameLookupColumns.NAME_TYPE + in appendContactFilterAsNestedQuery()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperUpgradeTest.java52 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
313 new TableColumn(NameLookupColumns.DATA_ID, INTEGER, true, null),
314 new TableColumn(NameLookupColumns.RAW_CONTACT_ID, INTEGER, true, null),
315 new TableColumn(NameLookupColumns.NORMALIZED_NAME, TEXT, true, null),
316 new TableColumn(NameLookupColumns.NAME_TYPE, INTEGER, true, null),