Home
last modified time | relevance | path

Searched refs:DATABASE_VERSION (Results 1 – 25 of 43) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSlicesDatabaseHelper.java39 private static final int DATABASE_VERSION = 5; field in SlicesDatabaseHelper
141 super(context, DATABASE_NAME, null /* CursorFactor */, DATABASE_VERSION); in SlicesDatabaseHelper()
152 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDatabaseHelper.java36 private static final int DATABASE_VERSION = 5; field in AnomalyDatabaseHelper
147 super(context, DATABASE_NAME, null, DATABASE_VERSION); in AnomalyDatabaseHelper()
157 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DAnomalyDatabaseHelper.java36 private static final int DATABASE_VERSION = 5; field in AnomalyDatabaseHelper
147 super(context, DATABASE_NAME, null, DATABASE_VERSION); in AnomalyDatabaseHelper()
157 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesDatabaseHelper.java39 private static final int DATABASE_VERSION = 5; field in SlicesDatabaseHelper
141 super(context, DATABASE_NAME, null /* CursorFactor */, DATABASE_VERSION); in SlicesDatabaseHelper()
152 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java89 private static final int DATABASE_VERSION = 2; field in PhotoAppWidgetProvider.PhotoDatabaseHelper
96 super(context, DATABASE_NAME, null, DATABASE_VERSION); in PhotoDatabaseHelper()
112 if (version != DATABASE_VERSION) { in onUpgrade()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProviderUpgradeReceiver.java58 if (prefVersion != TvProvider.DATABASE_VERSION) { in onReceive()
63 prefs.edit().putInt(PREF_DB_VERSION, TvProvider.DATABASE_VERSION).commit(); in onReceive()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarUpgradeReceiver.java56 if (prefVersion != CalendarDatabaseHelper.DATABASE_VERSION) { in onReceive()
61 … prefs.edit().putInt(PREF_DB_VERSION, CalendarDatabaseHelper.DATABASE_VERSION).commit(); in onReceive()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDatabaseHelper.java40 private static final int DATABASE_VERSION = 120; field in IndexDatabaseHelper
182 super(context, DATABASE_NAME, null, DATABASE_VERSION); in IndexDatabaseHelper()
217 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierDatabaseHelper.java35 private static final int DATABASE_VERSION = 2; field in CarrierDatabaseHelper
42 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CarrierDatabaseHelper()
DCarrierIdProvider.java80 private static final int DATABASE_VERSION = 5; field in CarrierIdProvider
337 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CarrierIdDatabaseHelper()
338 Log.d(TAG, "CarrierIdDatabaseHelper: " + DATABASE_VERSION); in CarrierIdDatabaseHelper()
361 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DFilterStackDBHelper.java25 public static final int DATABASE_VERSION = 1; field in FilterStackDBHelper
51 this(context, name, DATABASE_VERSION); in FilterStackDBHelper()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java41 private static final int DATABASE_VERSION = 5; field in WidgetDatabaseHelper
96 super(context, DATABASE_NAME, null, DATABASE_VERSION); in WidgetDatabaseHelper()
180 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberDatabaseHelper.java27 private static final int DATABASE_VERSION = 2; field in BlockedNumberDatabaseHelper
88 instanceIsForTesting ? null : DATABASE_NAME, null, DATABASE_VERSION); in BlockedNumberDatabaseHelper()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsUpgradeReceiver.java65 if (prefDbVersion != ContactsDatabaseHelper.DATABASE_VERSION || in onReceive()
73 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION); in onReceive()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java49 private static final int DATABASE_VERSION = 18; field in DvrDatabaseHelper
297 (dvrFlags.startEarlyEndLateEnabled() ? DATABASE_VERSION + 1 : DATABASE_VERSION)); in DvrDatabaseHelper()
347 if (oldVersion > DATABASE_VERSION) { in onDowngrade()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DCardDatabaseHelper.java34 private static final int DATABASE_VERSION = 5; field in CardDatabaseHelper
172 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CardDatabaseHelper()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DCardDatabaseHelper.java34 private static final int DATABASE_VERSION = 5; field in CardDatabaseHelper
172 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CardDatabaseHelper()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastDatabaseHelper.java50 private static final int DATABASE_VERSION = 12; field in CellBroadcastDatabaseHelper
55 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CellBroadcastDatabaseHelper()
/packages/apps/TV/common/src/com/android/tv/common/
DCommonPreferenceProvider.java38 private static final int DATABASE_VERSION = 1; field in CommonPreferenceProvider
104 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseOpenHelper()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java70 public static final int DATABASE_VERSION = 10; field in DialerDatabaseHelper
200 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in setupTables()
271 if (oldVersion != DATABASE_VERSION) { in onUpgrade()
273 "error upgrading the database to version " + DATABASE_VERSION); in onUpgrade()
276 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in onUpgrade()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbSettingsStorage.java187 private static final int DATABASE_VERSION = 2; field in UsbSettingsStorage.UsbSettingsDbHelper
197 DATABASE_VERSION); in UsbSettingsDbHelper() local
/packages/apps/KeyChain/src/com/android/keychain/internal/
DGrantsDatabase.java32 private static final int DATABASE_VERSION = 2; field in GrantsDatabase
64 super(context, DATABASE_NAME, null /* CursorFactory */, DATABASE_VERSION); in DatabaseHelper()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarDatabaseHelperTest.java429 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION); in testUpgradeToCurrentVersion()
461 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION); in testSchemasEqualForAllTables()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchHistoryManager.java88 private static final int DATABASE_VERSION = 1; field in SearchHistoryManager.DatabaseHelper
95 super(context, HISTORY_DATABASE, null, DATABASE_VERSION); in DatabaseHelper()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java68 private static final int DATABASE_VERSION = 3; field in CellBroadcastProvider
370 super(context, DATABASE_NAME, null /* factory */, DATABASE_VERSION); in CellBroadcastDatabaseHelper()

12