/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 75 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/ |
D | IndexDatabaseHelper.java | 31 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/ |
D | PhotoAppWidgetProvider.java | 89 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/ |
D | WidgetDatabaseHelper.java | 41 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/ |
D | BrowserProvider.java | 165 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()
|
D | SnapshotProvider.java | 74 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/ |
D | OpenWnnSQLiteOpenHelper.java | 31 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/ |
D | CalendarUpgradeReceiver.java | 57 if (prefVersion != CalendarDatabaseHelper.DATABASE_VERSION) { in onReceive() 62 … prefs.edit().putInt(PREF_DB_VERSION, CalendarDatabaseHelper.DATABASE_VERSION).commit(); in onReceive()
|
D | CalendarDatabaseHelper.java | 77 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/ |
D | FilterStackDBHelper.java | 25 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/ |
D | ContactsUpgradeReceiver.java | 61 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/ |
D | AutoFillProfileDatabase.java | 31 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/ |
D | SearchRecentSuggestionsProvider.java | 60 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/ |
D | TelephonyProvider.java | 65 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()
|
D | HbpcdLookupDatabaseHelper.java | 88 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/ |
D | FmProvider.java | 45 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/ |
D | CalendarDatabaseHelperTest.java | 429 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/ |
D | UserDictionaryProvider.java | 64 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/ |
D | CellBroadcastDatabaseHelper.java | 55 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/ |
D | FileCache.java | 287 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/ |
D | DownloadCache.java | 225 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/ |
D | KeyChainService.java | 58 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/ |
D | PartnerBookmarksProvider.java | 128 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/ |
D | LauncherProvider.java | 71 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/ |
D | LauncherProvider.java | 64 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()
|