Searched refs:oldV (Results 1 – 5 of 5) sorted by relevance
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | PickerDatabaseHelper.java | 71 public void onUpgrade(final SQLiteDatabase db, final int oldV, final int newV) { in onUpgrade() argument 72 Log.v(TAG, "onUpgrade() for " + mName + " from " + oldV + " to " + newV); in onUpgrade() 78 public void onDowngrade(final SQLiteDatabase db, final int oldV, final int newV) { in onDowngrade() argument 79 Log.v(TAG, "onDowngrade() for " + mName + " from " + oldV + " to " + newV); in onDowngrade()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 122 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument 123 if (oldV == DB_VERSION_NOP_UPGRADE_FROM) { in onUpgrade() 129 oldV = DB_VERSION_NOP_UPGRADE_TO; in onUpgrade() 134 + oldV in onUpgrade()
|
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/ |
D | LegacyDatabaseHelper.java | 156 public void onUpgrade(final SQLiteDatabase db, final int oldV, final int newV) { in onUpgrade() argument 157 Log.v(TAG, "onUpgrade() for " + mName + " from " + oldV + " to " + newV); in onUpgrade() 169 updateDatabase(db, oldV); in onUpgrade() 176 public void onDowngrade(final SQLiteDatabase db, final int oldV, final int newV) { in onDowngrade() argument 177 Log.v(TAG, "onDowngrade() for " + mName + " from " + oldV + " to " + newV); in onDowngrade()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 293 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument 294 if (oldV == 31) { in onUpgrade() 297 oldV = 100; in onUpgrade() 298 } else if (oldV < 100) { in onUpgrade() 300 Log.i(Constants.TAG, "Upgrading downloads database from version " + oldV in onUpgrade() 302 oldV = 99; in onUpgrade() 303 } else if (oldV > newV) { in onUpgrade() 306 Log.i(Constants.TAG, "Downgrading downloads database from version " + oldV in onUpgrade() 308 oldV = 99; in onUpgrade() 311 for (int version = oldV + 1; version <= newV; version++) { in onUpgrade()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseHelper.java | 530 public void onUpgrade(final SQLiteDatabase db, final int oldV, final int newV) { in onUpgrade() argument 531 Log.v(TAG, "onUpgrade() for " + mName + " from " + oldV + " to " + newV); in onUpgrade() 543 updateDatabase(db, oldV, newV); in onUpgrade() 550 public void onDowngrade(final SQLiteDatabase db, final int oldV, final int newV) { in onDowngrade() argument 551 Log.v(TAG, "onDowngrade() for " + mName + " from " + oldV + " to " + newV); in onDowngrade() 554 downgradeDatabase(db, oldV, newV); in onDowngrade()
|