Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java75 public static final int DATABASE_VERSION = 4; field in DialerDatabaseHelper
337 this(context, databaseName, DATABASE_VERSION); in DialerDatabaseHelper()
385 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in setupTables()
413 if (oldVersion != DATABASE_VERSION) { in onUpgrade()
415 "error upgrading the database to version " + DATABASE_VERSION); in onUpgrade()
418 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in onUpgrade()
/packages/apps/Settings/src/com/android/settings/search/
DIndexDatabaseHelper.java31 private static final int DATABASE_VERSION = 115; field in IndexDatabaseHelper
144 super(context, DATABASE_NAME, null, DATABASE_VERSION); in IndexDatabaseHelper()
177 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/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/Browser/src/com/android/browser/provider/
DBrowserProvider.java165 private static final int DATABASE_VERSION = 24; field in BrowserProvider
251 super(context, sDatabaseName, null, DATABASE_VERSION); in DatabaseHelper()
411 if (DATABASE_VERSION == 18 || DATABASE_VERSION == 19) { in onCreate()
DSnapshotProvider.java74 static final int DATABASE_VERSION = 3; field in SnapshotProvider.SnapshotDatabaseHelper
77 super(context, DATABASE_NAME, null, DATABASE_VERSION); in SnapshotDatabaseHelper()
/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/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarUpgradeReceiver.java57 if (prefVersion != CalendarDatabaseHelper.DATABASE_VERSION) { in onReceive()
62 … prefs.edit().putInt(PREF_DB_VERSION, CalendarDatabaseHelper.DATABASE_VERSION).commit(); in onReceive()
DCalendarDatabaseHelper.java77 static final int DATABASE_VERSION = 600; field in CalendarDatabaseHelper
319 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CalendarDatabaseHelper()
1419 if (oldVersion != DATABASE_VERSION) { in onUpgrade()
1424 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/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsUpgradeReceiver.java61 if (prefDbVersion != ContactsDatabaseHelper.DATABASE_VERSION || in onReceive()
68 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION); in onReceive()
/packages/apps/Browser/src/com/android/browser/
DAutoFillProfileDatabase.java31 static final int DATABASE_VERSION = 2; field in AutoFillProfileDatabase
53 super(context, DATABASE_NAME, null, DATABASE_VERSION); in AutoFillProfileDatabaseHelper()
/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/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java65 private static final int DATABASE_VERSION = 13 << 16; field in TelephonyProvider
143 int version = DATABASE_VERSION | publicversion; in getVersion()
148 Integer.toHexString(DATABASE_VERSION)); in getVersion()
149 return DATABASE_VERSION; in getVersion()
DHbpcdLookupDatabaseHelper.java88 private static final int DATABASE_VERSION = 1; field in HbpcdLookupDatabaseHelper
99 super(context, DATABASE_NAME, null, DATABASE_VERSION); in HbpcdLookupDatabaseHelper()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmProvider.java45 private static final int DATABASE_VERSION = 1; field in FmProvider
74 super(context, DATABASE_NAME, null, 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/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java64 private static final int DATABASE_VERSION = 2; field in UserDictionaryProvider
84 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
/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/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/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/KeyChain/src/com/android/keychain/
DKeyChainService.java58 private static final int DATABASE_VERSION = 1; field in KeyChainService
364 super(context, DATABASE_NAME, null /* CursorFactory */, DATABASE_VERSION); in DatabaseHelper()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java128 private static final int DATABASE_VERSION = 1; field in PartnerBookmarksProvider.DatabaseHelper
134 super(context, DATABASE_FILENAME, null, DATABASE_VERSION); in DatabaseHelper()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java71 private static final int DATABASE_VERSION = 13; field in LauncherProvider
269 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
540 if (version != DATABASE_VERSION) { in onUpgrade()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java64 private static final int DATABASE_VERSION = 20; field in LauncherProvider
390 super(context, LauncherFiles.LAUNCHER_DB, null, DATABASE_VERSION); in DatabaseHelper()
859 if (version != DATABASE_VERSION) { in onUpgrade()

12