Lines Matching defs:mDbHelper
79 protected final ContactsDatabaseHelper mDbHelper;
89 mDbHelper = dbHelper;
104 mMimetypeId = mDbHelper.getMimeTypeId(mMimetype);
123 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId);
130 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
132 mDbHelper.clearSuperPrimary(rawContactId, mimeTypeId);
137 if (mDbHelper.rawContactHasSuperPrimary(rawContactId, mimeTypeId)) {
138 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
200 final String photoHashId= mDbHelper.getPhotoHashId();
206 hashId = mDbHelper.generateHashId(data1, data2);
229 final Cursor c = mDbHelper.getReadableDatabase().query(Tables.DATA,
240 String hashId = mDbHelper.generateHashId(data1, data2);
275 final Cursor c = mDbHelper.getReadableDatabase().query(Tables.DATA,
283 mDbHelper.clearSuperPrimary(rawContactId, mimeTypeId);
286 mDbHelper.setIsPrimary(rawContactId, -1, mimeTypeId);
300 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
301 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId);
306 if (mDbHelper.rawContactHasSuperPrimary(rawContactId, mimeTypeId)) {
307 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
309 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId);
361 mDbHelper.setIsPrimary(rawContactId, primaryId, mimeTypeId);
376 mDbHelper.updateRawContactDisplayName(db, rawContactId);