Home
last modified time | relevance | path

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

12

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java300 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
511 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getSingleAddressId()
652 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getThreadId()
725 return mOpenHelper.getReadableDatabase().query(TABLE_THREADS, projection, in getSimpleConversations()
778 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getDraftThread()
843 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getConversations()
888 Cursor cursor = mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getFirstLockedMessage()
905 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getCompleteConversations()
944 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getConversationMessages()
1008 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.java213 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
251 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/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java467 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
857 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in openLogoFile()
991 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in onConsolidate()
1037 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in onTryConsolidateAll()
1165 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in scheduleConsolidationIfNeeded()
1206 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getProgramValues()
/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/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.java74 SQLiteDatabase db = mDb.getReadableDatabase(); in loadThumbnailsAndImageIdList()
122 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.java234 final SQLiteDatabase database = getReadableDatabase(); in search()
257 return getReadableDatabase().rawQuery(sql, null); in getSuggestions()
498 private SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in Index
499 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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java485 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getType()
844 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
1274 final SQLiteDatabase db = mOpenHelper.getReadableDatabase();
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java439 return getProperty(getReadableDatabase(), key, defaultValue); in getProperty()
913 final SQLiteDatabase db = getReadableDatabase(); in getLooseMatches()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java1010 return writable ? getWritableDatabase() : getReadableDatabase(); in getDatabase()
4723 Cursor c = getReadableDatabase().rawQuery( in getAllAccountsWithDataSets()
5173 return getProperty(getReadableDatabase(), key, defaultValue); in getProperty()
5739 final Cursor existsCursor = getReadableDatabase().rawQuery( in rawContactHasSuperPrimary()
5769 return DatabaseUtils.stringForQuery(getReadableDatabase(), in querySearchIndexContentForTest()
5778 return DatabaseUtils.stringForQuery(getReadableDatabase(), in querySearchIndexTokensForTest()
DVoicemailStatusTable.java93 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()
/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/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java168 SQLiteDatabase db = getReadableDatabase(); in getPhoto()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2314 SQLiteDatabase db = helper.getReadableDatabase(); in query()
4528 SQLiteDatabase db = database.getReadableDatabase(); in openFile()
4576 SQLiteDatabase db = database.getReadableDatabase(); in openFile()
5459 File file = new File(database.getReadableDatabase().getPath()); in detachVolume()
5683 SQLiteDatabase db = dbh.getReadableDatabase(); in dump()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmProvider.java202 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()

12