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/
DContactAggregator2.java38 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
715 final String selection = "(" + NameLookupColumns.NORMALIZED_NAME + " GLOB '" in lookupApproximateNameMatches()
717 + "(" + NameLookupColumns.NAME_TYPE + " IN(" in lookupApproximateNameMatches()
737 NameLookupColumns.NORMALIZED_NAME,
738 NameLookupColumns.NAME_TYPE
977 " ON (" + "nameA." + NameLookupColumns.NORMALIZED_NAME + "="
978 + "nameB." + NameLookupColumns.NORMALIZED_NAME + ")"
980 " ON (nameB." + NameLookupColumns.RAW_CONTACT_ID + " = "
983 String SELECTION = "nameA." + NameLookupColumns.RAW_CONTACT_ID + "=?"
990 "nameA." + NameLookupColumns.NORMALIZED_NAME,
[all …]
DContactAggregator.java32 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,
845 final String selection = "(" + NameLookupColumns.NORMALIZED_NAME + " GLOB '" in lookupApproximateNameMatches()
847 + "(" + NameLookupColumns.NAME_TYPE + " IN(" in lookupApproximateNameMatches()
[all …]
DAbstractContactAggregator.java26 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
94 NameLookupColumns.NAME_TYPE + " IN ("
991 String SELECTION = NameLookupColumns.RAW_CONTACT_ID + "=?";
996 NameLookupColumns.NORMALIZED_NAME,
997 NameLookupColumns.NAME_TYPE
1057 " ON (" + NameLookupColumns.RAW_CONTACT_ID + " = "
1064 NameLookupColumns.NORMALIZED_NAME,
1065 NameLookupColumns.NAME_TYPE,
1080 NameLookupColumns.NORMALIZED_NAME + " IN(");
1221 NameLookupColumns.NORMALIZED_NAME,
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java594 public interface NameLookupColumns { interface in ContactsDatabaseHelper
1500 NameLookupColumns.DATA_ID in onCreate()
1502 NameLookupColumns.RAW_CONTACT_ID in onCreate()
1504 NameLookupColumns.NORMALIZED_NAME + " TEXT NOT NULL," + in onCreate()
1505 NameLookupColumns.NAME_TYPE + " INTEGER NOT NULL," + in onCreate()
1507 + NameLookupColumns.DATA_ID + ", " in onCreate()
1508 + NameLookupColumns.NORMALIZED_NAME + ", " in onCreate()
1509 + NameLookupColumns.NAME_TYPE + ")" + in onCreate()
1513 NameLookupColumns.RAW_CONTACT_ID + in onCreate()
1811 + " WHERE " + NameLookupColumns.DATA_ID + "=OLD." + Data._ID + ";" in createContactsTriggers()
[all …]
DLegacyApiSupport.java61 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
1932 "SELECT " + NameLookupColumns.RAW_CONTACT_ID + in getRawContactsByFilterAsNestedQuery()
1934 " WHERE " + NameLookupColumns.NORMALIZED_NAME + in getRawContactsByFilterAsNestedQuery()
1939 sb.append("*' AND " + NameLookupColumns.NAME_TYPE + " IN (" in getRawContactsByFilterAsNestedQuery()
DContactsProvider2.java135 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
7800 NameLookupColumns.NORMALIZED_NAME
7813 sb.append(NameLookupColumns.NORMALIZED_NAME + " IN ("); in lookupContactIdByDisplayNames()
7822 sb.append(") AND " + NameLookupColumns.NAME_TYPE + "=" + NameLookupType.NAME_COLLATION_KEY in lookupContactIdByDisplayNames()
8079 sb.append("=nl." + NameLookupColumns.RAW_CONTACT_ID); in appendSearchIndexJoin()
8080 sb.append(") WHERE nl." + NameLookupColumns.NORMALIZED_NAME); in appendSearchIndexJoin()
8082 sb.append("nl." + NameLookupColumns.NAME_TYPE + "="); in appendSearchIndexJoin()
9342 + NameLookupColumns.RAW_CONTACT_ID + ")" + in appendContactFilterAsNestedQuery()
9345 sb.append("*' AND " + NameLookupColumns.NAME_TYPE + in appendContactFilterAsNestedQuery()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperUpgradeTest.java57 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
382 new TableColumn(NameLookupColumns.DATA_ID, INTEGER, true, null),
383 new TableColumn(NameLookupColumns.RAW_CONTACT_ID, INTEGER, true, null),
384 new TableColumn(NameLookupColumns.NORMALIZED_NAME, TEXT, true, null),
385 new TableColumn(NameLookupColumns.NAME_TYPE, INTEGER, true, null),