Home
last modified time | relevance | path

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

12

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java297 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
508 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getSingleAddressId()
648 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getThreadId()
721 return mOpenHelper.getReadableDatabase().query(TABLE_THREADS, projection, in getSimpleConversations()
774 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getDraftThread()
839 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getConversations()
884 Cursor cursor = mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getFirstLockedMessage()
901 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getCompleteConversations()
940 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getConversationMessages()
1004 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getMessagesByPhoneNumber()
[all …]
DMmsProvider.java208 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
242 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()
/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.java879 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
1156 Cursor c = mOpenHelper.getReadableDatabase().query(TABLE_BOOKMARKS_JOIN_HISTORY, in doSuggestQuery()
1349 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/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java197 SQLiteDatabase db = getDatabaseHelper(getContext()).getReadableDatabase();
202 SQLiteDatabase db = getDatabaseHelper(getContext()).getReadableDatabase();
DPhotoStoreTest.java59 mDb = mProvider.getDatabaseHelper(getContext()).getReadableDatabase(); in setUp()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java120 if (!hasGrantInternal(mDatabaseHelper.getReadableDatabase(), callingUid, alias)) {
211 return hasGrantInternal(mDatabaseHelper.getReadableDatabase(), uid, alias);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java236 SQLiteDatabase db = getReadableDatabase(); in getEntry()
257 SQLiteDatabase db = getReadableDatabase(); in getEntries()
/packages/apps/Gallery2/src/com/android/photos/data/
DMediaCacheDatabase.java146 SQLiteDatabase db = getReadableDatabase(); in executeOnBestCached()
277 SQLiteDatabase db = getReadableDatabase(); in getCacheSize()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DShortcutRepositoryImplLog.java214 query.run(mOpenHelper.getReadableDatabase(), consumer); in runQueryAsync()
322 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getShortcutsForQuery()
512 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getCorpusScores()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java480 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getType()
838 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
1219 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in dump()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java806 return writable ? getWritableDatabase() : getReadableDatabase(); in getDatabase()
4430 Cursor c = getReadableDatabase().rawQuery( in getAllAccountsWithDataSets()
4884 return getProperty(getReadableDatabase(), key, defaultValue); in getProperty()
5525 final Cursor existsCursor = getReadableDatabase().rawQuery( in rawContactHasSuperPrimary()
5555 return DatabaseUtils.stringForQuery(getReadableDatabase(), in querySearchIndexContentForTest()
5564 return DatabaseUtils.stringForQuery(getReadableDatabase(), in querySearchIndexTokensForTest()
DVoicemailStatusTable.java93 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()
DVoicemailContentTable.java203 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmProvider.java72 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
/packages/apps/Browser/src/com/android/browser/
DAutoFillProfileDatabase.java95 return writable ? mOpenHelper.getWritableDatabase() : mOpenHelper.getReadableDatabase(); in getDatabase()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2156 SQLiteDatabase db = helper.getReadableDatabase(); in query()
4337 SQLiteDatabase db = database.getReadableDatabase(); in openFile()
4382 SQLiteDatabase db = database.getReadableDatabase(); in openFile()
5156 File file = new File(database.getReadableDatabase().getPath()); in detachVolume()
5371 SQLiteDatabase db = dbh.getReadableDatabase(); in dump()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java168 SQLiteDatabase db = getReadableDatabase(); in getPhoto()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java119 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
/packages/apps/Gallery2/tests/src/com/android/photos/data/
DPhotoDatabaseTest.java210 return mDBHelper.getReadableDatabase(); in getReadableDB()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java154 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()

12