Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java131 public DatabaseHelper(Context context, int newVersion) { in DatabaseHelper() argument
132 super(context, sDatabaseName, null, newVersion); in DatabaseHelper()
133 mNewVersion = newVersion; in DatabaseHelper()
152 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
154 + newVersion + ", which will destroy all old data"); in onUpgrade()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorStorage.java49 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
51 + newVersion + ", which will destroy all old data"); in onUpgrade()
DBordeauxSessionStorage.java75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
77 + newVersion + ", which will destroy all old data"); 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()
DSQLiteDatabase.java1745 public boolean needUpgrade(int newVersion) { in needUpgrade() argument
1746 return newVersion > getVersion(); in needUpgrade()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java67 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
70 + " to " + newVersion in onUpgrade()
/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/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/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/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2092 final int newVersion = SETTINGS_VERSION; in upgradeIfNeededLocked() local
2095 if (oldVersion == newVersion) { in upgradeIfNeededLocked()
2100 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked()
2103 if (curVersion != newVersion) { in upgradeIfNeededLocked()
2110 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); in upgradeIfNeededLocked()
2116 onUpgradeLocked(mUserId, oldVersion, newVersion); in upgradeIfNeededLocked()
2123 globalSettings.setVersionLocked(newVersion); in upgradeIfNeededLocked()
2127 secureSettings.setVersionLocked(newVersion); in upgradeIfNeededLocked()
2132 systemSettings.setVersionLocked(newVersion); in upgradeIfNeededLocked()
2172 private int onUpgradeLocked(int userId, int oldVersion, int newVersion) { in onUpgradeLocked() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java95 private void upgradeTuner(int oldVersion, int newVersion) { in upgradeTuner() argument
110 setValue(TUNER_VERSION, newVersion); 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/base/docs/html/training/search/
Dsearch.jd94 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
96 + newVersion + ", which will destroy all old data");
/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/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/services/core/java/com/android/server/accounts/
DAccountManagerService.java4411 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()
4460 if (oldVersion != newVersion) { in onUpgrade()
4461 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade()
4534 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
4535 Log.i(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade()
4537 if (oldVersion != newVersion) { in onUpgrade()
4538 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade()
4689 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
4690 Log.i(TAG, "Upgrade CE from version " + oldVersion + " to version " + newVersion); in onUpgrade()
[all …]
/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.java161 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java1113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in SQLiteLog()
1114 if (oldVersion != newVersion) { in SQLiteLog()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabase.java728 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument