/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 | 571 int oldVersion; in initialize_directories() local 572 if (fs_read_atomic_int(version_path, &oldVersion) == -1) { in initialize_directories() 573 oldVersion = 0; in initialize_directories() 575 int version = oldVersion; in initialize_directories() 652 if (version != oldVersion) { in initialize_directories()
|
/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/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() 4414 if (oldVersion == 1) { in onUpgrade() 4417 oldVersion++; in onUpgrade() 4420 if (oldVersion == 2) { in onUpgrade() 4424 oldVersion++; in onUpgrade() 4427 if (oldVersion == 3) { in onUpgrade() 4430 oldVersion++; in onUpgrade() 4433 if (oldVersion == 4) { in onUpgrade() 4435 oldVersion++; in onUpgrade() [all …]
|
/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-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/SystemUI/src/com/android/systemui/tuner/ |
D | TunerService.java | 95 private void upgradeTuner(int oldVersion, int newVersion) { in upgradeTuner() argument 96 if (oldVersion < 1) { 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/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 2091 final int oldVersion = secureSettings.getVersionLocked(); in upgradeIfNeededLocked() local 2095 if (oldVersion == newVersion) { in upgradeIfNeededLocked() 2100 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked() 2110 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); in upgradeIfNeededLocked() 2116 onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked() 2172 private int onUpgradeLocked(int userId, int oldVersion, int newVersion) { in onUpgradeLocked() argument 2175 + oldVersion + " to version: " + newVersion); in onUpgradeLocked() 2178 int currentVersion = oldVersion; in onUpgradeLocked()
|
D | DatabaseHelper.java | 251 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 252 Log.w(TAG, "Upgrading settings database from version " + oldVersion + " to " in onUpgrade() 255 int upgradeVersion = oldVersion; in onUpgrade() 1957 recreateDatabase(db, oldVersion, upgradeVersion, currentVersion); in onUpgrade() 1961 public void recreateDatabase(SQLiteDatabase db, int oldVersion, in recreateDatabase() argument 1980 String wipeReason = oldVersion + "/" + upgradeVersion + "/" + currentVersion; in recreateDatabase()
|
/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 | 502 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 503 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
|