Searched refs:mimeTypeId (Results 1 – 2 of 2) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 122 final long mimeTypeId = getMimeTypeId(); in insert() local 123 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId); in insert() 130 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); in insert() 132 mDbHelper.clearSuperPrimary(rawContactId, mimeTypeId); in insert() 137 if (mDbHelper.rawContactHasSuperPrimary(rawContactId, mimeTypeId)) { in insert() 138 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); in insert() 263 final long mimeTypeId = getMimeTypeId(); in handlePrimaryAndSuperPrimary() local 283 mDbHelper.clearSuperPrimary(rawContactId, mimeTypeId); in handlePrimaryAndSuperPrimary() 286 mDbHelper.setIsPrimary(rawContactId, -1, mimeTypeId); in handlePrimaryAndSuperPrimary() 300 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); in handlePrimaryAndSuperPrimary() [all …]
|
D | ContactsDatabaseHelper.java | 2853 final long mimeTypeId = lookupMimeTypeId(db, StructuredName.CONTENT_ITEM_TYPE); in insertStructuredNameLookup() local 2855 StructuredNameQuery.SELECTION, new String[] {String.valueOf(mimeTypeId)}, in insertStructuredNameLookup() 2875 final long mimeTypeId = lookupMimeTypeId(db, Email.CONTENT_ITEM_TYPE); in insertEmailLookup() local 2877 EmailQuery.SELECTION, new String[] {String.valueOf(mimeTypeId)}, in insertEmailLookup() 2897 final long mimeTypeId = lookupMimeTypeId(db, Nickname.CONTENT_ITEM_TYPE); in insertNicknameLookup() local 2899 NicknameQuery.SELECTION, new String[]{String.valueOf(mimeTypeId)}, in insertNicknameLookup() 3384 final long mimeTypeId = lookupMimeTypeId(db, in upgradeToVersion1110() local 3388 db.update(Tables.DATA, values, DataColumns.MIMETYPE_ID + " = " + mimeTypeId, null); in upgradeToVersion1110() 3925 private int getDisplayNameSourceForMimeTypeId(int mimeTypeId) { in getDisplayNameSourceForMimeTypeId() argument 3926 if (mimeTypeId == mCommonMimeTypeIdsCache.get(StructuredName.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId() [all …]
|