Home
last modified time | relevance | path

Searched refs:mDb (Results 1 – 2 of 2) sorted by relevance

/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssContentProvider.java38 private SQLiteDatabase mDb; field in RssContentProvider
106 mDb = mDbHelper.openDatabase(getContext(), DATABASE_NAME, null, DB_VERSION); in onCreate()
111 if(mDb == null){ in onCreate()
158 Cursor c = qBuilder.query(mDb, in query()
172 int updateCount = mDb.update(DATABASE_TABLE_NAME, values, whereClause); in update()
185 rowId = mDb.insert(DATABASE_TABLE_NAME, "rawcontent", initialValues); in insert()
196 int rowCount = mDb.delete(DATABASE_TABLE_NAME, ID + " = " + uri.getPathLeafId()); in delete()
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java55 private SQLiteDatabase mDb; field in NotePadProviderTest
121 mDb = getProvider().getOpenHelperForTest().getWritableDatabase(); in setUp()
150 mDb.insertOrThrow( in insertData()