/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | SynchronousContactsProvider2.java | 33 private static ContactsDatabaseHelper mDbHelper; field in class:SynchronousContactsProvider2 40 if (mDbHelper == null) { 41 mDbHelper = new ContactsDatabaseHelper(context); 43 return mDbHelper; 47 mDbHelper = null;
|
H A D | LegacyContactImporterPerformanceTest.java | 112 private static ContactsDatabaseHelper mDbHelper; field in class:LegacyContactImporterPerformanceTest.TestCallLogProvider 116 if (mDbHelper == null) { 117 mDbHelper = new ContactsDatabaseHelper(context); 119 return mDbHelper;
|
H A D | CallLogProviderTest.java | 152 private static ContactsDatabaseHelper mDbHelper; field in class:CallLogProviderTest.TestCallLogProvider 156 if (mDbHelper == null) { 157 mDbHelper = new ContactsDatabaseHelper(context); 159 return mDbHelper;
|
H A D | LegacyContactImporterTest.java | 285 private static ContactsDatabaseHelper mDbHelper; field in class:LegacyContactImporterTest.TestCallLogProvider 289 if (mDbHelper == null) { 290 mDbHelper = new ContactsDatabaseHelper(context); 292 return mDbHelper;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | CallLogProvider.java | 70 private ContactsDatabaseHelper mDbHelper; field in class:CallLogProvider 78 mDbHelper = getDatabaseHelper(context); 79 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 128 final SQLiteDatabase db = mDbHelper.getReadableDatabase(); 163 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 189 final SQLiteDatabase db = mDbHelper.getWritableDatabase();
|
H A D | SocialProvider.java | 125 private ContactsDatabaseHelper mDbHelper; field in class:SocialProvider 131 mDbHelper = ContactsDatabaseHelper.getInstance(context); 180 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 190 values.put(ActivitiesColumns.PACKAGE_ID, mDbHelper.getPackageId(packageName)); 195 values.put(ActivitiesColumns.MIMETYPE_ID, mDbHelper.getMimeTypeId(mimeType)); 296 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 325 final SQLiteDatabase db = mDbHelper.getReadableDatabase(); 395 final SQLiteDatabase db = mDbHelper.getReadableDatabase(); 397 return mDbHelper.getActivityMimeType(activityId);
|
H A D | ContactsProvider2.java | 982 mMimetypeId = mDbHelper.getMimeTypeId(mMimetype); 1724 long contactId = mDbHelper.getContactId(rawContactId); 1726 mDbHelper.updateContactVisible(contactId); 1808 private ContactsDatabaseHelper mDbHelper; field in class:ContactsProvider2 1859 mDbHelper = (ContactsDatabaseHelper)getDatabaseHelper(); 1861 mLegacyApiSupport = new LegacyApiSupport(context, mDbHelper, this, mGlobalSearchSupport); 1862 mContactAggregator = new ContactAggregator(this, mDbHelper, 1866 mDb = mDbHelper.getWritableDatabase(); 1972 mMimeTypeIdEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); 1973 mMimeTypeIdIm = mDbHelper [all...] |
H A D | ContactAggregator.java | 94 private final ContactsDatabaseHelper mDbHelper; field in class:ContactAggregator 205 mDbHelper = contactsDatabaseHelper; 208 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 295 mMimeTypeIdEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); 296 mMimeTypeIdPhoto = mDbHelper.getMimeTypeId(Photo.CONTENT_ITEM_TYPE); 297 mMimeTypeIdPhone = mDbHelper.getMimeTypeId(Phone.CONTENT_ITEM_TYPE); 418 mDbHelper.updateContactVisible(contactId); 441 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 446 mDbHelper.updateContactVisible(contactId); 512 mDbHelper [all...] |
H A D | LegacyContactImporter.java | 77 private ContactsDatabaseHelper mDbHelper; field in class:LegacyContactImporter 167 mDbHelper = (ContactsDatabaseHelper)mContactsProvider.getDatabaseHelper(); 168 mTargetDb = mDbHelper.getWritableDatabase(); 170 mStructuredNameMimetypeId = mDbHelper.getMimeTypeId(StructuredName.CONTENT_ITEM_TYPE); 171 mNoteMimetypeId = mDbHelper.getMimeTypeId(Note.CONTENT_ITEM_TYPE); 172 mOrganizationMimetypeId = mDbHelper.getMimeTypeId(Organization.CONTENT_ITEM_TYPE); 173 mPhoneMimetypeId = mDbHelper.getMimeTypeId(Phone.CONTENT_ITEM_TYPE); 174 mEmailMimetypeId = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); 175 mImMimetypeId = mDbHelper.getMimeTypeId(Im.CONTENT_ITEM_TYPE); 176 mPostalMimetypeId = mDbHelper [all...] |
H A D | LegacyApiSupport.java | 495 private final ContactsDatabaseHelper mDbHelper; field in class:LegacyApiSupport 518 mDbHelper = contactsDatabaseHelper; 525 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 536 mMimetypeEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); 537 mMimetypeIm = mDbHelper.getMimeTypeId(Im.CONTENT_ITEM_TYPE); 538 mMimetypePostal = mDbHelper.getMimeTypeId(StructuredPostal.CONTENT_ITEM_TYPE); 839 throw new UnsupportedOperationException(mDbHelper.exceptionMessage(uri)); 967 throw new UnsupportedOperationException(mDbHelper.exceptionMessage(uri)); 1161 long contactId = mDbHelper.getContactId(rawContactId); 1162 SQLiteDatabase mDb = mDbHelper [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | AutoDictionary.java | 224 private final DatabaseHelper mDbHelper; field in class:AutoDictionary.UpdateDbTask 231 mDbHelper = openHelper; 236 SQLiteDatabase db = mDbHelper.getWritableDatabase();
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 131 private CalendarDatabaseHelper mDbHelper; field in class:CalendarProvider2 331 mDbHelper = (CalendarDatabaseHelper)getDatabaseHelper(); 349 mMetaData = new MetaData(mDbHelper); 350 mCalendarCache = new CalendarCache(mDbHelper); 407 mDb = mDbHelper.getWritableDatabase(); 599 final SQLiteDatabase db = mDbHelper.getReadableDatabase(); 608 return mDbHelper.getSyncState().query(db, projection, selection, selectionArgs, 1359 mDbHelper.instancesReplace(values); 1580 id = mDbHelper.getSyncState().insert(mDb, values); 1614 id = mDbHelper [all...] |