Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java32 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
349 mSb.append("(CASE WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
352 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
355 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
358 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
361 mSb.append(" ELSE " + DataColumns.MIMETYPE_ID); in buildAndInsertIndex()
362 mSb.append(" END), " + Data.IS_SUPER_PRIMARY + ", " + DataColumns.CONCRETE_ID); in buildAndInsertIndex()
DLegacyApiSupport.java57 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
252 + " AND " + DataColumns.CONCRETE_ID + " = legacy_photo." + LegacyPhotoData.PHOTO_DATA_ID
368 " ON(" + StatusUpdatesColumns.DATA_ID + "=" + DataColumns.CONCRETE_ID + ")" + in sPeopleProjectionMap.put()
369 " WHERE " + DataColumns.CONCRETE_RAW_CONTACT_ID + "=people." + People._ID + in sPeopleProjectionMap.put()
503 "SELECT " + DataColumns.MIMETYPE_ID + in LegacyApiSupport()
579 DataColumns.CONCRETE_ID in createViews()
603 DataColumns.CONCRETE_ID in createViews()
605 DataColumns.CONCRETE_RAW_CONTACT_ID in createViews()
609 DataColumns.CONCRETE_IS_PRIMARY in createViews()
617 DataColumns.CONCRETE_DATA14 in createViews()
[all …]
DContactsDatabaseHelper.java273 + " ON (" + DataColumns.CONCRETE_DATA1 + "=" + GroupsColumns.CONCRETE_ID
275 + DataColumns.CONCRETE_RAW_CONTACT_ID + "=" + RawContactsColumns.CONCRETE_ID
277 + DataColumns.CONCRETE_MIMETYPE_ID + "="
377 final String HAVING_NO_GROUPS = "COUNT(" + DataColumns.CONCRETE_GROUP_ID + ") == 0";
535 public interface DataColumns { interface in ContactsDatabaseHelper
787 DataColumns.MIMETYPE_ID + "=? AND " + Data.DATA1 + " NOT NULL";
803 DataColumns.MIMETYPE_ID + "=? AND " + Data.DATA1 + " NOT NULL";
820 DataColumns.MIMETYPE_ID + "=? AND " + Data.DATA1 + " NOT NULL";
835 + DataColumns.MIMETYPE_ID + ","
1418 DataColumns.PACKAGE_ID + " INTEGER REFERENCES package(_id)," + in onCreate()
[all …]
DDataRowHandler.java33 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
52 DataColumns.CONCRETE_ID,
344 " AND " + DataColumns.MIMETYPE_ID + "=" + mimeTypeId, in fixPrimary()
DDataRowHandlerForGroupMembership.java28 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
62 + " WHERE " + DataColumns.MIMETYPE_ID + "=?"
DContactsProvider2.java153 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
502 private static final String SELECTION_GROUPMEMBERSHIP_DATA = DataColumns.MIMETYPE_ID + "=? "
523 DataColumns.CONCRETE_ID,
561 + "(SELECT " + DataColumns.CONCRETE_RAW_CONTACT_ID
563 + " WHERE " + DataColumns.MIMETYPE_ID + "=?"
1073 .add(StatusUpdates.DATA_ID, DataColumns.CONCRETE_ID)
2069 DataColumns.MIMETYPE_ID + "=" + photoMimeTypeId + " AND " in cleanupPhotoStore()
3246 groupMembershipValues.put(DataColumns.MIMETYPE_ID, in insertDataGroupMembership()
3294 values.put(DataColumns.MIMETYPE_ID, mDbHelper.get().getMimeTypeId(mimeType)); in insertData()
3657 mSb.append(DataColumns.MIMETYPE_ID + " IN (?,?)" + in insertStatusUpdate()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java25 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
106 "(SELECT " + DataColumns.CONCRETE_ID +
110 + DataColumns.CONCRETE_ID + ")" +
112 " ON (" + DataColumns.CONCRETE_RAW_CONTACT_ID + "="
753 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + identityType + in buildIdentityMatchingSql()
754 " AND d2." + DataColumns.MIMETYPE_ID + " = " + identityType + in buildIdentityMatchingSql()
768 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + emailType + in buildEmailMatchingSql()
769 " AND d2." + DataColumns.MIMETYPE_ID + " = " + emailType + in buildEmailMatchingSql()
789 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()
790 " AND d2." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()
[all …]
DContactAggregator.java31 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
253 mimeTypeCondition.append(" AND " + DataColumns.MIMETYPE_ID + " IN ("); in clearSuperPrimarySetting()
256 "SELECT DISTINCT(a." + DataColumns.MIMETYPE_ID + ")" + in clearSuperPrimarySetting()
257 " FROM (SELECT " + DataColumns.MIMETYPE_ID + " FROM " + Tables.DATA + " WHERE " + in clearSuperPrimarySetting()
261 " JOIN (SELECT " + DataColumns.MIMETYPE_ID + " FROM " + Tables.DATA + " WHERE " + in clearSuperPrimarySetting()
264 " ON a." + DataColumns.MIMETYPE_ID + "=b." + DataColumns.MIMETYPE_ID, in clearSuperPrimarySetting()
694 + " AND dataA." + DataColumns.MIMETYPE_ID + "=?2"
697 + " AND dataB." + DataColumns.MIMETYPE_ID + "=?2"
DContactAggregator2.java37 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
247 "SELECT " + DataColumns.MIMETYPE_ID + ", count(1) c FROM " + in clearSuperPrimarySetting()
250 DataColumns.MIMETYPE_ID + " HAVING c > 1"; in clearSuperPrimarySetting()
255 mimeTypeCondition.append(" AND " + DataColumns.MIMETYPE_ID + " IN ("); in clearSuperPrimarySetting()
956 + " AND dataA." + DataColumns.MIMETYPE_ID + "=?2"
959 + " AND dataB." + DataColumns.MIMETYPE_ID + "=?2"
1010 + " AND dataA." + DataColumns.MIMETYPE_ID + "=?2"
1012 + " AND dataB." + DataColumns.MIMETYPE_ID + "=?2"
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java294 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, mimeType); in testUpgradeHashId()
329 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, mimeType); in testUpgradeHashIdForPhoto()
DContactsDatabaseHelperUpgradeTest.java48 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
447 new TableColumn(DataColumns.PACKAGE_ID, INTEGER, false, null),
448 new TableColumn(DataColumns.MIMETYPE_ID, INTEGER, true, null),
DContactsProvider2Test.java186 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, 6666); in getMockContactsDatabaseHelper()
196 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, 6666); in getMockContactsDatabaseHelper()
206 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, 6666); in getMockContactsDatabaseHelper()
216 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, 6666); in getMockContactsDatabaseHelper()
226 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, 6666); in getMockContactsDatabaseHelper()
236 values.put(ContactsDatabaseHelper.DataColumns.MIMETYPE_ID, 6666); in getMockContactsDatabaseHelper()