Lines Matching refs:db
98 SQLiteDatabase db = mDb.getReadableDatabase();
99 Cursor result = db.query(ImageDb.TABLE_NAME,
151 SQLiteDatabase db = mDb.getReadableDatabase();
152 Cursor result = db.query(ImageDb.TABLE_NAME,
178 SQLiteDatabase db = mDb.getWritableDatabase();
179 db.delete(ImageDb.TABLE_NAME,
200 SQLiteDatabase db = mDb.getWritableDatabase();
204 db.insert(ImageDb.TABLE_NAME, null, values);
212 final static String DB_NAME = "saved_wallpaper_images.db";
237 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
240 db.execSQL("DELETE FROM " + TABLE_NAME);