Home
last modified time | relevance | path

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

12

/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/apps/Settings/src/com/android/settings/search/
DIndexDatabaseHelper.java36 private static final int DATABASE_VERSION = 117; field in IndexDatabaseHelper
181 super(context, DATABASE_NAME, null, DATABASE_VERSION); in IndexDatabaseHelper()
216 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnSQLiteOpenHelper.java31 private static final int DATABASE_VERSION = 1; field in OpenWnnSQLiteOpenHelper
34 super(context, dbname, null, DATABASE_VERSION); in OpenWnnSQLiteOpenHelper()
/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/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java64 public static final int DATABASE_VERSION = 10; field in DialerDatabaseHelper
188 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in setupTables()
259 if (oldVersion != DATABASE_VERSION) { in onUpgrade()
261 "error upgrading the database to version " + DATABASE_VERSION); in onUpgrade()
264 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(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/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()
DHbpcdLookupDatabaseHelper.java88 private static final int DATABASE_VERSION = 1; field in HbpcdLookupDatabaseHelper
100 super(context, DATABASE_NAME, null, DATABASE_VERSION); in HbpcdLookupDatabaseHelper()
/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/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.java66 if (prefDbVersion != ContactsDatabaseHelper.DATABASE_VERSION || in onReceive()
74 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION); in onReceive()
DCallLogDatabaseHelper.java42 private static final int DATABASE_VERSION = 5; field in CallLogDatabaseHelper
213 mOpenHelper = new OpenHelper(mContext, databaseName, /* factory=*/ null, DATABASE_VERSION); in CallLogDatabaseHelper()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DSearchRecentSuggestionsProvider.java60 private static final int DATABASE_VERSION = 3 * 256; field in SearchRecentSuggestionsProvider
75 mOpenHelper = new DatabaseHelper(mContext, DATABASE_VERSION); in SearchRecentSuggestionsProvider()
/packages/apps/TV/src/com/android/tv/tuner/
DTunerPreferenceProvider.java38 private static final int DATABASE_VERSION = 1; field in TunerPreferenceProvider
112 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseOpenHelper()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
DUsbSettingsStorage.java172 private static final int DATABASE_VERSION = 2; field in UsbSettingsStorage.UsbSettingsDbHelper
176 super(context, DATABASE_NAME, null, DATABASE_VERSION); in UsbSettingsDbHelper()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbSettingsStorage.java189 private static final int DATABASE_VERSION = 2; field in UsbSettingsStorage.UsbSettingsDbHelper
193 super(context, DATABASE_NAME, null, DATABASE_VERSION); in UsbSettingsDbHelper()
/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/Car/Radio/src/com/android/car/radio/
DRadioDatabase.java43 private static final int DATABASE_VERSION = 1; field in RadioDatabase
140 super(context, DATABASE_NAME, null /* factory */, DATABASE_VERSION); in RadioDatabase()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastDatabaseHelper.java55 static final int DATABASE_VERSION = 11; field in CellBroadcastDatabaseHelper
58 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CellBroadcastDatabaseHelper()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java70 private static final int DATABASE_VERSION = 2; field in UserDictionaryProvider
108 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java287 public static final int DATABASE_VERSION = 1; field in FileCache.DatabaseHelper
290 super(context, dbName, null, DATABASE_VERSION); in DatabaseHelper()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DExpressionDB.java143 public static final int DATABASE_VERSION = 1; field in ExpressionDB.ExpressionDBHelper
147 super(context, DATABASE_NAME, null, DATABASE_VERSION); in ExpressionDBHelper()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java225 public static final int DATABASE_VERSION = 2; field in DownloadCache.DatabaseHelper
228 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java42 private static final int DATABASE_VERSION = 17; field in DvrDatabaseHelper
190 super(context.getApplicationContext(), DB_NAME, null, DATABASE_VERSION); in DvrDatabaseHelper() local

12