Searched refs:DATABASE_VERSION (Results 1 - 25 of 41) sorted by relevance

12

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnSQLiteOpenHelper.java31 private static final int DATABASE_VERSION = 1; field in class:OpenWnnSQLiteOpenHelper
34 super(context, dbname, null, DATABASE_VERSION);
/packages/apps/Dialer/java/com/android/dialer/database/
H A DDatabaseBindingsStub.java31 context, DialerDatabaseHelper.DATABASE_NAME, DialerDatabaseHelper.DATABASE_VERSION);
H A DDialerDatabaseHelper.java68 public static final int DATABASE_VERSION = 10; field in class:DialerDatabaseHelper
196 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION));
267 if (oldVersion != DATABASE_VERSION) {
269 "error upgrading the database to version " + DATABASE_VERSION);
272 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION));
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarUpgradeReceiver.java56 if (prefVersion != CalendarDatabaseHelper.DATABASE_VERSION) {
61 prefs.edit().putInt(PREF_DB_VERSION, CalendarDatabaseHelper.DATABASE_VERSION).commit();
/packages/providers/TvProvider/src/com/android/providers/tv/
H A DTvProviderUpgradeReceiver.java58 if (prefVersion != TvProvider.DATABASE_VERSION) {
63 prefs.edit().putInt(PREF_DB_VERSION, TvProvider.DATABASE_VERSION).commit();
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
H A DAnomalyDatabaseHelper.java37 private static final int DATABASE_VERSION = 4; field in class:AnomalyDatabaseHelper
105 super(context, DATABASE_NAME, null, DATABASE_VERSION);
120 if (oldVersion < DATABASE_VERSION) {
/packages/apps/Settings/src/com/android/settings/slices/
H A DSlicesDatabaseHelper.java39 private static final int DATABASE_VERSION = 2; field in class:SlicesDatabaseHelper
134 super(context, DATABASE_NAME, null /* CursorFactor */, DATABASE_VERSION);
145 if (oldVersion < DATABASE_VERSION) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DFilterStackDBHelper.java25 public static final int DATABASE_VERSION = 1; field in class:FilterStackDBHelper
51 this(context, name, DATABASE_VERSION);
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
H A DBlockedNumberDatabaseHelper.java27 private static final int DATABASE_VERSION = 2; field in class:BlockedNumberDatabaseHelper
88 instanceIsForTesting ? null : DATABASE_NAME, null, DATABASE_VERSION);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsUpgradeReceiver.java66 if (prefDbVersion != ContactsDatabaseHelper.DATABASE_VERSION ||
74 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION);
H A DCallLogDatabaseHelper.java42 private static final int DATABASE_VERSION = 5; field in class:CallLogDatabaseHelper
213 mOpenHelper = new OpenHelper(mContext, databaseName, /* factory=*/ null, DATABASE_VERSION);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DCarrierDatabaseHelper.java35 private static final int DATABASE_VERSION = 2; field in class:CarrierDatabaseHelper
42 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DSearchRecentSuggestionsProvider.java60 private static final int DATABASE_VERSION = 3 * 256; field in class:SearchRecentSuggestionsProvider
75 mOpenHelper = new DatabaseHelper(mContext, DATABASE_VERSION);
/packages/apps/TV/common/src/com/android/tv/common/
H A DCommonPreferenceProvider.java38 private static final int DATABASE_VERSION = 1; field in class:CommonPreferenceProvider
104 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/apps/Gallery/src/com/android/camera/
H A DPhotoAppWidgetProvider.java89 private static final int DATABASE_VERSION = 2; field in class:PhotoAppWidgetProvider.PhotoDatabaseHelper
96 super(context, DATABASE_NAME, null, DATABASE_VERSION);
112 if (version != DATABASE_VERSION) {
/packages/apps/Settings/src/com/android/settings/search/
H A DIndexDatabaseHelper.java37 private static final int DATABASE_VERSION = 118; field in class:IndexDatabaseHelper
174 super(context, DATABASE_NAME, null, DATABASE_VERSION);
209 if (oldVersion < DATABASE_VERSION) {
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetDatabaseHelper.java41 private static final int DATABASE_VERSION = 5; field in class:WidgetDatabaseHelper
96 super(context, DATABASE_NAME, null, DATABASE_VERSION);
180 if (oldVersion < DATABASE_VERSION) {
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
H A DIndexDatabaseHelper.java40 private static final int DATABASE_VERSION = 119; field in class:IndexDatabaseHelper
179 super(context, DATABASE_NAME, null, DATABASE_VERSION);
214 if (oldVersion < DATABASE_VERSION) {
/packages/apps/KeyChain/src/com/android/keychain/internal/
H A DGrantsDatabase.java32 private static final int DATABASE_VERSION = 2; field in class:GrantsDatabase
62 super(context, DATABASE_NAME, null /* CursorFactory */, DATABASE_VERSION);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarDatabaseHelperTest.java429 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION);
461 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION);
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DUsbSettingsStorage.java189 private static final int DATABASE_VERSION = 2; field in class:UsbSettingsStorage.UsbSettingsDbHelper
193 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
H A DUsbSettingsStorage.java172 private static final int DATABASE_VERSION = 2; field in class:UsbSettingsStorage.UsbSettingsDbHelper
176 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastDatabaseHelper.java55 static final int DATABASE_VERSION = 11; field in class:CellBroadcastDatabaseHelper
58 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFileCache.java287 public static final int DATABASE_VERSION = 1; field in class:FileCache.DatabaseHelper
290 super(context, dbName, null, DATABASE_VERSION);
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java70 private static final int DATABASE_VERSION = 2; field in class:UserDictionaryProvider
108 super(context, DATABASE_NAME, null, DATABASE_VERSION);

Completed in 560 milliseconds

12