HomeSort by relevance Sort by last modified time
    Searched refs:oldVersion (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
BasePreferenceMigrator.java 32 final Context context, final int oldVersion, final int newVersion) {
35 migrate(context, oldVersion, newVersion);
45 * @param oldVersion The previous version of UnifiedEmail's preferences
48 protected abstract void migrate(final Context context, int oldVersion, int newVersion);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
DatabaseUpgradeHelper.java 28 public void doOnUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) {
29 Assert.isTrue(newVersion >= oldVersion);
30 if (oldVersion == newVersion) {
34 LogUtil.i(TAG, "Database upgrade started from version " + oldVersion + " to " + newVersion);
36 doUpgradeWithExceptions(db, oldVersion, newVersion);
40 oldVersion + " to version " + newVersion, ex);
45 public void doUpgradeWithExceptions(final SQLiteDatabase db, final int oldVersion,
47 int currentVersion = oldVersion;
92 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) {
95 oldVersion + " version " + newVersion + ", forcing db rebuild!")
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
BugleApplicationPrefs.java 43 public void onUpgrade(int oldVersion, int newVersion) {
BugleWidgetPrefs.java 39 public void onUpgrade(int oldVersion, int newVersion) {
BuglePrefs.java 54 public abstract void onUpgrade(final int oldVersion, final int newVersion);
BugleSubscriptionPrefs.java 50 public void onUpgrade(final int oldVersion, final int newVersion) {
51 switch (oldVersion) {
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDatabaseHelper.java     [all...]
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
AggregatorStorage.java 49 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
50 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
OpenWnnSQLiteOpenHelper.java 42 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java     [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
DBHelper.java 414 int oldVersion, int newVersion) {
526 static void resetAccountTable(SQLiteDatabase db, int oldVersion, int newVersion) {
579 static void resetHostAuthTable(SQLiteDatabase db, int oldVersion, int newVersion) {
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/util/
SQLiteCacheHelper.java 110 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
111 if (oldVersion != newVersion) {
117 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
118 if (oldVersion != newVersion) {
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
SearchRecentSuggestionsProvider.java 113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
115 oldVersion = oldVersion & ~0xff;
117 if (oldVersion == DATABASE_VERSION_2 && newVersion == DATABASE_VERSION_3) {
  /packages/apps/Email/src/com/android/email/preferences/
EmailPreferenceMigrator.java 45 protected void migrate(final Context context, final int oldVersion, final int newVersion) {
56 oldVersion, newVersion);
67 migrate(context, oldVersion, newVersion, accounts);
71 protected static void migrate(final Context context, final int oldVersion, final int newVersion,
75 if (oldVersion < 1) {
168 if (oldVersion < 2) {
173 if (oldVersion < 3) {
180 if (oldVersion < 4) {
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastDatabaseHelper.java 115 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
116 if (oldVersion == newVersion) {
120 log("Upgrading DB from version " + oldVersion + " to " + newVersion);
123 if (oldVersion == 1) {
150 oldVersion = 10; // skip to version 10
155 if (oldVersion < 10) {
157 + " DB version " + oldVersion + " (customized by OEM?)");
160 if (oldVersion == 10) {
162 oldVersion++;
  /packages/apps/Messaging/tests/src/com/android/messaging/util/
FakeBuglePrefs.java 78 public void onUpgrade(int oldVersion, int newVersion) {
  /packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
BlockedNumberDatabaseHelper.java 53 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
54 if (oldVersion < 2) {
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DatabaseContentProvider.java 82 * @param oldVersion - the old version number as an int
86 protected abstract boolean upgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion);
93 * @param oldVersion - the old version number as an int
97 protected abstract boolean downgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion);
144 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
145 upgradeDatabase(db, oldVersion, newVersion);
149 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
150 logger.debug("Enter: onDowngrade() - oldVersion = " + oldVersion + " newVersion = "
152 downgradeDatabase(db, oldVersion, newVersion)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetDatabaseHelper.java 110 private void saveData(SQLiteDatabase db, int oldVersion, ArrayList<Entry> data) {
111 if (oldVersion <= 2) {
127 } else if (oldVersion == 3) {
166 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
167 if (oldVersion < 4) {
170 saveData(db, oldVersion, data);
180 if (oldVersion < DATABASE_VERSION) {
  /packages/apps/Settings/src/com/android/settings/search/
IndexDatabaseHelper.java 181 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
182 if (oldVersion < DATABASE_VERSION) {
183 Log.w(TAG, "Detected schema version '" + oldVersion + "'. " +
191 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
192 Log.w(TAG, "Detected schema version '" + oldVersion + "'. " +
  /frameworks/base/core/java/android/database/sqlite/
SQLiteOpenHelper.java 338 * @param oldVersion The old database version.
341 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion);
356 * @param oldVersion The old database version.
359 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
361 oldVersion + " to " + newVersion);
  /development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
74 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "
  /development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
74 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "
  /development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
74 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "
  /development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
74 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "

Completed in 1406 milliseconds

1 2 3 4 5