Home
last modified time | relevance | path

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

1234

/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()
DSQLiteContentProvider.java333 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in SQLiteContentProvider
334 return mOpenHelper != null ? mOpenHelper.getReadableDatabase() : null; in getReadableDatabase()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierProviderTestable.java46 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CarrierProviderTestable
47 Log.d(TAG, "getReadableDatabase called" + mDbHelper.getReadableDatabase()); in getReadableDatabase()
48 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
DCarrierIdProviderTestable.java45 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CarrierIdProviderTestable
46 Log.d(TAG, "getReadableDatabase called" + mDbHelper.getReadableDatabase()); in getReadableDatabase()
47 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
DTelephonyProviderTestable.java67 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in TelephonyProviderTestable
69 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
DSmsProviderTest.java234 Cursor cursor = mSmsProviderTestable.mDeOpenHelper.getReadableDatabase().query( in testRawTableDelete()
251 cursor = mSmsProviderTestable.mDeOpenHelper.getReadableDatabase().query( in testRawTableDelete()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java363 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
580 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getSingleAddressId()
721 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getThreadId()
794 return mOpenHelper.getReadableDatabase().query(TABLE_THREADS, projection, in getSimpleConversations()
847 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getDraftThread()
912 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getConversations()
957 Cursor cursor = mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getFirstLockedMessage()
975 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getCompleteConversations()
1015 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getConversationMessages()
1080 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getMessagesByPhoneNumber()
[all …]
DCarrierProvider.java73 SQLiteDatabase db = getReadableDatabase(); in query()
129 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CarrierProvider
130 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
DCarrierIdProvider.java198 mDbHelper.getReadableDatabase(); in onCreate()
235 SQLiteDatabase db = getReadableDatabase(); in query()
322 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CarrierIdProvider
323 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java202 return getReadableDatabase().query( in query()
208 return qb.query(getReadableDatabase(), projection, selection, selectionArgs, null, in query()
335 private SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CellBroadcastProvider
336 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java248 public SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CallLogDatabaseHelper
249 return mOpenHelper.getReadableDatabase(); in getReadableDatabase()
257 return PropertyUtils.getProperty(getReadableDatabase(), key, defaultValue); in getProperty()
549 final SQLiteDatabase db = getReadableDatabase(); in selectDistinctColumn()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberDatabaseHelper.java100 public SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in BlockedNumberDatabaseHelper
101 return mOpenHelper.getReadableDatabase(); in getReadableDatabase()
/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/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptUtil.java54 .getReadableDatabase() in checkRttTranscriptAvailability()
85 .getReadableDatabase() in getRttTranscript()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java202 SQLiteDatabase db = getDatabaseHelper().getReadableDatabase();
207 SQLiteDatabase db = getDatabaseHelper().getReadableDatabase();
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesDatabaseAccessor.java106 final SQLiteDatabase database = mHelper.getReadableDatabase(); in getSliceKeys()
128 final SQLiteDatabase database = mHelper.getReadableDatabase(); in getIndexedSliceData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSlicesDatabaseAccessor.java106 final SQLiteDatabase database = mHelper.getReadableDatabase(); in getSliceKeys()
128 final SQLiteDatabase database = mHelper.getReadableDatabase(); in getIndexedSliceData()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DDbDowngradeHelperTest.java112 assertEquals(24, helper.getReadableDatabase().getVersion()); in testDowngrade_success_v24()
155 helper.getReadableDatabase().getVersion(); in testDowngrade_fail_v20()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbSettingsStorage.java79 try (SQLiteDatabase db = mDbHelper.getReadableDatabase(); in getSettings()
134 try (SQLiteDatabase db = mDbHelper.getReadableDatabase(); in getAllSettings()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryDatabaseManager.java103 final SQLiteDatabase db = mDatabaseHelper.getReadableDatabase(); in queryAllAnomalies()
171 final SQLiteDatabase db = mDatabaseHelper.getReadableDatabase(); in queryActionTime()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryDatabaseManager.java103 final SQLiteDatabase db = mDatabaseHelper.getReadableDatabase(); in queryAllAnomalies()
171 final SQLiteDatabase db = mDatabaseHelper.getReadableDatabase(); in queryActionTime()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java236 SQLiteDatabase db = getReadableDatabase(); in getEntry()
257 SQLiteDatabase db = getReadableDatabase(); in getEntries()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugStorageProvider.java257 SQLiteDatabase db = mDatabaseHelper.getReadableDatabase(); in query()
306 SQLiteDatabase db = mDatabaseHelper.getReadableDatabase(); in delete()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTestable.java33 mDbHelper.getReadableDatabase().close(); in shutdown()

1234