Home
last modified time | relevance | path

Searched refs:getReadableDatabase (Results 1 – 25 of 46) sorted by relevance

12

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java330 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
547 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getSingleAddressId()
688 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getThreadId()
761 return mOpenHelper.getReadableDatabase().query(TABLE_THREADS, projection, in getSimpleConversations()
814 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getDraftThread()
879 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getConversations()
924 Cursor cursor = mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getFirstLockedMessage()
942 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getCompleteConversations()
982 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getConversationMessages()
1046 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getMessagesByPhoneNumber()
[all …]
DHbpcdLookupProvider.java155 mDbHelper.getReadableDatabase(); in onCreate()
304 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()
DMmsProvider.java236 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
274 Cursor cursor = mOpenHelper.getReadableDatabase().query( in getType()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DMetaData.java81 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getFields()
115 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getFieldsLocked()
171 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in write()
227 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in clearInstanceRange()
DCalendarCache.java148 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in writeData()
201 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in readData()
DCalendarInstancesHelper.java593 final SQLiteDatabase db = mDbHelper.getReadableDatabase(); in getEntries()
860 final SQLiteDatabase db = mDbHelper.getReadableDatabase(); in getRelevantRecurrenceEntries()
/packages/apps/Browser/src/com/android/browser/provider/
DSnapshotProvider.java146 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in SnapshotProvider
147 return mOpenHelper.getReadableDatabase(); in getReadableDatabase()
153 SQLiteDatabase db = getReadableDatabase(); in query()
DBrowserProvider.java778 Cursor c = mOpenHelper.getReadableDatabase().query(TABLE_NAMES[match % 10], projection,
809 Cursor c = mOpenHelper.getReadableDatabase().query(TABLE_NAMES[URI_MATCH_BOOKMARKS],
DBrowserProvider2.java881 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
1158 Cursor c = mOpenHelper.getReadableDatabase().query(TABLE_BOOKMARKS_JOIN_HISTORY, in doSuggestQuery()
1229 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in appendBookmarksIfFolder()
1401 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in queryDefaultFolderId()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java168 Cursor cursor = mDbHelper.getReadableDatabase().query(TABLE_NAME, in queryDatabase()
203 Cursor cursor = mDbHelper.getReadableDatabase().query( in initialize()
219 Cursor cursor = mDbHelper.getReadableDatabase().query( in freeSomeSpaceIfNeed()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java551 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
955 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in openLogoFile()
1111 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in onConsolidate()
1157 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in onTryConsolidateAll()
1285 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in scheduleConsolidationIfNeeded()
1326 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getProgramValues()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java197 SQLiteDatabase db = getDatabaseHelper(getContext()).getReadableDatabase();
202 SQLiteDatabase db = getDatabaseHelper(getContext()).getReadableDatabase();
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DSavedWallpaperImages.java73 SQLiteDatabase db = mDb.getReadableDatabase(); in loadThumbnailsAndImageIdList()
121 SQLiteDatabase db = mDb.getReadableDatabase(); in getImageFilenames()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java236 SQLiteDatabase db = getReadableDatabase(); in getEntry()
257 SQLiteDatabase db = getReadableDatabase(); in getEntries()
/packages/apps/Settings/src/com/android/settings/search/
DIndex.java235 final SQLiteDatabase database = getReadableDatabase(); in search()
258 return getReadableDatabase().rawQuery(sql, null); in getSuggestions()
500 private SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in Index
501 return IndexDatabaseHelper.getInstance(mContext).getReadableDatabase(); in getReadableDatabase()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java131 if (!hasGrantInternal(mDatabaseHelper.getReadableDatabase(), callingUid, alias)) {
251 return hasGrantInternal(mDatabaseHelper.getReadableDatabase(), uid, alias);
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java241 c = mDb.getReadableDatabase().query(CacheDb.TABLE_NAME, in removeObsoletePreviews()
291 cursor = mDb.getReadableDatabase().query( in readFromDb()
DIconCache.java285 Cursor c = mIconDb.getReadableDatabase().query(IconDB.TABLE_NAME, in updateDBIcons()
686 Cursor c = mIconDb.getReadableDatabase().query(IconDB.TABLE_NAME, in getEntryFromDB()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java489 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getType()
873 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
1320 final SQLiteDatabase db = mOpenHelper.getReadableDatabase();
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java443 return getProperty(getReadableDatabase(), key, defaultValue); in getProperty()
922 final SQLiteDatabase db = getReadableDatabase(); in getLooseMatches()
/packages/apps/Browser/src/com/android/browser/
DAutoFillProfileDatabase.java94 return writable ? mOpenHelper.getWritableDatabase() : mOpenHelper.getReadableDatabase(); in getDatabase()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DSearchRecentSuggestionsProvider.java138 return readOnly ? mOpenHelper.getReadableDatabase() : in getDatabase()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailStatusTable.java93 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java168 SQLiteDatabase db = getReadableDatabase(); in getPhoto()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmProvider.java202 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()

12