Searched refs:mOpenHelper (Results 1 – 3 of 3) sorted by relevance
50 private MockOpenHelper mOpenHelper; field in SQLiteOpenHelperTest57 mOpenHelper = getOpenHelper(); in setUp()62 mOpenHelper.close(); in tearDown()83 assertFalse(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()85 database = mOpenHelper.getReadableDatabase(); in testGetDatabase()88 assertTrue(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()91 mOpenHelper.resetStatus(); in testGetDatabase()92 assertFalse(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()94 SQLiteDatabase database2 = mOpenHelper.getWritableDatabase(); in testGetDatabase()97 assertFalse(mOpenHelper.hasCalledOnOpen()); 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()
78 private SQLiteOpenHelper mOpenHelper; field in MockContentProvider135 mOpenHelper = new DatabaseHelper(getContext(), mDbName); in onCreate()142 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()245 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()310 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()321 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()