Home
last modified time | relevance | path

Searched refs:DataColumns (Results 1 – 11 of 11) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java25 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
107 "(SELECT " + DataColumns.CONCRETE_ID +
111 + DataColumns.CONCRETE_ID + ")" +
113 " ON (" + DataColumns.CONCRETE_RAW_CONTACT_ID + "="
756 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + identityType + in buildIdentityMatchingSql()
757 " AND d2." + DataColumns.MIMETYPE_ID + " = " + identityType + in buildIdentityMatchingSql()
771 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + emailType + in buildEmailMatchingSql()
772 " AND d2." + DataColumns.MIMETYPE_ID + " = " + emailType + in buildEmailMatchingSql()
792 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()
793 " AND d2." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()
[all …]
DContactAggregator.java31 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
255 mimeTypeCondition.append(" AND " + DataColumns.MIMETYPE_ID + " IN ("); in clearSuperPrimarySetting()
258 "SELECT DISTINCT(a." + DataColumns.MIMETYPE_ID + ")" + in clearSuperPrimarySetting()
259 " FROM (SELECT " + DataColumns.MIMETYPE_ID + " FROM " + Tables.DATA + " WHERE " + in clearSuperPrimarySetting()
263 " JOIN (SELECT " + DataColumns.MIMETYPE_ID + " FROM " + Tables.DATA + " WHERE " + in clearSuperPrimarySetting()
266 " ON a." + DataColumns.MIMETYPE_ID + "=b." + DataColumns.MIMETYPE_ID, in clearSuperPrimarySetting()
696 + " AND dataA." + DataColumns.MIMETYPE_ID + "=?2"
699 + " AND dataB." + DataColumns.MIMETYPE_ID + "=?2"
DContactAggregator2.java37 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
249 "SELECT " + DataColumns.MIMETYPE_ID + ", count(1) c FROM " + in clearSuperPrimarySetting()
252 DataColumns.MIMETYPE_ID + " HAVING c > 1"; in clearSuperPrimarySetting()
257 mimeTypeCondition.append(" AND " + DataColumns.MIMETYPE_ID + " IN ("); in clearSuperPrimarySetting()
944 + " AND dataA." + DataColumns.MIMETYPE_ID + "=?2"
947 + " AND dataB." + DataColumns.MIMETYPE_ID + "=?2"
998 + " AND dataA." + DataColumns.MIMETYPE_ID + "=?2"
1000 + " AND dataB." + DataColumns.MIMETYPE_ID + "=?2"
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java32 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
348 mSb.append("(CASE WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
351 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
354 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
357 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
360 mSb.append(" ELSE " + DataColumns.MIMETYPE_ID); in buildAndInsertIndex()
361 mSb.append(" END), " + Data.IS_SUPER_PRIMARY + ", " + DataColumns.CONCRETE_ID); in buildAndInsertIndex()
DLegacyApiSupport.java57 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
250 + " AND " + DataColumns.CONCRETE_ID + " = legacy_photo." + LegacyPhotoData.PHOTO_DATA_ID
366 " ON(" + StatusUpdatesColumns.DATA_ID + "=" + DataColumns.CONCRETE_ID + ")" + in sPeopleProjectionMap.put()
367 " WHERE " + DataColumns.CONCRETE_RAW_CONTACT_ID + "=people." + People._ID + in sPeopleProjectionMap.put()
501 "SELECT " + DataColumns.MIMETYPE_ID + in LegacyApiSupport()
577 DataColumns.CONCRETE_ID in createViews()
601 DataColumns.CONCRETE_ID in createViews()
603 DataColumns.CONCRETE_RAW_CONTACT_ID in createViews()
607 DataColumns.CONCRETE_IS_PRIMARY in createViews()
615 DataColumns.CONCRETE_DATA14 in createViews()
[all …]
DContactsDatabaseHelper.java271 + " ON (" + DataColumns.CONCRETE_DATA1 + "=" + GroupsColumns.CONCRETE_ID
273 + DataColumns.CONCRETE_RAW_CONTACT_ID + "=" + RawContactsColumns.CONCRETE_ID
275 + DataColumns.CONCRETE_MIMETYPE_ID + "="
382 final String HAVING_NO_GROUPS = "COUNT(" + DataColumns.CONCRETE_GROUP_ID + ") == 0";
523 public interface DataColumns { interface in ContactsDatabaseHelper
793 DataColumns.MIMETYPE_ID + "=? AND " + Data.DATA1 + " NOT NULL";
809 DataColumns.MIMETYPE_ID + "=? AND " + Data.DATA1 + " NOT NULL";
826 DataColumns.MIMETYPE_ID + "=? AND " + Data.DATA1 + " NOT NULL";
841 + DataColumns.MIMETYPE_ID + ","
1417 DataColumns.PACKAGE_ID + " INTEGER REFERENCES package(_id)," + in onCreate()
[all …]
DContactsProvider2.java128 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
462 private static final String SELECTION_GROUPMEMBERSHIP_DATA = DataColumns.MIMETYPE_ID + "=? "
483 DataColumns.CONCRETE_ID,
521 + "(SELECT " + DataColumns.CONCRETE_RAW_CONTACT_ID
523 + " WHERE " + DataColumns.MIMETYPE_ID + "=?"
1055 .add(StatusUpdates.DATA_ID, DataColumns.CONCRETE_ID)
1932 DataColumns.MIMETYPE_ID + "=" + photoMimeTypeId + " AND " in cleanupPhotoStore()
2917 groupMembershipValues.put(DataColumns.MIMETYPE_ID, in insertDataGroupMembership()
2965 values.put(DataColumns.MIMETYPE_ID, mDbHelper.get().getMimeTypeId(mimeType)); in insertData()
3348 mSb.append(DataColumns.MIMETYPE_ID + " IN (?,?)" + in insertStatusUpdate()
[all …]
DDataRowHandler.java30 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
48 DataColumns.CONCRETE_ID,
346 " AND " + DataColumns.MIMETYPE_ID + "=" + mimeTypeId, in fixPrimary()
DDataRowHandlerForGroupMembership.java28 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
62 + " WHERE " + DataColumns.MIMETYPE_ID + "=?"
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java292 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, mimeType); in testUpgradeHashId()
327 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, mimeType); in testUpgradeHashIdForPhoto()
DContactsDatabaseHelperUpgradeTest.java50 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
342 new TableColumn(DataColumns.PACKAGE_ID, INTEGER, false, null),
343 new TableColumn(DataColumns.MIMETYPE_ID, INTEGER, true, null),