Home
last modified time | relevance | path

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

12

/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/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java82 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
83 if (oldVersion < 4) { in onUpgrade()
89 if (oldVersion == 4) { in onUpgrade()
93 oldVersion++; in onUpgrade()
/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.cpp582 int oldVersion; in initialize_directories() local
583 if (fs_read_atomic_int(version_path, &oldVersion) == -1) { in initialize_directories()
584 oldVersion = 0; in initialize_directories()
586 int version = oldVersion; in initialize_directories()
663 if (version != oldVersion) { in initialize_directories()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DPreNTestDatabaseHelper.java88 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
/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/services/core/java/com/android/server/accounts/
DAccountManagerService.java4444 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
4445 Log.e(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade()
4447 if (oldVersion == 1) { in onUpgrade()
4450 oldVersion++; in onUpgrade()
4453 if (oldVersion == 2) { in onUpgrade()
4457 oldVersion++; in onUpgrade()
4460 if (oldVersion == 3) { in onUpgrade()
4463 oldVersion++; in onUpgrade()
4466 if (oldVersion == 4) { in onUpgrade()
4468 oldVersion++; in onUpgrade()
[all …]
/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/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/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/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeSmsContentProvider.java69 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java95 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/
DSoundTriggerDbHelper.java72 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderThrottleSupport.java151 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
154 Log.w(TAG, "Upgrading database from version " + oldVersion + " to " in onUpgrade()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2119 final int oldVersion = secureSettings.getVersionLocked(); in upgradeIfNeededLocked() local
2123 if (oldVersion == newVersion) { in upgradeIfNeededLocked()
2128 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked()
2138 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); in upgradeIfNeededLocked()
2144 onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked()
2200 private int onUpgradeLocked(int userId, int oldVersion, int newVersion) { in onUpgradeLocked() argument
2203 + oldVersion + " to version: " + newVersion); in onUpgradeLocked()
2206 int currentVersion = oldVersion; in onUpgradeLocked()
/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/core/java/com/android/server/
DLockSettingsStorage.java502 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/
Ddatabases.jd155 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
161 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
162 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);

12