Searched refs:mimeTypeId (Results 1 – 2 of 2) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 126 final long mimeTypeId = getMimeTypeId(); in insert() local 127 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId); in insert() 133 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); in insert() 135 mDbHelper.clearSuperPrimary(rawContactId, mimeTypeId); in insert() 140 if (mDbHelper.rawContactHasSuperPrimary(rawContactId, mimeTypeId)) { in insert() 141 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); in insert() 262 final long mimeTypeId = getMimeTypeId(); in handlePrimaryAndSuperPrimary() local 282 mDbHelper.clearSuperPrimary(rawContactId, mimeTypeId); in handlePrimaryAndSuperPrimary() 285 mDbHelper.setIsPrimary(rawContactId, -1, mimeTypeId); in handlePrimaryAndSuperPrimary() 299 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); in handlePrimaryAndSuperPrimary() [all …]
|
D | ContactsDatabaseHelper.java | 2866 final long mimeTypeId = lookupMimeTypeId(db, StructuredName.CONTENT_ITEM_TYPE); in insertStructuredNameLookup() local 2868 StructuredNameQuery.SELECTION, new String[] {String.valueOf(mimeTypeId)}, in insertStructuredNameLookup() 2888 final long mimeTypeId = lookupMimeTypeId(db, Email.CONTENT_ITEM_TYPE); in insertEmailLookup() local 2890 EmailQuery.SELECTION, new String[] {String.valueOf(mimeTypeId)}, in insertEmailLookup() 2910 final long mimeTypeId = lookupMimeTypeId(db, Nickname.CONTENT_ITEM_TYPE); in insertNicknameLookup() local 2912 NicknameQuery.SELECTION, new String[]{String.valueOf(mimeTypeId)}, in insertNicknameLookup() 3385 final long mimeTypeId = lookupMimeTypeId(db, in upgradeToVersion1110() local 3389 db.update(Tables.DATA, values, DataColumns.MIMETYPE_ID + " = " + mimeTypeId, null); in upgradeToVersion1110() 4038 private int getDisplayNameSourceForMimeTypeId(int mimeTypeId) { in getDisplayNameSourceForMimeTypeId() argument 4039 if (mimeTypeId == mCommonMimeTypeIdsCache.get(StructuredName.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId() [all …]
|