/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/base/services/backup/java/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/voiceinteraction/ |
D | DatabaseHelper.java | 89 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 90 if (oldVersion < 4) { in onUpgrade() 96 if (oldVersion == 4) { in onUpgrade() 100 oldVersion++; in onUpgrade() 103 if (oldVersion == 5) { in onUpgrade() 139 oldVersion++; in onUpgrade()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 115 private void upgradeTuner(int oldVersion, int newVersion, Handler bgHandler) { in upgradeTuner() argument 116 if (oldVersion < 1) { in upgradeTuner() 130 if (oldVersion < 2) { in upgradeTuner() 134 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 | 522 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade() argument 540 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 542 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 | 370 void runVersionChangeTest(int oldVersion, int newVersion, int interval) throws IOException { in runVersionChangeTest() argument 372 UsageStatsDatabase prevDB = new UsageStatsDatabase(mTestDir, oldVersion); in runVersionChangeTest() 384 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 | 420 private static void upgrade(int oldVersion) throws XmlPullParserException { in upgrade() argument 421 switch (oldVersion) { in upgrade() 427 throw new XmlPullParserException("old version " + oldVersion + "; ignoring"); in upgrade() 429 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 | 126 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/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/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 | 246 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 247 Log.w(TAG, "Upgrading settings database from version " + oldVersion + " to " in onUpgrade() 250 int upgradeVersion = oldVersion; in onUpgrade() 1879 recreateDatabase(db, oldVersion, upgradeVersion, currentVersion); in onUpgrade() 1883 public void recreateDatabase(SQLiteDatabase db, int oldVersion, in recreateDatabase() argument 1902 String wipeReason = oldVersion + "/" + upgradeVersion + "/" + currentVersion; in recreateDatabase()
|
D | SettingsProvider.java | 3255 final int oldVersion = secureSettings.getVersionLocked(); 3259 if (oldVersion == newVersion) { 3264 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); 3274 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); 3280 onUpgradeLocked(mUserId, oldVersion, newVersion); 3347 private int onUpgradeLocked(int userId, int oldVersion, int newVersion) { 3350 + oldVersion + " to version: " + newVersion); 3353 int currentVersion = oldVersion;
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 763 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 764 int upgradeVersion = oldVersion; in onUpgrade()
|
/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/notification/ |
D | NotificationUsageStats.java | 1160 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in SQLiteLog() 1161 if (oldVersion != newVersion) { in SQLiteLog()
|