Home
last modified time | relevance | path

Searched refs:getDatabaseHelper (Results 1 – 25 of 31) sorted by relevance

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java58 return getProfileProviderForTest().getDatabaseHelper(); in getProfileDatabaseHelper()
193 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase();
202 SQLiteDatabase db = getDatabaseHelper().getReadableDatabase();
207 SQLiteDatabase db = getDatabaseHelper().getReadableDatabase();
215 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase();
DCallLogProviderTestable.java37 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper() method in CallLogProviderTestable
DBaseContactsProvider2Test.java566 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in markInvisible()
574 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in createAccount()
1037 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in assertStoredValuesDb()
1388 getContactsProvider().getDatabaseHelper(), values); in insertRawContact()
1393 getContactsProvider().getProfileProviderForTest().getDatabaseHelper(), values); in insertProfileRawContact()
DBaseVoicemailProviderTest.java185 protected CallLogDatabaseHelper getDatabaseHelper(Context context) {
DPhotoStoreTest.java59 mDb = mProvider.getDatabaseHelper().getReadableDatabase(); in setUp()
DContactsDatabaseHelperTest.java55 mDbHelper = getContactsProvider().getDatabaseHelper(); in setUp()
DSearchIndexManagerTest.java533 .getDatabaseHelper(); in assertSearchIndex()
/packages/apps/Gallery2/src/com/android/photos/data/
DSQLiteContentProvider.java57 mOpenHelper = getDatabaseHelper(context); in onCreate()
64 getDatabaseHelper().close(); in shutdown()
70 public abstract SQLiteOpenHelper getDatabaseHelper(Context context); in getDatabaseHelper() method in SQLiteContentProvider
107 public SQLiteOpenHelper getDatabaseHelper() { in getDatabaseHelper() method in SQLiteContentProvider
DPhotoProvider.java296 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase(); in insertInTransaction()
333 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase(); in updateInTransaction()
416 public SQLiteOpenHelper getDatabaseHelper(Context context) { in getDatabaseHelper() method in PhotoProvider
497 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase(); in deleteCascade()
520 SQLiteDatabase db = getDatabaseHelper().getReadableDatabase(); in query()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java56 public ProfileDatabaseHelper getDatabaseHelper() { in getDatabaseHelper() method in ProfileProvider
57 return (ProfileDatabaseHelper) super.getDatabaseHelper(); in getDatabaseHelper()
110 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase(); in useProfileDbForTransaction()
DVoicemailContentProvider.java99 getDatabaseHelper(context), this, createCallLogInsertionHelper(context)); in onCreate()
101 getDatabaseHelper(context), this); in onCreate()
157 /*package*/ CallLogDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper() method in VoicemailContentProvider
DShadowCallLogProvider.java22 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper() method in ShadowCallLogProvider
DContactMetadataProvider.java98 mDbHelper = getDatabaseHelper(context); in onCreate()
109 protected ContactsDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper() method in ContactMetadataProvider
DCallLogProvider.java214 mDbHelper = getDatabaseHelper(context); in onCreate()
256 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper() method in CallLogProvider
DAbstractContactsProvider.java129 public ContactsDatabaseHelper getDatabaseHelper() { in getDatabaseHelper() method in AbstractContactsProvider
DSearchIndexManager.java251 mDbHelper = (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); in SearchIndexManager()
DContactDirectoryManager.java116 return (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); in getDbHelper()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DSQLiteContentProvider.java56 mOpenHelper = getDatabaseHelper(context); in onCreate()
60 protected abstract SQLiteOpenHelper getDatabaseHelper(Context context); in getDatabaseHelper() method in SQLiteContentProvider
82 protected SQLiteOpenHelper getDatabaseHelper() { in getDatabaseHelper() method in SQLiteContentProvider
/packages/apps/Dialer/java/com/android/dialer/database/
DDatabaseBindings.java24 DialerDatabaseHelper getDatabaseHelper(Context context); in getDatabaseHelper() method
DDatabaseBindingsStub.java27 public DialerDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper() method in DatabaseBindingsStub
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DTvProviderForTesting.java66 DatabaseHelper getDatabaseHelper() { in getDatabaseHelper() method in TvProviderForTesting
DTransientRowHelperTests.java75 new RebootSimulatingTransientRowHelper(getContext(), mProvider.getDatabaseHelper()); in setUp()
/packages/apps/Dialer/java/com/android/dialer/smartdial/
DSmartDialCursorLoader.java87 Database.get(context).getDatabaseHelper(context); in loadInBackground()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberProvider.java47 dialerDatabaseHelper = Database.get(getContext()).getDatabaseHelper(getContext()); in onCreate()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1058 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in setUp()
1068 getProvider().getDatabaseHelper().close(); in tearDown()
2909 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetAndSetTimezoneDatabaseVersion()
2987 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderProperties()
3023 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderPropertiesByKey()
3053 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testUpdateProviderProperties()

12