/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
H A D | 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); argument 31 performMigration( final Context context, final int oldVersion, final int newVersion) argument
|
H A D | VersionedPrefs.java | 67 final int oldVersion = getCurrentVersion(); 69 performUpgrade(oldVersion, CURRENT_VERSION_NUMBER); 74 .performMigration(context, oldVersion, CURRENT_VERSION_NUMBER); 136 * @param oldVersion The current version 139 protected abstract void performUpgrade(int oldVersion, int newVersion); argument
|
H A D | AccountPreferences.java | 81 protected void performUpgrade(final int oldVersion, final int newVersion) { argument 82 if (oldVersion > newVersion) {
|
H A D | MailPrefs.java | 134 protected void performUpgrade(final int oldVersion, final int newVersion) { argument 135 if (oldVersion > newVersion) { 138 } else if (oldVersion == newVersion) {
|
H A D | FolderPreferences.java | 112 protected void performUpgrade(final int oldVersion, final int newVersion) { argument 113 if (oldVersion > newVersion) {
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarDatabaseHelper.java | 1176 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 1177 Log.i(TAG, "Upgrading DB from version " + oldVersion + " to " + newVersion); 1180 if (oldVersion < 49) { 1192 boolean recreateMetaDataAndInstances = (oldVersion >= 59 && oldVersion <= 66); 1196 if (oldVersion < 51) { 1198 oldVersion = 51; 1200 if (oldVersion == 51) { 1202 oldVersion += 1; 1204 if (oldVersion 1451 onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) argument [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnSQLiteOpenHelper.java | 42 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | DBHelper.java | 355 static void resetMessageTable(SQLiteDatabase db, int oldVersion, int newVersion) { argument 466 static void resetAccountTable(SQLiteDatabase db, int oldVersion, int newVersion) { argument 518 static void resetHostAuthTable(SQLiteDatabase db, int oldVersion, int newVersion) { argument 563 static void resetMailboxTable(SQLiteDatabase db, int oldVersion, int newVersion) { argument 594 static void resetAttachmentTable(SQLiteDatabase db, int oldVersion, int newVersion) { argument 625 static void upgradeBodyTable(SQLiteDatabase db, int oldVersion, int newVersion) { argument 626 if (oldVersion < 5) { 630 oldVersion = 5; 634 if (oldVersion == 5) { 642 oldVersion 672 onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) argument 714 onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) argument 724 onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsDatabaseHelper.java | 1975 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 1981 super.onDowngrade(db, oldVersion, newVersion); 1985 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 1986 if (oldVersion < 99) { 1987 Log.i(TAG, "Upgrading from version " + oldVersion + " to " + newVersion 2013 Log.i(TAG, "Upgrading from version " + oldVersion + " to " + newVersion); 2023 if (oldVersion == 99) { 2025 oldVersion++; 2028 if (oldVersion == 100) { 2037 oldVersion [all...] |
/packages/apps/Email/src/com/android/email/preferences/ |
H A D | EmailPreferenceMigrator.java | 45 protected void migrate(final Context context, final int oldVersion, final int newVersion) { argument 56 oldVersion, newVersion); 67 migrate(context, oldVersion, newVersion, accounts); 70 protected static void migrate(final Context context, final int oldVersion, final int newVersion, argument 74 if (oldVersion < 1) { 168 if (oldVersion < 2) { 174 if (oldVersion < 3) {
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastDatabaseHelper.java | 115 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 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/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | WidgetDatabaseHelper.java | 110 private void saveData(SQLiteDatabase db, int oldVersion, ArrayList<Entry> data) { argument 111 if (oldVersion <= 2) { 127 } else if (oldVersion == 3) { 166 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 167 if (oldVersion < 4) { 170 saveData(db, oldVersion, data); 180 if (oldVersion < DATABASE_VERSION) {
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | AutoFillProfileDatabase.java | 74 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 75 Log.w(LOGTAG, "Upgrading database from version " + oldVersion + " to "
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | UserDictionaryProvider.java | 100 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 101 if (oldVersion == 1 && newVersion == 2) { 102 Log.i(TAG, "Upgrading database from version " + oldVersion 107 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
H A D | FilterStackDBHelper.java | 64 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument
|
/packages/apps/KeyChain/src/com/android/keychain/ |
H A D | KeyChainService.java | 260 public void onUpgrade(final SQLiteDatabase db, int oldVersion, final int newVersion) { argument 261 Log.e(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); 263 if (oldVersion == 1) { 265 oldVersion++;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | PrivateLog.java | 79 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument
|
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | SnapshotProvider.java | 97 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 98 if (oldVersion < 2) { 102 if (oldVersion < 3) {
|
H A D | BrowserProvider.java | 294 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 295 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " 297 if (oldVersion == 18) { 300 if (oldVersion <= 19) { 303 if (oldVersion < 21) { 306 if (oldVersion < 22) { 310 if (oldVersion < 23) { 313 if (oldVersion < 24) {
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | ClockDatabaseHelper.java | 143 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { argument 145 Log.v("Upgrading alarms database from version " + oldVersion + " to " + currentVersion); 148 if (oldVersion <= VERSION_6) {
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | TelephonyProvider.java | 200 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 201 if (oldVersion < (5 << 16 | 6)) { 217 oldVersion = 5 << 16 | 6; 219 if (oldVersion < (6 << 16 | 6)) { 225 oldVersion = 6 << 16 | 6; 227 if (oldVersion < (7 << 16 | 6)) { 233 oldVersion = 7 << 16 | 6; 235 if (oldVersion < (8 << 16 | 6)) { 242 oldVersion = 8 << 16 | 6;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | PhotoAppWidgetProvider.java | 108 public void onUpgrade(SQLiteDatabase db, int oldVersion, argument 110 int version = oldVersion;
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoDatabase.java | 103 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 108 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | SavedWallpaperImages.java | 237 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument 238 if (oldVersion != newVersion) {
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
H A D | DialerDatabaseHelper.java | 388 int oldVersion; 390 oldVersion = getPropertyAsInt(db, DATABASE_VERSION_PROPERTY, 0); 392 if (oldVersion == 0) { 396 if (oldVersion < 4) { 401 if (oldVersion != DATABASE_VERSION) {
|