Searched refs:CalendarDatabaseHelper (Results 1 – 8 of 8) sorted by relevance
407 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()
40 mDbHelper = CalendarDatabaseHelper.getInstance(getContext()); in setUp()
1077 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()
56 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()
77 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 …]
25 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()
53 /* package */ class CalendarDatabaseHelper extends SQLiteOpenHelper { class251 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 CalendarDatabaseHelper3386 db.execSQL("INSERT INTO " + CalendarDatabaseHelper.Tables.EVENTS in duplicateEvent()
20 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;21 import com.android.providers.calendar.CalendarDatabaseHelper.Views;