Searched refs:mOpenHelper (Results 1 – 4 of 4) sorted by relevance
36 private MockOpenHelper mOpenHelper; field in SQLiteOpenHelperTest47 mOpenHelper = getOpenHelper(); in setUp()66 assertFalse(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()68 database = mOpenHelper.getReadableDatabase(); in testGetDatabase()71 assertTrue(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()74 mOpenHelper.resetStatus(); in testGetDatabase()75 assertFalse(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()77 SQLiteDatabase database2 = mOpenHelper.getWritableDatabase(); in testGetDatabase()80 assertFalse(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()82 mOpenHelper.close(); in testGetDatabase()[all …]
88 private SQLiteOpenHelper mOpenHelper; field in TestResultsProvider100 mOpenHelper = new TestResultsOpenHelper(getContext()); in onCreate()160 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()166 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()203 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()214 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
51 private SQLiteOpenHelper mOpenHelper; field in MockContentProvider126 mOpenHelper = new DatabaseHelper(getContext(), mDbName); in onCreate()133 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()221 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()290 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()301 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
20549 private android.database.sqlite.SQLiteOpenHelper mOpenHelper21632 final android.database.sqlite.SQLiteOpenHelper mOpenHelper21822 private final android.database.sqlite.SQLiteOpenHelper mOpenHelper22005 protected android.database.sqlite.SQLiteOpenHelper mOpenHelper70101 private android.database.sqlite.SQLiteOpenHelper mOpenHelper