Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/
DPhotoAppWidgetProvider.java87 private static final int DATABASE_VERSION = 2; field in PhotoAppWidgetProvider.PhotoDatabaseHelper
94 super(context, DATABASE_NAME, null, DATABASE_VERSION); in PhotoDatabaseHelper()
110 if (version != 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/apps/AlarmClock/src/com/android/alarmclock/
DAlarmProvider.java47 private static final int DATABASE_VERSION = 5; field in AlarmProvider.DatabaseHelper
50 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmProvider.java47 private static final int DATABASE_VERSION = 5; field in AlarmProvider.DatabaseHelper
50 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java51 private static final int DATABASE_VERSION = 1; field in UserDictionaryProvider
71 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DLocalStoreUnitTests.java68 private static final int DATABASE_VERSION = 24; field in LocalStoreUnitTests
979 assertEquals("database version should be latest", DATABASE_VERSION, db.getVersion()); in testDbVersion()
1057 assertEquals("database should be upgraded", DATABASE_VERSION, db.getVersion()); in testDbUpgrade18ToLatest()
1130 assertEquals("database should be upgraded", DATABASE_VERSION, db.getVersion()); in testDbUpgrade19ToLatest()
1182 assertEquals("database should be upgraded", DATABASE_VERSION, db.getVersion()); in testDbUpgrade20ToLatest()
1205 assertEquals("database should be upgraded", DATABASE_VERSION, db.getVersion()); in testDbUpgrade21ToLatest()
1249 assertEquals("database should be upgraded", DATABASE_VERSION, db.getVersion()); in testDbUpgrade22ToLatest()
1309 assertEquals("database should be upgraded", DATABASE_VERSION, db.getVersion()); in testDbUpgrade23ToLatest()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java53 private static final int DATABASE_VERSION = 5 << 16; field in TelephonyProvider
109 return DATABASE_VERSION | publicversion; in getVersion()
112 return DATABASE_VERSION; in getVersion()
DMmsSmsDatabaseHelper.java202 static final int DATABASE_VERSION = 47; field in MmsSmsDatabaseHelper
205 super(context, DATABASE_NAME, null, DATABASE_VERSION); in MmsSmsDatabaseHelper()
/packages/providers/DrmProvider/src/com/android/providers/drm/
DDrmProvider.java57 private static final int DATABASE_VERSION = 1; field in DrmProvider.OpenDatabaseHelper
60 super(context, DATABASE_NAME, null, DATABASE_VERSION); in OpenDatabaseHelper()
/packages/apps/Browser/src/com/android/browser/
DBrowserProvider.java160 private static final int DATABASE_VERSION = 22; field in BrowserProvider
217 super(context, sDatabaseName, null, DATABASE_VERSION); in DatabaseHelper()
339 if (DATABASE_VERSION == 18 || DATABASE_VERSION == 19) { in onCreate()
/packages/apps/Launcher/src/com/android/launcher/
DLauncherProvider.java63 private static final int DATABASE_VERSION = 4; field in LauncherProvider
189 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
397 if (version != DATABASE_VERSION) { in onUpgrade()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java61 private static final int DATABASE_VERSION = 5; field in LauncherProvider
188 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
411 if (version != DATABASE_VERSION) { in onUpgrade()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java168 super(context, name, null, DATABASE_VERSION); in DatabaseHelper()
178 updateDatabase(db, mInternal, 0, DATABASE_VERSION); in onCreate()
354 if (toVersion != DATABASE_VERSION) { in updateDatabase()
356 DATABASE_VERSION); in updateDatabase()
2651 private static final int DATABASE_VERSION = 77; field in MediaProvider
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java65 public static final int DATABASE_VERSION = 6; field in EmailProvider
571 super(context, name, null, DATABASE_VERSION); in DatabaseHelper()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java64 private static final int DATABASE_VERSION = 105; field in ContactsDatabaseHelper
523 super(context, DATABASE_NAME, null, DATABASE_VERSION); in ContactsDatabaseHelper()
DContactsProvider.java189 super(DATABASE_NAME, DATABASE_VERSION, Contacts.CONTENT_URI); in ContactsProvider()
4063 /* package private */ static final int DATABASE_VERSION = 83; field in ContactsProvider
/packages/apps/IM/src/com/android/im/provider/
DImpsProvider.java78 private static final int DATABASE_VERSION = 1; field in ImpsProvider
909 this(DATABASE_NAME, DATABASE_VERSION); in ImpsProvider()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider.java240 private static final int DATABASE_VERSION = 57; field in CalendarProvider
300 super(DATABASE_NAME, DATABASE_VERSION, Calendars.CONTENT_URI); in CalendarProvider()