/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 131 public DatabaseHelper(Context context, int newVersion) { in DatabaseHelper() argument 132 super(context, sDatabaseName, null, newVersion); in DatabaseHelper() 133 mNewVersion = newVersion; in DatabaseHelper() 152 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 154 + newVersion + ", which will destroy all old data"); in onUpgrade()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | AggregatorStorage.java | 49 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 51 + newVersion + ", which will destroy all old data"); in onUpgrade()
|
D | BordeauxSessionStorage.java | 75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 77 + newVersion + ", which will destroy all old data"); in onUpgrade()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 341 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade() argument 359 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 361 oldVersion + " to " + newVersion); in onDowngrade()
|
D | SQLiteDatabase.java | 1745 public boolean needUpgrade(int newVersion) { in needUpgrade() argument 1746 return newVersion > getVersion(); in needUpgrade()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerProvider.java | 67 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 70 + " to " + newVersion in onUpgrade()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | PreNTestDatabaseHelper.java | 88 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/ |
D | databases.jd | 158 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 164 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { 165 onUpgrade(db, oldVersion, newVersion);
|
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/ |
D | databases.jd | 158 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 164 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { 165 onUpgrade(db, oldVersion, newVersion);
|
/frameworks/base/docs/html-intl/intl/ja/training/basics/data-storage/ |
D | databases.jd | 158 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 164 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { 165 onUpgrade(db, oldVersion, newVersion);
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/ |
D | databases.jd | 158 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 164 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { 165 onUpgrade(db, oldVersion, newVersion);
|
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/ |
D | databases.jd | 158 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 164 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { 165 onUpgrade(db, oldVersion, newVersion);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 2092 final int newVersion = SETTINGS_VERSION; in upgradeIfNeededLocked() local 2095 if (oldVersion == newVersion) { in upgradeIfNeededLocked() 2100 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked() 2103 if (curVersion != newVersion) { in upgradeIfNeededLocked() 2110 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); in upgradeIfNeededLocked() 2116 onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked() 2123 globalSettings.setVersionLocked(newVersion); in upgradeIfNeededLocked() 2127 secureSettings.setVersionLocked(newVersion); in upgradeIfNeededLocked() 2132 systemSettings.setVersionLocked(newVersion); in upgradeIfNeededLocked() 2172 private int onUpgradeLocked(int userId, int oldVersion, int newVersion) { in onUpgradeLocked() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerService.java | 95 private void upgradeTuner(int oldVersion, int newVersion) { in upgradeTuner() argument 110 setValue(TUNER_VERSION, newVersion); in upgradeTuner()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerDbHelper.java | 72 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/docs/html/training/search/ |
D | search.jd | 94 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 96 + newVersion + ", which will destroy all old data");
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 80 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/docs/html/training/basics/data-storage/ |
D | databases.jd | 159 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 165 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { 166 onUpgrade(db, oldVersion, newVersion);
|
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/data-storage/ |
D | databases.jd | 158 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 164 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { 165 onUpgrade(db, oldVersion, newVersion);
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 4411 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 4412 Log.e(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade() 4460 if (oldVersion != newVersion) { in onUpgrade() 4461 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade() 4534 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 4535 Log.i(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade() 4537 if (oldVersion != newVersion) { in onUpgrade() 4538 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade() 4689 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 4690 Log.i(TAG, "Upgrade CE from version " + oldVersion + " to version " + newVersion); in onUpgrade() [all …]
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 93 int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | RecentsProvider.java | 161 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationUsageStats.java | 1113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in SQLiteLog() 1114 if (oldVersion != newVersion) { in SQLiteLog()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDatabase.java | 728 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|