/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 133 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in query() 172 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() 202 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert() 225 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in applyBatch() 241 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() 254 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() 304 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in deleteEmptyFolders() 361 mOpenHelper.createEmptyDB(mOpenHelper.getWritableDatabase()); in createEmptyDB() 408 if ((mOpenHelper.loadFavorites(mOpenHelper.getWritableDatabase(), loader) <= 0) in loadDefaultFavoritesIfNecessary() 412 mOpenHelper.loadFavorites(mOpenHelper.getWritableDatabase(), in loadDefaultFavoritesIfNecessary() [all …]
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | SmartDialPrefixTest.java | 85 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in tearDown() 97 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testPutForFullName() 135 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testPutForPartialName() 170 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testPutForNameTokens() 191 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testPutForInitialMatches() 235 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testPutForInitialMatchesForLongTokenNames() 264 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testCheckLongToken() 287 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testAccentedCharacters() 307 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testNumbersInName() 328 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in testPutForNumbers() [all …]
|
D | DialerDatabaseHelperTest.java | 52 mDb = mTestHelper.getWritableDatabase(); in setUp() 57 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); in tearDown()
|
/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/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()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogDatabaseHelper.java | 211 public SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in CallLogDatabaseHelper 212 return mOpenHelper.getWritableDatabase(); in getWritableDatabase() 220 PropertyUtils.setProperty(getWritableDatabase(), key, value); in setProperty() 322 return ContactsDatabaseHelper.getInstance(mContext).getWritableDatabase(); in getContactsWritableDatabaseForMigration() 331 getWritableDatabase().execSQL("DELETE FROM " + Tables.CALLS); in wipeForTest()
|
D | ContactsUpgradeReceiver.java | 89 helper.getWritableDatabase(); in onReceive() 92 profileHelper.getWritableDatabase(); in onReceive() 93 calllogHelper.getWritableDatabase(); in onReceive()
|
D | VoicemailStatusTable.java | 72 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() 98 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() 129 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update()
|
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 | CallLogProvider.java | 339 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() 374 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() 404 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() 589 mDbHelper.getWritableDatabase().execSQL( in adjustForNewPhoneAccountInternal() 599 mDbHelper.getWritableDatabase().execSQL(UNHIDE_BY_ADDRESS_QUERY, in adjustForNewPhoneAccountInternal() 619 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in copyEntriesFromCursor()
|
D | VoicemailContentTable.java | 151 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() 192 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() 249 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update()
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberDatabaseHelper.java | 100 public SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in BlockedNumberDatabaseHelper 101 return mOpenHelper.getWritableDatabase(); in getWritableDatabase() 105 getWritableDatabase().execSQL("DELETE FROM " + Tables.BLOCKED_NUMBERS); in wipeForTest()
|
/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/Launcher3/src/com/android/launcher3/util/ |
D | SQLiteCacheHelper.java | 39 mOpenHelper.getWritableDatabase().update(mTableName, values, whereClause, whereArgs); in update() 55 mOpenHelper.getWritableDatabase().delete(mTableName, whereClause, whereArgs); in delete() 71 mOpenHelper.getWritableDatabase().insertWithOnConflict( in insertOrReplace()
|
/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/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/src/com/android/dialer/database/ |
D | FilteredNumberProvider.java | 113 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in insert() 143 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in delete() 165 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in update()
|
D | VoicemailArchiveProvider.java | 109 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in insert() 137 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in delete() 161 SQLiteDatabase db = mDialerDatabaseHelper.getWritableDatabase(); in update()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 763 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertChannel() 781 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertProgram() 802 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertWatchedProgram() 831 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertRecordedProgram() 845 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() 889 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() 1092 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in applyBatch() 1112 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert() 1277 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in doInBackground() 1300 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in deleteUnconsolidatedWatchedProgramsRows() [all …]
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 226 removeAllGrants(mDatabaseHelper.getWritableDatabase()); 301 setGrantInternal(mDatabaseHelper.getWritableDatabase(), uid, alias, value); 404 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in removeGrantsForAlias() 452 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in purgeOldGrants()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDatabaseHelper.java | 116 SQLiteDatabase db = getWritableDatabase(); in updateRecordings() 139 SQLiteDatabase db = getWritableDatabase(); in deleteRecordings()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 242 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() 256 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() 285 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | ClockProvider.java | 205 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() 231 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() 252 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | SynchronousContactsProvider2.java | 195 SQLiteDatabase db = getDatabaseHelper(getContext()).getWritableDatabase(); 217 SQLiteDatabase db = getDatabaseHelper(getContext()).getWritableDatabase();
|
/packages/apps/Gallery/src/com/android/camera/ |
D | PhotoAppWidgetProvider.java | 139 SQLiteDatabase db = getWritableDatabase(); in setPhoto() 200 SQLiteDatabase db = getWritableDatabase(); in deletePhoto()
|