Home
last modified time | relevance | path

Searched refs:oldVersion (Results 1 – 24 of 24) sorted by relevance

/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorStorage.java49 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
50 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " in onUpgrade()
DBordeauxSessionStorage.java75 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/
DSQLiteOpenHelper.java341 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/
DTrackerProvider.java67 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/
DLocalProvider.java64 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/
DMemoryFileProvider.java86 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument
88 oldVersion + " to " + currentVersion + in onUpgrade()
/frameworks/native/cmds/installd/
Dinstalld.cpp413 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/
DSearchRecentSuggestionsProvider.java152 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/
Ddatabases.jd158 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/
Ddatabases.jd158 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/
Ddatabases.jd158 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/
Ddatabases.jd158 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/
Ddatabases.jd158 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/
DSettingsProvider.java1872 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()
DDatabaseHelper.java233 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/
DAccountManagerService.java3494 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/
Dsearch.jd94 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/
DDatabaseHelper.java80 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java477 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/
Ddatabases.jd159 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/
Ddatabases.jd158 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/
DWapPushManager.java93 int oldVersion, int newVersion) { in onUpgrade() argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentsProvider.java156 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java830 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in SQLiteLog()
831 if (oldVersion <= 3) { in SQLiteLog()