Home
last modified time | relevance | path

Searched refs:mOpenHelper (Results 1 – 8 of 8) sorted by relevance

/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java40 private SQLiteOpenHelper mOpenHelper; field in SQLiteContentProvider
55 mOpenHelper = getDatabaseHelper(context); in onCreate()
80 return mOpenHelper; in getDatabaseHelper()
92 mDb = mOpenHelper.getWritableDatabase(); in insert()
117 mDb = mOpenHelper.getWritableDatabase(); in bulkInsert()
145 mDb = mOpenHelper.getWritableDatabase(); in update()
173 mDb = mOpenHelper.getWritableDatabase(); in delete()
200 mDb = mOpenHelper.getWritableDatabase(); in applyBatch()
218 mDb = mOpenHelper.getWritableDatabase(); in applyBatch()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java77 private DatabaseHelper mOpenHelper; field in TrackerProvider
81 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
87 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
100 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
113 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java32 private SQLiteOpenHelper mOpenHelper; field in LocalProvider
79 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
103 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
134 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java77 private SQLiteOpenHelper mOpenHelper; field in SearchRecentSuggestionsProvider
220 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
267 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
302 mOpenHelper = new DatabaseHelper(getContext(), mWorkingDbVersion); in onCreate()
315 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java47 private SQLiteOpenHelper mOpenHelper; field in MemoryFileProvider
101 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
158 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getBlobColumnAsFile()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java80 protected DatabaseHelper mOpenHelper; field in SettingsProvider
253 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
262 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in onCreate()
285 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in fullyPopulateCache()
376 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in lookupValue()
398 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()
449 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert()
562 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
586 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
607 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/frameworks/base/core/java/android/accounts/
DAccountManagerService.java96 private final DatabaseHelper mOpenHelper; field in AccountManagerService
195 mOpenHelper = new DatabaseHelper(mContext); in AccountManagerService()
223 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in purgeOldGrants()
247 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in validateAccountsAndPopulateCache()
326 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in readPasswordInternal()
406 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in addAccountInternal()
604 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in removeAccountInternal()
624 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in invalidateAuthToken()
673 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in saveAuthTokenToDatabase()
756 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in setPasswordInternal()
[all …]
/frameworks/base/docs/html/resources/articles/
Dlive-folders.jd154 SQLiteDatabase db = mOpenHelper.getReadableDatabase();