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

12

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastDatabase.java33 static final int DATABASE_VERSION = 1; field in class:CellBroadcastDatabase
118 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmDatabaseHelper.java34 private static final int DATABASE_VERSION = 5; field in class:AlarmDatabaseHelper
37 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarUpgradeReceiver.java57 if (prefVersion != CalendarDatabaseHelper.DATABASE_VERSION) {
62 prefs.edit().putInt(PREF_DB_VERSION, CalendarDatabaseHelper.DATABASE_VERSION).commit();
H A DCalendarDatabaseHelper.java65 static final int DATABASE_VERSION = 308; field in class:CalendarDatabaseHelper
299 super(context, DATABASE_NAME, null, DATABASE_VERSION);
1353 if (oldVersion != DATABASE_VERSION) {
1358 oldVersion = DATABASE_VERSION;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsUpgradeReceiver.java56 if (prefVersion != ContactsDatabaseHelper.DATABASE_VERSION) {
62 PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION).commit();
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaUpgradeReceiver.java53 if (prefVersion == MediaProvider.DATABASE_VERSION) {
56 prefs.edit().putInt(PREF_DB_VERSION, MediaProvider.DATABASE_VERSION).commit();
H A DMediaProvider.java292 super(context, name, null, DATABASE_VERSION);
305 updateDatabase(db, mInternal, 0, DATABASE_VERSION);
638 if (toVersion != DATABASE_VERSION) {
640 DATABASE_VERSION);
1893 c.addRow(new Integer[] {DATABASE_VERSION});
4478 static final int DATABASE_VERSION = 408; field in class:MediaProvider
/packages/apps/Browser/src/com/android/browser/
H A DAutoFillProfileDatabase.java32 static final int DATABASE_VERSION = 2; field in class:AutoFillProfileDatabase
54 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/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetDatabaseHelper.java38 private static final int DATABASE_VERSION = 4; field in class:WidgetDatabaseHelper
82 super(context, DATABASE_NAME, null, DATABASE_VERSION);
154 if (version != DATABASE_VERSION) {
/packages/apps/Browser/src/com/android/browser/provider/
H A DSnapshotProvider.java75 static final int DATABASE_VERSION = 2; field in class:SnapshotProvider.SnapshotDatabaseHelper
78 super(context, getFullDatabaseName(context), null, DATABASE_VERSION);
H A DBrowserProvider.java167 private static final int DATABASE_VERSION = 24; field in class:BrowserProvider
253 super(context, sDatabaseName, null, DATABASE_VERSION);
413 if (DATABASE_VERSION == 18 || DATABASE_VERSION == 19) {
H A DBrowserProvider2.java386 static final int DATABASE_VERSION = 32; field in class:BrowserProvider2.DatabaseHelper
388 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/apps/KeyChain/src/com/android/keychain/
H A DKeyChainService.java45 private static final int DATABASE_VERSION = 1; field in class:KeyChainService
229 super(context, DATABASE_NAME, null /* CursorFactory */, DATABASE_VERSION);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DUserUnigramDictionary.java57 private static final int DATABASE_VERSION = 1; field in class:UserUnigramDictionary
187 super(context, DATABASE_NAME, null, DATABASE_VERSION);
H A DUserBigramDictionary.java60 private static final int DATABASE_VERSION = 1; field in class:UserBigramDictionary
265 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarDatabaseHelperTest.java428 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION);
459 cDbHelper.onUpgrade(mBadDb, 50, CalendarDatabaseHelper.DATABASE_VERSION);
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java51 private static final int DATABASE_VERSION = 1; field in class:UserDictionaryProvider
71 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFileCache.java283 public static final int DATABASE_VERSION = 1; field in class:FileCache.DatabaseHelper
286 super(context, dbName, null, DATABASE_VERSION);
/packages/providers/DrmProvider/src/com/android/providers/drm/
H A DDrmProvider.java57 private static final int DATABASE_VERSION = 1; field in class:DrmProvider.OpenDatabaseHelper
60 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DTelephonyProvider.java57 private static final int DATABASE_VERSION = 7 << 16; field in class:TelephonyProvider
113 return DATABASE_VERSION | publicversion;
116 return DATABASE_VERSION;
H A DMmsSmsDatabaseHelper.java216 static final int DATABASE_VERSION = 55; field in class:MmsSmsDatabaseHelper
222 super(context, DATABASE_NAME, null, DATABASE_VERSION);
772 // As of DATABASE_VERSION 55, we've removed these triggers that delete empty threads.
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadCache.java252 public static final int DATABASE_VERSION = 2; field in class:DownloadCache.DatabaseHelper
255 super(context, DATABASE_NAME, null, DATABASE_VERSION);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java68 private static final int DATABASE_VERSION = 9; field in class:LauncherProvider
214 super(context, DATABASE_NAME, null, DATABASE_VERSION);
453 if (version != DATABASE_VERSION) {
/packages/apps/Email/src/com/android/email/provider/
H A DEmailProvider.java164 public static final int DATABASE_VERSION = 28; field in class:EmailProvider
1068 super(context, name, null, DATABASE_VERSION);

Completed in 1396 milliseconds

12