Home
last modified time | relevance | path

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

1234567

/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()
DSatelliteProviderTestable.java47 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in SatelliteProviderTestable
48 Log.d(TAG, "getReadableDatabase called" + mDbHelper.getReadableDatabase()); in getReadableDatabase()
49 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.java61 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in TelephonyProviderTestable
63 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
/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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DEnqueueAsyncRegistrationTest.java181 .getReadableDatabase() in appSourceOrTriggerRegistrationRequest_sourceInvalidRegistrationUri_doesNotInsert()
219 .getReadableDatabase() in testAppSourceRegistrationRequest_event_isValid()
278 .getReadableDatabase() in testAppSourceRegistrationRequest_navigation_isValid()
336 .getReadableDatabase() in appSourceOrTriggerRegistrationRequest_triggerInvalidRegistrationUri_doesNotInsert()
374 .getReadableDatabase() in testAppTriggerRegistrationRequest_isValid()
430 .getReadableDatabase() in testAppRegistrationRequestWithAdId_isValid()
475 .getReadableDatabase() in testAppRegistrationRequestWithPostBody_isValid()
510 .getReadableDatabase() in testWebSourceRegistrationRequest_event_isValid()
582 .getReadableDatabase() in testWebSourceRegistrationRequest_navigation_isValid()
641 .getReadableDatabase() in testWebTriggerRegistrationRequest_isValid()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSatelliteProvider.java57 SQLiteDatabase db = getReadableDatabase(); in query()
108 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in SatelliteProvider
109 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
DCarrierProvider.java73 SQLiteDatabase db = getReadableDatabase(); in query()
129 SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CarrierProvider
130 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
DMmsSmsProvider.java372 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
681 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getSingleAddressId()
833 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getThreadId()
915 return mOpenHelper.getReadableDatabase().query(TABLE_THREADS, projection, in getSimpleConversations()
968 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getDraftThread()
1033 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getConversations()
1078 Cursor cursor = mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getFirstLockedMessage()
1096 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getCompleteConversations()
1136 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getConversationMessages()
1201 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, in getMessagesByPhoneNumber()
[all …]
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenDaoTest.java68 dbHelper.getReadableDatabase().close(); in cleanUp()
75 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in testInsertAuthToken_notExist_success()
95 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in testInsertAuthToken_preExist_success()
168 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in testDeleteAuthToken_exist_success()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/
DOdpWebViewClientTests.java175 mDbHelper.getReadableDatabase().close(); in cleanup()
190 mDbHelper.getReadableDatabase().query(EventsContract.EventsEntry.TABLE_NAME, null, in testValidUrlOverride()
207 mDbHelper.getReadableDatabase().query(EventsContract.EventsEntry.TABLE_NAME, null, in testValidUrlWithNoContentIntercept()
227 mDbHelper.getReadableDatabase().query(EventsContract.EventsEntry.TABLE_NAME, null, in testValidUrlWithResponseDataIntercept()
245 mDbHelper.getReadableDatabase().query(EventsContract.EventsEntry.TABLE_NAME, null, in testValidUrlWithRedirect()
260 mDbHelper.getReadableDatabase().query( in testValidUrlWithEventMetrics()
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/
DE2eeContactKeysDatabaseHelper.java94 try (Cursor c = getReadableDatabase().rawQuery( in getAllContactKeys()
140 try (Cursor c = getReadableDatabase().rawQuery( in getContactKeysForOwnerPackageName()
184 try (Cursor c = getReadableDatabase().rawQuery( in getContactKey()
367 try (Cursor c = getReadableDatabase().rawQuery( in getSelfKey()
392 try (Cursor c = getReadableDatabase().rawQuery( in getAllSelfKeys()
423 try (Cursor c = getReadableDatabase().rawQuery( in getSelfKeysForOwnerPackageName()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java199 return getReadableDatabase().query( in query()
205 return qb.query(getReadableDatabase(), projection, selection, selectionArgs, null, in query()
376 private SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CellBroadcastProvider
377 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseMigrationTest.java68 final SQLiteDatabase sqLiteDatabase = contactsDatabaseHelper.getReadableDatabase(); in testPhoneAccountHandleMigrationMarkingOnUpgrade()
100 final SQLiteDatabase sqLiteDatabase = contactsDatabaseHelper.getReadableDatabase(); in testPhoneAccountHandleMigrationOnCreate()
DSynchronousContactsProvider2.java201 SQLiteDatabase db = getDatabaseHelper().getReadableDatabase();
206 SQLiteDatabase db = getDatabaseHelper().getReadableDatabase();
/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/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventsDao.java208 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in getEventState()
305 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in readQueryRows()
346 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in readJoinedTableRows()
488 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in readAllEventIds()
525 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in hasEvent()
564 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in readAllEventIdsForQuery()
600 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in readSingleQueryRow()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/
DEnrollmentDao.java471 SQLiteDatabase db = getReadableDatabase(buildId); in getEnrollmentDataForFledgeByAdTechIdentifier()
581 SQLiteDatabase db = getReadableDatabase(buildId); in getAllFledgeEnrolledAdTechs()
697 SQLiteDatabase db = getReadableDatabase(buildId); in getEnrollmentDataForFledgeByMatchingAdTechIdentifier()
811 SQLiteDatabase db = getReadableDatabase(buildId); in getEnrollmentDataFromSdkName()
903 SQLiteDatabase db = getReadableDatabase(buildId); in getEnrollmentDataForPASByMatchingAdTechIdentifier()
1018 SQLiteDatabase db = getReadableDatabase(buildId); in getEnrollmentDataForPASByAdTechIdentifier()
1131 SQLiteDatabase db = getReadableDatabase(buildId); in getAllPASEnrolledAdTechs()
1476 SQLiteDatabase db = getReadableDatabase(buildId); in getEnrollmentDataForAPIByAdTechIdentifier()
1557 SQLiteDatabase db = getReadableDatabase(buildId); in getAllEnrollmentDataByAPI()
1619 SQLiteDatabase db = getReadableDatabase(buildId); in getEnrollmentDataForAPIByUrl()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/vendor/
DOnDevicePersonalizationVendorDataDao.java155 SQLiteDatabase db = dbHelper.getReadableDatabase(); in getVendors()
247 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in readAllVendorData()
270 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in readSingleVendorDataRow()
315 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in readAllVendorDataKeys()
569 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in getSyncToken()
/packages/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptUtil.java54 .getReadableDatabase() in checkRttTranscriptAvailability()
85 .getReadableDatabase() in getRttTranscript()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java294 public SQLiteDatabase getReadableDatabase() { in getReadableDatabase() method in CallLogDatabaseHelper
295 return mOpenHelper.getReadableDatabase(); in getReadableDatabase()
303 return PropertyUtils.getProperty(getReadableDatabase(), key, defaultValue); in getProperty()
577 final SQLiteDatabase db = getReadableDatabase(); in selectDistinctColumn()
/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/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJobServiceTest.java122 dbHelper.getReadableDatabase().close(); in tearDown()
144 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in deleteExpiredAuthToken_success()
167 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in deleteExpiredAuthToken_failure()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DLogUtilsTest.java50 mDbHelper.getReadableDatabase().close(); in cleanup()
185 return mDbHelper.getReadableDatabase().query(tableName, null, in getDbTableSize()

1234567