Home
last modified time | relevance | path

Searched refs:mDatabaseHelper (Results 1 – 5 of 5) sorted by relevance

/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java64 public DatabaseHelper mDatabaseHelper; field in KeyChainService
83 mDatabaseHelper = new DatabaseHelper(this); in onCreate()
89 mDatabaseHelper.close(); in onDestroy()
90 mDatabaseHelper = null; in onDestroy()
138 if (!hasGrantInternal(mDatabaseHelper.getReadableDatabase(), callingUid, alias)) {
226 removeAllGrants(mDatabaseHelper.getWritableDatabase());
296 return hasGrantInternal(mDatabaseHelper.getReadableDatabase(), uid, alias);
301 setGrantInternal(mDatabaseHelper.getWritableDatabase(), uid, alias, value);
404 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in removeGrantsForAlias()
452 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in purgeOldGrants()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java59 private final ContactsDatabaseHelper mDatabaseHelper; field in PhotoStore
79 mDatabaseHelper = databaseHelper; in PhotoStore()
95 mDb = mDatabaseHelper.getWritableDatabase(); in clear()
134 mDb = mDatabaseHelper.getWritableDatabase(); in initialize()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeDataModel.java56 private final DatabaseHelper mDatabaseHelper; field in FakeDataModel
69 mDatabaseHelper = DatabaseHelper.getNewInstanceForTest(context); in FakeDataModel()
71 mDatabaseHelper = null; in FakeDataModel()
236 return mDatabaseHelper.getDatabase(); in getDatabase()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDataModelImpl.java64 private final DatabaseHelper mDatabaseHelper; field in DataModelImpl
73 mDatabaseHelper = DatabaseHelper.getInstance(context); in DataModelImpl()
184 return mDatabaseHelper.getDatabase(); in getDatabase()
DMessagingContentProvider.java240 private DatabaseHelper mDatabaseHelper; field in MessagingContentProvider
255 mDatabaseWrapper = mDatabaseHelper.getDatabase(); in getDatabaseWrapper()
472 mDatabaseHelper = (DatabaseHelper) getDatabase(); in onCreate()