Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDatabaseHelper.java71 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/
DBluetoothOppProvider.java122 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument
124 if (newV == DB_VERSION_NOP_UPGRADE_TO) { in onUpgrade()
136 + newV in onUpgrade()
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/
DLegacyDatabaseHelper.java156 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()
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/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java530 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()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java293 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { in onUpgrade() argument
301 + " to version " + newV + ", which will destroy all old data"); in onUpgrade()
303 } else if (oldV > newV) { in onUpgrade()
307 + " (current version is " + newV + "), destroying all old data"); in onUpgrade()
311 for (int version = oldV + 1; version <= newV; version++) { in onUpgrade()