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.java302 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument
310 + " to version " + newV + ", which will destroy all old data"); in onUpgrade()
312 } else if (oldV > newV) { in onUpgrade()
316 + " (current version is " + newV + "), destroying all old data"); in onUpgrade()
320 for (int version = oldV + 1; version <= newV; version++) { in onUpgrade()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java444 public void onUpgrade(final SQLiteDatabase db, final int oldV, final int newV) { in onUpgrade() argument
445 Log.v(TAG, "onUpgrade() for " + mName + " from " + oldV + " to " + newV); in onUpgrade()
446 updateDatabase(mContext, db, mInternal, oldV, newV); in onUpgrade()
450 public void onDowngrade(final SQLiteDatabase db, final int oldV, final int newV) { in onDowngrade() argument
451 Log.v(TAG, "onDowngrade() for " + mName + " from " + oldV + " to " + newV); in onDowngrade()
452 downgradeDatabase(mContext, db, mInternal, oldV, newV); in onDowngrade()