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()
40 mDbHelper = CalendarDatabaseHelper.getInstance(getContext()); in setUp()
979 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in setUp()2805 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetAndSetTimezoneDatabaseVersion()2886 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderProperties()2923 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderPropertiesByKey()2951 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testUpdateProviderProperties()
57 if (prefVersion != CalendarDatabaseHelper.DATABASE_VERSION) { in onReceive()62 … prefs.edit().putInt(PREF_DB_VERSION, CalendarDatabaseHelper.DATABASE_VERSION).commit(); in onReceive()67 CalendarDatabaseHelper helper = CalendarDatabaseHelper.getInstance(context); in onReceive()
65 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;66 import com.android.providers.calendar.CalendarDatabaseHelper.Views;180 private CalendarDatabaseHelper mDbHelper;263 CalendarDatabaseHelper.Tables.INSTANCES + " INNER JOIN " +264 CalendarDatabaseHelper.Views.EVENTS + " AS " +265 CalendarDatabaseHelper.Tables.EVENTS +266 " ON (" + CalendarDatabaseHelper.Tables.INSTANCES + "."268 CalendarDatabaseHelper.Tables.EVENTS + "."272 CalendarDatabaseHelper.Tables.INSTANCES + " INNER JOIN " +273 CalendarDatabaseHelper.Views.EVENTS + " AS " +[all …]
24 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;61 private 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()
19 import com.android.providers.calendar.CalendarDatabaseHelper.Tables;20 import com.android.providers.calendar.CalendarDatabaseHelper.Views;
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 CalendarDatabaseHelper3380 db.execSQL("INSERT INTO " + CalendarDatabaseHelper.Tables.EVENTS in duplicateEvent()