Searched refs:oldV (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 123 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument 124 if (oldV == DB_VERSION_NOP_UPGRADE_FROM) { in onUpgrade() 130 oldV = 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/ |
D | DownloadProvider.java | 302 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument 303 if (oldV == 31) { in onUpgrade() 306 oldV = 100; in onUpgrade() 307 } else if (oldV < 100) { in onUpgrade() 309 Log.i(Constants.TAG, "Upgrading downloads database from version " + oldV in onUpgrade() 311 oldV = 99; in onUpgrade() 312 } else if (oldV > newV) { in onUpgrade() 315 Log.i(Constants.TAG, "Downgrading downloads database from version " + oldV in onUpgrade() 317 oldV = 99; in onUpgrade() 320 for (int version = oldV + 1; version <= newV; version++) { in onUpgrade()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 444 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()
|