/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseUpgradeHelper.java | 26 public void doOnUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in doOnUpgrade() argument 27 Assert.isTrue(newVersion >= oldVersion); in doOnUpgrade() 28 if (oldVersion == newVersion) { in doOnUpgrade() 32 LogUtil.i(TAG, "Database upgrade started from version " + oldVersion + " to " + newVersion); in doOnUpgrade() 37 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onDowngrade() argument 40 oldVersion + " version " + newVersion + ", forcing db rebuild!"); in onDowngrade()
|
D | DatabaseHelper.java | 627 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onDowngrade() argument 628 mUpgradeHelper.onDowngrade(db, oldVersion, newVersion); in onDowngrade() 810 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 811 mUpgradeHelper.doOnUpgrade(db, oldVersion, newVersion); in onUpgrade()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | SearchRecentSuggestionsProvider.java | 97 public DatabaseHelper(Context context, int newVersion) { in DatabaseHelper() argument 98 super(context, DATABASE_NAME, null, newVersion); in DatabaseHelper() 113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 116 newVersion = newVersion & ~0xff; in onUpgrade() 117 if (oldVersion == DATABASE_VERSION_2 && newVersion == DATABASE_VERSION_3) { in onUpgrade()
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | BasePreferenceMigrator.java | 32 final Context context, final int oldVersion, final int newVersion) { in performMigration() argument 35 migrate(context, oldVersion, newVersion); in performMigration() 48 protected abstract void migrate(final Context context, int oldVersion, int newVersion); in migrate() argument
|
D | AccountPreferences.java | 84 protected void performUpgrade(final int oldVersion, final int newVersion) { in performUpgrade() argument 85 if (oldVersion > newVersion) { in performUpgrade()
|
D | MailPrefs.java | 193 protected void performUpgrade(final int oldVersion, final int newVersion) { in performUpgrade() argument 194 if (oldVersion > newVersion) { in performUpgrade() 197 } else if (oldVersion == newVersion) { in performUpgrade()
|
D | FolderPreferences.java | 111 protected void performUpgrade(final int oldVersion, final int newVersion) { in performUpgrade() argument 112 if (oldVersion > newVersion) { in performUpgrade()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | SQLiteCacheHelper.java | 110 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 111 if (oldVersion != newVersion) { in onUpgrade() 117 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 118 if (oldVersion != newVersion) { in onDowngrade()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | IndexDatabaseHelper.java | 181 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 184 "Index needs to be rebuilt for schema version '" + newVersion + "'."); in onUpgrade() 191 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 193 "Index needs to be rebuilt for schema version '" + newVersion + "'."); in onDowngrade()
|
/packages/apps/Email/src/com/android/email/preferences/ |
D | EmailPreferenceMigrator.java | 45 protected void migrate(final Context context, final int oldVersion, final int newVersion) { in migrate() argument 56 oldVersion, newVersion); in migrate() 67 migrate(context, oldVersion, newVersion, accounts); in migrate() 71 protected static void migrate(final Context context, final int oldVersion, final int newVersion, in migrate() argument
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
D | OneTimeInitializerService.java | 79 int newVersion = currentVersion; in onHandleIntent() local 86 newVersion = 1; in onHandleIntent() 89 updateMappingVersion(newVersion); in onHandleIntent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataDbHelper.java | 268 public void onUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onUpgrade() argument 270 && METADATA_DATABASE_VERSION_WITH_CLIENTID <= newVersion in onUpgrade() 271 && CURRENT_METADATA_DATABASE_VERSION >= newVersion) { in onUpgrade() 280 } else if (METADATA_DATABASE_VERSION_WITH_CLIENTID < newVersion in onUpgrade() 281 && CURRENT_METADATA_DATABASE_VERSION >= newVersion) { in onUpgrade() 318 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onDowngrade() argument 324 if (oldVersion <= newVersion) { in onDowngrade() 326 + newVersion); in onDowngrade()
|
D | PrivateLog.java | 79 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | DBHelper.java | 414 int oldVersion, int newVersion) { in resetMessageTable() argument 526 static void resetAccountTable(SQLiteDatabase db, int oldVersion, int newVersion) { in resetAccountTable() argument 579 static void resetHostAuthTable(SQLiteDatabase db, int oldVersion, int newVersion) { in resetHostAuthTable() argument 625 static void resetMailboxTable(SQLiteDatabase db, int oldVersion, int newVersion) { in resetMailboxTable() argument 656 static void resetAttachmentTable(SQLiteDatabase db, int oldVersion, int newVersion) { in resetAttachmentTable() argument 806 public void onUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onUpgrade() argument 860 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 861 if (oldVersion == 101 && newVersion == 100) { in onDowngrade() 864 super.onDowngrade(db, oldVersion, newVersion); in onDowngrade() 870 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastDatabaseHelper.java | 115 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 116 if (oldVersion == newVersion) { in onUpgrade() 120 log("Upgrading DB from version " + oldVersion + " to " + newVersion); in onUpgrade()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 122 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 123 if (oldVersion == 1 && newVersion == 2) { in onUpgrade() 130 + newVersion + ", which will destroy all old data"); in onUpgrade()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoDatabase.java | 103 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 108 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | BugleWidgetPrefs.java | 39 public void onUpgrade(int oldVersion, int newVersion) { in onUpgrade() argument
|
D | BugleApplicationPrefs.java | 43 public void onUpgrade(int oldVersion, int newVersion) { in onUpgrade() argument
|
D | BuglePrefs.java | 54 public abstract void onUpgrade(final int oldVersion, final int newVersion); in onUpgrade() argument
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnnSQLiteOpenHelper.java | 42 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/packages/apps/Messaging/tests/src/com/android/messaging/util/ |
D | FakeBuglePrefs.java | 78 public void onUpgrade(int oldVersion, int newVersion) { in onUpgrade() argument
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | SavedWallpaperImages.java | 290 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 294 } else if (oldVersion != newVersion) {
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | ApnDatabase.java | 314 public void onUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onUpgrade() argument 322 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onDowngrade() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
D | FilterStackDBHelper.java | 64 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|