/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForEmail.java | 44 String address = mDbHelper.insertNameLookupForEmail(rawContactId, dataId, email); 63 mDbHelper.deleteNameLookup(dataId); 64 mDbHelper.insertNameLookupForEmail(rawContactId, dataId, address); 79 mDbHelper.deleteNameLookup(dataId);
|
DataRowHandlerForNickname.java | 47 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname); 65 mDbHelper.deleteNameLookup(dataId); 66 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname); 81 mDbHelper.deleteNameLookup(dataId);
|
SearchIndexManager.java | 239 private final ContactsDatabaseHelper mDbHelper; 247 mDbHelper = (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); 258 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 278 mDbHelper.createSearchIndexTable(db, true); 324 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 345 mSb.append(mDbHelper.getMimeTypeId(Nickname.CONTENT_ITEM_TYPE)); 348 mSb.append(mDbHelper.getMimeTypeId(Organization.CONTENT_ITEM_TYPE)); 351 mSb.append(mDbHelper.getMimeTypeId(StructuredPostal.CONTENT_ITEM_TYPE)); 354 mSb.append(mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE)); 402 return Integer.parseInt(mDbHelper.getProperty(PROPERTY_SEARCH_INDEX_VERSION, "0")) [all...] |
VoicemailStatusTable.java | 60 private final CallLogDatabaseHelper mDbHelper; 67 mDbHelper = dbHelper; 74 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 101 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 118 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 132 SQLiteDatabase db = mDbHelper.getWritableDatabase();
|
VoicemailContentTable.java | 78 private final CallLogDatabaseHelper mDbHelper; 88 mDbHelper = dbHelper; 148 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 189 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 231 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 246 final SQLiteDatabase db = mDbHelper.getWritableDatabase();
|
DataRowHandlerForOrganization.java | 88 mDbHelper.deleteNameLookup(dataId); 101 mDbHelper.deleteNameLookup(dataId);
|
ContactsProvider2.java | [all...] |
AbstractContactsProvider.java | 87 private SQLiteOpenHelper mDbHelper; 136 mDbHelper = getDatabaseHelper(context); 142 return mDbHelper; 446 if (mDbHelper == null) { 447 pw.println("mDbHelper is null"); 453 final SQLiteDatabase db = mDbHelper.getReadableDatabase();
|
CallLogProvider.java | 160 private CallLogDatabaseHelper mDbHelper; 181 mDbHelper = getDatabaseHelper(context); 272 final SQLiteDatabase db = mDbHelper.getReadableDatabase(); 336 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 371 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 401 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 586 mDbHelper.getWritableDatabase().execSQL( 596 mDbHelper.getWritableDatabase().execSQL(UNHIDE_BY_ADDRESS_QUERY, 616 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 673 return Long.valueOf(mDbHelper.getProperty(getLastSyncTimePropertyName(forShadow), "0")) [all...] |
DataRowHandlerForGroupMembership.java | 114 final long groupMembershipMimetypeId = mDbHelper 136 long contactId = mDbHelper.getContactId(rawContactId); 141 if (mDbHelper.updateContactVisibleOnlyIfChanged(txContext, contactId)) {
|
DataRowHandlerForPhoneNumber.java | 95 mDbHelper.getCurrentCountryIso()); 174 number, mDbHelper.getCurrentCountryIso());
|
LegacyApiSupport.java | 500 private final ContactsDatabaseHelper mDbHelper; 523 mDbHelper = contactsDatabaseHelper; 530 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 541 mMimetypeEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); 542 mMimetypeIm = mDbHelper.getMimeTypeId(Im.CONTENT_ITEM_TYPE); 543 mMimetypePostal = mDbHelper.getMimeTypeId(StructuredPostal.CONTENT_ITEM_TYPE); [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
FileCache.java | 60 private DatabaseHelper mDbHelper; 92 mDbHelper = new DatabaseHelper(context, dbName); 97 mDbHelper.close(); 124 mDbHelper.getWritableDatabase(), entry); 150 mDbHelper.getWritableDatabase().delete( 168 Cursor cursor = mDbHelper.getReadableDatabase().query(TABLE_NAME, 185 mDbHelper.getWritableDatabase().update(TABLE_NAME, 203 Cursor cursor = mDbHelper.getReadableDatabase().query( 219 Cursor cursor = mDbHelper.getReadableDatabase().query( 238 mDbHelper.getWritableDatabase().delete(TABLE_NAME [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
AggregatorStorage.java | 31 protected DBHelper mDbHelper;
|
BordeauxSessionStorage.java | 52 private SessionDBHelper mDbHelper; 57 mDbHelper = new SessionDBHelper(context); 58 mDbSessions = mDbHelper.getWritableDatabase();
|
AggregatorRecordStorage.java | 71 mDbHelper = new DBHelper(context, tableName, tableCmd); 72 mDatabase = mDbHelper.getWritableDatabase();
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
DatabaseContentProvider.java | 53 protected SQLiteOpenHelper mDbHelper; 213 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 261 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 296 mDbHelper = new DatabaseHelper(getContext(), mDbName); 325 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 344 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 382 SQLiteDatabase db = mDbHelper.getWritableDatabase();
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
SoundTriggerService.java | 57 private SoundTriggerDbHelper mDbHelper; 79 mDbHelper = new SoundTriggerDbHelper(mContext); 156 SoundTrigger.GenericSoundModel model = mDbHelper.getGenericSoundModel( 167 mDbHelper.updateGenericSoundModel(soundModel); 178 mDbHelper.deleteGenericSoundModel(soundModelId.getUuid());
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 39 private DatabaseHelper mDbHelper = new DatabaseHelper(); 106 mDb = mDbHelper.openDatabase(getContext(), DATABASE_NAME, null, DB_VERSION);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
HbpcdLookupProvider.java | 146 private HbpcdLookupDatabaseHelper mDbHelper; 153 mDbHelper = new HbpcdLookupDatabaseHelper(getContext()); 155 mDbHelper.getReadableDatabase(); 304 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 326 final SQLiteDatabase db = mDbHelper.getWritableDatabase();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
AbstractContactAggregator.java | 145 protected final ContactsDatabaseHelper mDbHelper; 278 mDbHelper = contactsDatabaseHelper; 283 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 386 mMimeTypeIdEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); 387 mMimeTypeIdIdentity = mDbHelper.getMimeTypeId(Identity.CONTENT_ITEM_TYPE); 388 mMimeTypeIdPhoto = mDbHelper.getMimeTypeId(Photo.CONTENT_ITEM_TYPE); 389 mMimeTypeIdPhone = mDbHelper.getMimeTypeId(Phone.CONTENT_ITEM_TYPE); 394 mDbHelper.getMimeTypeIdForStructuredName(), mMimeTypeIdPhoto, mMimeTypeIdPhone); 398 mDbHelper.getMimeTypeIdForStructuredName(), mMimeTypeIdPhoto, mMimeTypeIdPhone); 505 int aggregationMode = mDbHelper.getAggregationMode(rawContactId) [all...] |
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
BlockedNumberProvider.java | 102 protected BlockedNumberDatabaseHelper mDbHelper; 108 mDbHelper = BlockedNumberDatabaseHelper.getInstance(getContext()); 166 final long id = mDbHelper.getWritableDatabase().insertWithOnConflict( 223 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 291 return qb.query(mDbHelper.getReadableDatabase(), projection, selection, selectionArgs, 394 final Cursor c = mDbHelper.getReadableDatabase().rawQuery(
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
WapPushManager.java | 379 private WapPushManDBHelper mDbHelper = null; 381 if (mDbHelper == null) { 383 mDbHelper = new WapPushManDBHelper(context); 385 return mDbHelper;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 180 private CalendarDatabaseHelper mDbHelper; 501 if (mDbHelper != null) { 502 mDbHelper.close(); 503 mDbHelper = null; 528 mDbHelper = (CalendarDatabaseHelper)getDatabaseHelper(); 529 mDb = mDbHelper.getWritableDatabase(); 531 mMetaData = new MetaData(mDbHelper); 532 mInstancesHelper = new CalendarInstancesHelper(mDbHelper, mMetaData); 547 mCalendarCache = new CalendarCache(mDbHelper); [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerService.java | 84 final DatabaseHelper mDbHelper; 96 mDbHelper = new DatabaseHelper(context); 741 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); [all...] |