/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbHelper.java | 116 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 123 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 124 if (oldVersion < 2) { in onUpgrade() 130 if (oldVersion < 3 && newVersion >= 3) { in onUpgrade() 132 oldVersion = 3; in onUpgrade() 135 if (oldVersion < 4 && newVersion >= 4) { in onUpgrade() 137 oldVersion = 4; in onUpgrade() 140 if (oldVersion < 5 && newVersion >= 5) { in onUpgrade() 142 oldVersion = 5; in onUpgrade() 145 if (oldVersion < 6 && newVersion >= 6) { in onUpgrade() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountsDb.java | 246 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 247 Log.i(TAG, "Upgrade CE from version " + oldVersion + " to version " + newVersion); in onUpgrade() 249 if (oldVersion == 9) { in onUpgrade() 260 oldVersion++; in onUpgrade() 263 if (oldVersion != newVersion) { in onUpgrade() 264 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade() 269 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 602 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 603 Log.i(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade() 605 if (oldVersion == 1) { in onUpgrade() [all …]
|
/frameworks/native/cmds/installd/ |
D | installd.cpp | 79 int oldVersion; in initialize_directories() local 80 if (fs_read_atomic_int(version_path, &oldVersion) == -1) { in initialize_directories() 81 oldVersion = 0; in initialize_directories() 83 int version = oldVersion; in initialize_directories() 160 if (version != oldVersion) { in initialize_directories()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/ |
D | SQLiteCacheHelper.java | 107 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 108 if (oldVersion != newVersion) { in onUpgrade() 114 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 115 if (oldVersion != newVersion) { in onDowngrade()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 95 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 96 if (oldVersion < 4) { in onUpgrade() 102 if (oldVersion == 4) { in onUpgrade() 106 oldVersion++; in onUpgrade() 109 if (oldVersion == 5) { in onUpgrade() 145 oldVersion++; in onUpgrade() 147 if (oldVersion == 6) { in onUpgrade() 152 oldVersion++; in onUpgrade()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/storage/ |
D | BackupEncryptionDbHelper.java | 68 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 74 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerDbHelper.java | 71 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 72 if (oldVersion == 1) { in onUpgrade() 77 oldVersion++; in onUpgrade()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 117 private void upgradeTuner(int oldVersion, int newVersion, Handler mainHandler) { in upgradeTuner() argument 118 if (oldVersion < 1) { in upgradeTuner() 132 if (oldVersion < 2) { in upgradeTuner() 136 if (oldVersion < 4) { in upgradeTuner()
|
/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/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 521 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade() argument 539 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 541 oldVersion + " to " + newVersion); in onDowngrade()
|
/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/base/core/tests/coretests/src/android/app/activity/ |
D | LocalProvider.java | 84 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 86 oldVersion + " to " + currentVersion + 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/services/tests/servicestests/src/com/android/server/usage/ |
D | UsageStatsDatabaseTest.java | 405 void runVersionChangeTest(int oldVersion, int newVersion, int interval) throws IOException { in runVersionChangeTest() argument 406 populateIntervalStats(oldVersion); in runVersionChangeTest() 408 UsageStatsDatabase prevDB = new UsageStatsDatabase(mTestDir, oldVersion); in runVersionChangeTest() 412 if (oldVersion >= 5) { in runVersionChangeTest() 425 final int minVersion = oldVersion < newVersion ? oldVersion : newVersion; in runVersionChangeTest()
|
/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 154 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 155 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " in onUpgrade()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 430 private static void upgrade(int oldVersion) throws XmlPullParserException { in upgrade() argument 431 switch (oldVersion) { in upgrade() 437 throw new XmlPullParserException("old version " + oldVersion + "; ignoring"); in upgrade() 443 throw new XmlPullParserException("unrecognized version " + oldVersion); in upgrade()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | FakeSmsContentProvider.java | 70 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
D | FakeTelephonyProvider.java | 129 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | GlobalResultsStore.java | 383 public void onUpgrade(SQLiteDatabase sqLiteDatabase, int oldVersion, int currentVersion) { in onUpgrade() argument 384 if (oldVersion < VERSION) { in onUpgrade()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | SQLiteOpenHelperTest.java | 75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistReportDbHelper.java | 120 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 248 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 249 Log.w(TAG, "Upgrading settings database from version " + oldVersion + " to " in onUpgrade() 252 int upgradeVersion = oldVersion; in onUpgrade() 1853 recreateDatabase(db, oldVersion, upgradeVersion, currentVersion); in onUpgrade() 1857 public void recreateDatabase(SQLiteDatabase db, int oldVersion, in recreateDatabase() argument 1876 String wipeReason = oldVersion + "/" + upgradeVersion + "/" + currentVersion; in recreateDatabase()
|
D | SettingsProvider.java | 3530 final int oldVersion = secureSettings.getVersionLocked(); 3534 if (oldVersion == newVersion) { 3539 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); 3549 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); 3555 onUpgradeLocked(mUserId, oldVersion, newVersion); 3626 private int onUpgradeLocked(int userId, int oldVersion, int newVersion) { 3629 + oldVersion + " to version: " + newVersion); 3632 int currentVersion = oldVersion;
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 97 int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 805 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 806 int upgradeVersion = oldVersion; in onUpgrade()
|