Home
last modified time | relevance | path

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

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarDatabaseHelperTest.java407 CalendarDatabaseHelper.upgradeToVersion69(mBadDb); in testUpgradeToVersion69()
437 CalendarDatabaseHelper cDbHelper = new CalendarDatabaseHelper(new MockContext()); in testUpgradeToCurrentVersion()
439 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION); in testUpgradeToCurrentVersion()
468 CalendarDatabaseHelper cDbHelper = new CalendarDatabaseHelper(new MockContext()); in testSchemasEqualForAllTables()
472 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION); in testSchemasEqualForAllTables()
DCalendarCacheTest.java40 mDbHelper = CalendarDatabaseHelper.getInstance(getContext()); in setUp()
DCalendarProvider2Test.java1077 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in setUp()
2928 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetAndSetTimezoneDatabaseVersion()
3006 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderProperties()
3042 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderPropertiesByKey()
3072 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testUpdateProviderProperties()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarUpgradeReceiver.java56 if (prefVersion != CalendarDatabaseHelper.DATABASE_VERSION) { in onReceive()
61 … prefs.edit().putInt(PREF_DB_VERSION, CalendarDatabaseHelper.DATABASE_VERSION).commit(); in onReceive()
66 CalendarDatabaseHelper helper = CalendarDatabaseHelper.getInstance(context); in onReceive()
DCalendarProvider2.java77 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;
78 import com.android.providers.calendar.CalendarDatabaseHelper.Views;
197 private CalendarDatabaseHelper mDbHelper;
282 CalendarDatabaseHelper.Tables.INSTANCES + " INNER JOIN " +
283 CalendarDatabaseHelper.Views.EVENTS + " AS " +
284 CalendarDatabaseHelper.Tables.EVENTS +
285 " ON (" + CalendarDatabaseHelper.Tables.INSTANCES + "."
287 CalendarDatabaseHelper.Tables.EVENTS + "."
291 CalendarDatabaseHelper.Tables.INSTANCES + " INNER JOIN " +
292 CalendarDatabaseHelper.Views.EVENTS + " AS " +
[all …]
DCalendarInstancesHelper.java25 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;
61 private final CalendarDatabaseHelper mDbHelper;
130 public CalendarInstancesHelper(CalendarDatabaseHelper calendarDbHelper, MetaData metaData) { in CalendarInstancesHelper()
562 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); in getEntries()
836 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); in getRelevantRecurrenceEntries()
DCalendarDatabaseHelper.java53 /* package */ class CalendarDatabaseHelper extends SQLiteOpenHelper { class
251 private static CalendarDatabaseHelper sSingleton = null;
307 public static synchronized CalendarDatabaseHelper getInstance(Context context) { in getInstance()
309 sSingleton = new CalendarDatabaseHelper(context); in getInstance()
318 /* package */ CalendarDatabaseHelper(Context context) { in CalendarDatabaseHelper() method in CalendarDatabaseHelper
3386 db.execSQL("INSERT INTO " + CalendarDatabaseHelper.Tables.EVENTS in duplicateEvent()
DCalendarAlarmManager.java20 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;
21 import com.android.providers.calendar.CalendarDatabaseHelper.Views;