Home
last modified time | relevance | path

Searched refs:newV (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java123 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument
125 if (newV == DB_VERSION_NOP_UPGRADE_TO) { in onUpgrade()
132 Log.i(TAG, "Upgrading downloads database from version " + oldV + " to " + newV in onUpgrade()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java305 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument
313 + " to version " + newV + ", which will destroy all old data"); in onUpgrade()
315 } else if (oldV > newV) { in onUpgrade()
319 + " (current version is " + newV + "), destroying all old data"); in onUpgrade()
323 for (int version = oldV + 1; version <= newV; version++) { in onUpgrade()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java445 public void onUpgrade(final SQLiteDatabase db, final int oldV, final int newV) { in onUpgrade() argument
446 Log.v(TAG, "onUpgrade() for " + mName + " from " + oldV + " to " + newV); in onUpgrade()
447 updateDatabase(mContext, db, mInternal, oldV, newV); in onUpgrade()
451 public void onDowngrade(final SQLiteDatabase db, final int oldV, final int newV) { in onDowngrade() argument
452 Log.v(TAG, "onDowngrade() for " + mName + " from " + oldV + " to " + newV); in onDowngrade()
453 downgradeDatabase(mContext, db, mInternal, oldV, newV); in onDowngrade()