/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | AggregatorStorage.java | 49 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 50 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " in onUpgrade()
|
D | BordeauxSessionStorage.java | 75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 76 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " 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()
|
/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 69 Log.w(LOG_TAG, "Upgrading database from version " + oldVersion in onUpgrade()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LocalProvider.java | 64 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 66 oldVersion + " to " + currentVersion + in onUpgrade()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 86 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 88 oldVersion + " to " + currentVersion + in onUpgrade()
|
/frameworks/native/cmds/installd/ |
D | installd.cpp | 413 int oldVersion; in initialize_directories() local 414 if (fs_read_atomic_int(version_path, &oldVersion) == -1) { in initialize_directories() 415 oldVersion = 0; in initialize_directories() 417 int version = oldVersion; in initialize_directories() 622 if (version != oldVersion) { in initialize_directories()
|
/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 152 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 153 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " in onUpgrade()
|
/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/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/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 1872 final int oldVersion = secureSettings.getVersionLocked(); in upgradeIfNeededLocked() local 1876 if (oldVersion == newVersion) { in upgradeIfNeededLocked() 1881 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked() 1891 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); in upgradeIfNeededLocked() 1897 onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked() 1953 private int onUpgradeLocked(int userId, int oldVersion, int newVersion) { in onUpgradeLocked() argument 1956 + oldVersion + " to version: " + newVersion); in onUpgradeLocked() 1959 int currentVersion = oldVersion; in onUpgradeLocked()
|
D | DatabaseHelper.java | 233 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 234 Log.w(TAG, "Upgrading settings database from version " + oldVersion + " to " in onUpgrade() 237 int upgradeVersion = oldVersion; in onUpgrade() 1952 recreateDatabase(db, oldVersion, upgradeVersion, currentVersion); in onUpgrade() 1956 public void recreateDatabase(SQLiteDatabase db, int oldVersion, in recreateDatabase() argument 1975 String wipeReason = oldVersion + "/" + upgradeVersion + "/" + currentVersion; in recreateDatabase()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 3494 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 3495 Log.e(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade() 3497 if (oldVersion == 1) { in onUpgrade() 3500 oldVersion++; in onUpgrade() 3503 if (oldVersion == 2) { in onUpgrade() 3507 oldVersion++; in onUpgrade() 3510 if (oldVersion == 3) { in onUpgrade() 3513 oldVersion++; in onUpgrade() 3516 if (oldVersion == 4) { in onUpgrade() 3518 oldVersion++; in onUpgrade() [all …]
|
/frameworks/base/docs/html/training/search/ |
D | search.jd | 94 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 95 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "
|
/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/services/core/java/com/android/server/ |
D | LockSettingsStorage.java | 477 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 478 int upgradeVersion = oldVersion; in onUpgrade()
|
/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/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 | 156 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationUsageStats.java | 830 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in SQLiteLog() 831 if (oldVersion <= 3) { in SQLiteLog()
|