Home
last modified time | relevance | path

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

123

/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/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java331 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
548 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getSingleAddressId()
689 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getThreadId()
762 return mOpenHelper.getReadableDatabase().query(TABLE_THREADS, projection, in getSimpleConversations()
815 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getDraftThread()
880 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getConversations()
925 Cursor cursor = mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getFirstLockedMessage()
943 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getCompleteConversations()
983 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getConversationMessages()
1047 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getMessagesByPhoneNumber()
[all …]
DHbpcdLookupProvider.java155 mDbHelper.getReadableDatabase(); in onCreate()
304 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberDatabaseHelper.java96 public SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in BlockedNumberDatabaseHelper
97 return mOpenHelper.getReadableDatabase(); in getReadableDatabase()
DBlockedNumberProvider.java291 return qb.query(mDbHelper.getReadableDatabase(), projection, selection, selectionArgs, in queryBlockedList()
394 final Cursor c = mDbHelper.getReadableDatabase().rawQuery( in isBlocked()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java207 public SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CallLogDatabaseHelper
208 return mOpenHelper.getReadableDatabase(); in getReadableDatabase()
216 return PropertyUtils.getProperty(getReadableDatabase(), key, defaultValue); in getProperty()
DDataRowHandler.java229 final Cursor c = mDbHelper.getReadableDatabase().query(Tables.DATA, in handleHashIdForUpdate()
275 final Cursor c = mDbHelper.getReadableDatabase().query(Tables.DATA, in handlePrimaryAndSuperPrimary()
DVoicemailStatusTable.java115 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java84 SQLiteDatabase db = getReadableDatabase(); in query()
98 SQLiteDatabase db = getReadableDatabase(); in insertRecordings()
/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.java204 SQLiteDatabase db = getDatabaseHelper(getContext()).getReadableDatabase();
209 SQLiteDatabase db = getDatabaseHelper(getContext()).getReadableDatabase();
DCallLogMigrationTest.java66 final SQLiteDatabase db = dbh.getReadableDatabase(); in testMigration()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTestable.java33 mDbHelper.getReadableDatabase().close(); in shutdown()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java236 SQLiteDatabase db = getReadableDatabase(); in getEntry()
257 SQLiteDatabase db = getReadableDatabase(); in getEntries()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DSavedWallpaperImages.java107 SQLiteDatabase db = mDb.getReadableDatabase();
172 SQLiteDatabase db = mDb.getReadableDatabase();
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java138 if (!hasGrantInternal(mDatabaseHelper.getReadableDatabase(), callingUid, alias)) {
296 return hasGrantInternal(mDatabaseHelper.getReadableDatabase(), uid, alias);
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSQLiteCacheHelper.java89 return mOpenHelper.getReadableDatabase().query( in query()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DSearchRecentSuggestionsProvider.java138 return readOnly ? mOpenHelper.getReadableDatabase() : in getDatabase()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java727 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
1186 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in openLogoFile()
1342 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in onConsolidate()
1388 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in onTryConsolidateAll()
1516 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in scheduleConsolidationIfNeeded()
1557 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getProgramValues()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DUsbTunerPreferenceProvider.java149 SQLiteDatabase db = mDatabaseOpenHelper.getReadableDatabase(); in query()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java168 SQLiteDatabase db = getReadableDatabase(); in getPhoto()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java121 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
/packages/apps/Dialer/src/com/android/dialer/database/
DFilteredNumberProvider.java83 final SQLiteDatabase db = mDialerDatabaseHelper.getReadableDatabase(); in query()
/packages/apps/Settings/src/com/android/settings/search/
DIndex.java239 final SQLiteDatabase database = getReadableDatabase(); in search()
262 return getReadableDatabase().rawQuery(sql, null); in getSuggestions()
520 private SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in Index
521 return IndexDatabaseHelper.getInstance(mContext).getReadableDatabase(); in getReadableDatabase()

123