Searched refs:CalendarDatabaseHelper (Results 1 – 8 of 8) sorted by relevance
397 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()
1058 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()
40 mDbHelper = CalendarDatabaseHelper.getInstance(getContext()); in setUp()
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()
74 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 …]
24 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()
19 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;20 import com.android.providers.calendar.CalendarDatabaseHelper.Views;