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.java397 CalendarDatabaseHelper.upgradeToVersion69(mBadDb); in testUpgradeToVersion69()
427 CalendarDatabaseHelper cDbHelper = new CalendarDatabaseHelper(new MockContext()); in testUpgradeToCurrentVersion()
429 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION); in testUpgradeToCurrentVersion()
457 CalendarDatabaseHelper cDbHelper = new CalendarDatabaseHelper(new MockContext()); in testSchemasEqualForAllTables()
461 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION); in testSchemasEqualForAllTables()
DCalendarProvider2Test.java1058 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in setUp()
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()
DCalendarCacheTest.java40 mDbHelper = CalendarDatabaseHelper.getInstance(getContext()); in setUp()
/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.java74 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;
75 import com.android.providers.calendar.CalendarDatabaseHelper.Views;
193 private CalendarDatabaseHelper mDbHelper;
278 CalendarDatabaseHelper.Tables.INSTANCES + " INNER JOIN " +
279 CalendarDatabaseHelper.Views.EVENTS + " AS " +
280 CalendarDatabaseHelper.Tables.EVENTS +
281 " ON (" + CalendarDatabaseHelper.Tables.INSTANCES + "."
283 CalendarDatabaseHelper.Tables.EVENTS + "."
287 CalendarDatabaseHelper.Tables.INSTANCES + " INNER JOIN " +
288 CalendarDatabaseHelper.Views.EVENTS + " AS " +
[all …]
DCalendarInstancesHelper.java24 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.java19 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;
20 import com.android.providers.calendar.CalendarDatabaseHelper.Views;