/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 159 mOpenHelper.createEmptyDB(mOpenHelper.getWritableDatabase()); in createDbIfNotExists() 181 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in query() 221 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() 284 stmp = mOpenHelper.getWritableDatabase().compileStatement( in initializeExternalAdd() 305 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert() 326 try (SQLiteTransaction t = new SQLiteTransaction(mOpenHelper.getWritableDatabase())) { in applyBatch() 339 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() 343 mOpenHelper.removeGhostWidgets(mOpenHelper.getWritableDatabase()); in delete() 359 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() 414 mOpenHelper.createEmptyDB(mOpenHelper.getWritableDatabase()); in call() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | SQLiteContentProvider.java | 96 mDb = mOpenHelper.getWritableDatabase(); in insert() 124 mDb = mOpenHelper.getWritableDatabase(); in bulkInsert() 151 mDb = mOpenHelper.getWritableDatabase(); in update() 184 mDb = mOpenHelper.getWritableDatabase(); in delete() 224 mDb = mOpenHelper.getWritableDatabase(); in applyBatch() 337 SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in SQLiteContentProvider 338 return mOpenHelper != null ? mOpenHelper.getWritableDatabase() : null; in getWritableDatabase()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierProvider.java | 81 long row = getWritableDatabase().insertOrThrow(CarrierDatabaseHelper.CARRIER_KEY_TABLE, in insert() 100 final int count = getWritableDatabase().delete(CarrierDatabaseHelper.CARRIER_KEY_TABLE, in delete() 116 final int count = getWritableDatabase().update(CarrierDatabaseHelper.CARRIER_KEY_TABLE, in update() 129 SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in CarrierProvider 130 return mDbHelper.getWritableDatabase(); in getWritableDatabase()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | DbDowngradeHelperTest.java | 105 assertEquals(22, helper.getWritableDatabase().getVersion()); in testDowngrade_success_v22() 108 try (Cursor c = helper.getWritableDatabase().query(Favorites.TABLE_NAME, in testDowngrade_success_v22() 121 assertEquals(LauncherProvider.SCHEMA_VERSION, helper.getWritableDatabase().getVersion()); in testDowngrade_success_v22() 123 try (Cursor c = helper.getWritableDatabase().query(Favorites.TABLE_NAME, in testDowngrade_success_v22() 158 dbHelper.getWritableDatabase().insert(Favorites.TABLE_NAME, null, values); in setupTestDb()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | SQLiteContentProvider.java | 121 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() 141 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert() 164 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() 188 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() 210 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in applyBatch()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDatabaseHelper.java | 229 SQLiteDatabase db = getWritableDatabase(); in insertSchedules() 249 SQLiteDatabase db = getWritableDatabase(); in updateSchedules() 270 SQLiteDatabase db = getWritableDatabase(); in deleteSchedules() 289 SQLiteDatabase db = getWritableDatabase(); in insertSeriesRecordings() 309 SQLiteDatabase db = getWritableDatabase(); in updateSeriesRecordings() 330 SQLiteDatabase db = getWritableDatabase(); in deleteSeriesRecordings()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 1082 return writable ? getWritableDatabase() : getReadableDatabase(); in getDatabase() 2730 rebuildSearchIndex(getWritableDatabase(), true); in rebuildSearchIndex() 2797 SQLiteDatabase db = getWritableDatabase(); in setLocale() 3767 SQLiteDatabase db = getWritableDatabase(); in wipeData() 3864 SQLiteDatabase db = getWritableDatabase(); in getPackageId() 3882 SQLiteDatabase db = getWritableDatabase(); in getMimeTypeId() 3891 return lookupMimeTypeId(getWritableDatabase(), StructuredName.CONTENT_ITEM_TYPE); in getMimeTypeIdForStructuredName() 3895 return lookupMimeTypeId(getWritableDatabase(), StructuredPostal.CONTENT_ITEM_TYPE); in getMimeTypeIdForStructuredPostal() 3899 return lookupMimeTypeId(getWritableDatabase(), Organization.CONTENT_ITEM_TYPE); in getMimeTypeIdForOrganization() 3903 return lookupMimeTypeId(getWritableDatabase(), Im.CONTENT_ITEM_TYPE); in getMimeTypeIdForIm() [all …]
|
D | CallLogDatabaseHelper.java | 236 public SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in CallLogDatabaseHelper 237 return mOpenHelper.getWritableDatabase(); in getWritableDatabase() 245 PropertyUtils.setProperty(getWritableDatabase(), key, value); in setProperty() 373 return ContactsDatabaseHelper.getInstance(mContext).getWritableDatabase(); in getContactsWritableDatabaseForMigration() 406 getWritableDatabase().execSQL("DELETE FROM " + Tables.CALLS); in wipeForTest()
|
D | ContactMetadataProvider.java | 183 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() 214 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() 262 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() 298 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in applyBatch() 317 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in bulkInsert()
|
D | ContactsUpgradeReceiver.java | 88 helper.getWritableDatabase(); in onReceive() 91 profileHelper.getWritableDatabase(); in onReceive() 92 calllogHelper.getWritableDatabase(); in onReceive()
|
D | CallLogProvider.java | 377 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() 412 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() 442 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() 627 mDbHelper.getWritableDatabase().execSQL( in adjustForNewPhoneAccountInternal() 637 mDbHelper.getWritableDatabase().execSQL(UNHIDE_BY_ADDRESS_QUERY, in adjustForNewPhoneAccountInternal() 657 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in copyEntriesFromCursor()
|
D | ContactsProvider2.java | 1833 final SQLiteDatabase db = mDbHelper.get().getWritableDatabase(); in performBackgroundTask() 1932 SQLiteDatabase db = mContactsHelper.getWritableDatabase(); in changeLocaleInBackground() 1933 SQLiteDatabase profileDb = mProfileHelper.getWritableDatabase(); in changeLocaleInBackground() 1982 final SQLiteDatabase db = mDbHelper.get().getWritableDatabase(); in cleanupPhotoStore() 2307 undemoteContact(mDbHelper.get().getWritableDatabase(), id); in call() 2326 final SQLiteDatabase db = mDbHelper.get().getWritableDatabase(); in preAuthorizeUri() 2346 final SQLiteDatabase db = mDbHelper.get().getWritableDatabase(); in isValidPreAuthorizedUri() 2440 final SQLiteDatabase db = mDbHelper.get().getWritableDatabase(); in onCommitTransactionInternal() 2489 final SQLiteDatabase db = mDbHelper.get().getWritableDatabase(); in flushTransactionalChanges() 2669 final SQLiteDatabase db = mDbHelper.get().getWritableDatabase(); in insertInTransaction() [all …]
|
D | VoicemailStatusTable.java | 78 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() 105 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() 136 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 192 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertNewBroadcast() 218 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in deleteBroadcast() 236 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in deleteAllBroadcasts() 257 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in markBroadcastRead()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SavedQueryRemover.java | 39 final SQLiteDatabase database = getWritableDatabase(); in loadInBackground() 56 private SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in SavedQueryRemover 58 return IndexDatabaseHelper.getInstance(getContext()).getWritableDatabase(); in getWritableDatabase()
|
D | SavedQueryRecorder.java | 61 final SQLiteDatabase database = getWritableDatabase(); in loadInBackground() 90 private SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in SavedQueryRecorder 92 return IndexDatabaseHelper.getInstance(getContext()).getWritableDatabase(); in getWritableDatabase()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | CarrierProviderTestable.java | 52 SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in CarrierProviderTestable 53 Log.d(TAG, "getWritableDatabase called" + mDbHelper.getWritableDatabase()); in getWritableDatabase() 54 return mDbHelper.getWritableDatabase(); in getWritableDatabase()
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberDatabaseHelper.java | 104 public SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in BlockedNumberDatabaseHelper 105 return mOpenHelper.getWritableDatabase(); in getWritableDatabase() 109 getWritableDatabase().execSQL("DELETE FROM " + Tables.BLOCKED_NUMBERS); in wipeForTest()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetDatabaseHelper.java | 209 SQLiteDatabase db = getWritableDatabase(); in setPhoto() 225 getWritableDatabase().replaceOrThrow(TABLE_WIDGETS, null, values); in setWidget() 291 getWritableDatabase().insert(TABLE_WIDGETS, null, values); in updateEntry() 302 SQLiteDatabase db = getWritableDatabase(); in deleteEntry()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogContentProvider.java | 145 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in insert() 187 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in delete() 225 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in update() 269 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in applyBatch()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | SQLiteCacheHelper.java | 48 mOpenHelper.getWritableDatabase().delete(mTableName, whereClause, whereArgs); in delete() 64 mOpenHelper.getWritableDatabase().insertWithOnConflict( in insertOrReplace() 87 mOpenHelper.clearDB(mOpenHelper.getWritableDatabase()); in clear()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 1170 try (SQLiteDatabase db = mOpenHelper.getWritableDatabase()) { in call() 1346 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertChannel() 1368 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertProgram() 1389 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertWatchedProgram() 1418 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertRecordedProgram() 1439 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertPreviewProgram() 1464 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertWatchNextProgram() 1479 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() 1551 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() 1896 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in applyBatch() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 124 mDbHelper.getWritableDatabase(), entry); in store() 150 mDbHelper.getWritableDatabase().delete( in lookup() 185 mDbHelper.getWritableDatabase().update(TABLE_NAME, in updateLastAccess() 238 mDbHelper.getWritableDatabase().delete(TABLE_NAME, in freeSomeSpaceIfNeed()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberProvider.java | 94 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in insert() 123 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in delete() 144 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in update()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 220 removeAllGrants(mDatabaseHelper.getWritableDatabase()); 291 setGrantInternal(mDatabaseHelper.getWritableDatabase(), uid, alias, value); 384 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in removeGrantsForAlias() 432 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in purgeOldGrants()
|