Searched refs:oldV (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 141 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument 142 if (oldV == DB_VERSION_NOP_UPGRADE_FROM) { in onUpgrade() 150 oldV = DB_VERSION_NOP_UPGRADE_TO; in onUpgrade() 152 Log.i(TAG, "Upgrading downloads database from version " + oldV + " to " in onUpgrade()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 258 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument 259 if (oldV == 31) { in onUpgrade() 262 oldV = 100; in onUpgrade() 263 } else if (oldV < 100) { in onUpgrade() 265 Log.i(Constants.TAG, "Upgrading downloads database from version " + oldV in onUpgrade() 267 oldV = 99; in onUpgrade() 268 } else if (oldV > newV) { in onUpgrade() 271 Log.i(Constants.TAG, "Downgrading downloads database from version " + oldV in onUpgrade() 273 oldV = 99; in onUpgrade() 276 for (int version = oldV + 1; version <= newV; version++) { in onUpgrade()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 399 public void onUpgrade(final SQLiteDatabase db, final int oldV, final int newV) { in onUpgrade() argument 401 updateDatabase(mContext, db, mInternal, oldV, newV); in onUpgrade()
|