Home
last modified time | relevance | path

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

12

/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/Settings/src/com/android/settings/search/
DIndexDatabaseHelper.java31 private static final int DATABASE_VERSION = 117; field in IndexDatabaseHelper
174 super(context, DATABASE_NAME, null, DATABASE_VERSION); in IndexDatabaseHelper()
209 if (oldVersion < 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/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java64 public static final int DATABASE_VERSION = 10; field in DialerDatabaseHelper
190 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in setupTables()
261 if (oldVersion != DATABASE_VERSION) { in onUpgrade()
263 "error upgrading the database to version " + DATABASE_VERSION); in onUpgrade()
266 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in onUpgrade()
/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.java56 if (prefVersion != CalendarDatabaseHelper.DATABASE_VERSION) { in onReceive()
61 … prefs.edit().putInt(PREF_DB_VERSION, CalendarDatabaseHelper.DATABASE_VERSION).commit(); in onReceive()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProviderUpgradeReceiver.java58 if (prefVersion != TvProvider.DATABASE_VERSION) { in onReceive()
63 prefs.edit().putInt(PREF_DB_VERSION, TvProvider.DATABASE_VERSION).commit(); in onReceive()
/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/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberDatabaseHelper.java27 private static final int DATABASE_VERSION = 2; field in BlockedNumberDatabaseHelper
84 instanceIsForTesting ? null : DATABASE_NAME, null, DATABASE_VERSION); in BlockedNumberDatabaseHelper()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsUpgradeReceiver.java66 if (prefDbVersion != ContactsDatabaseHelper.DATABASE_VERSION || in onReceive()
74 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION); in onReceive()
DCallLogDatabaseHelper.java42 private static final int DATABASE_VERSION = 5; field in CallLogDatabaseHelper
209 mOpenHelper = new OpenHelper(mContext, databaseName, /* factory=*/ null, DATABASE_VERSION); in CallLogDatabaseHelper()
/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/apps/TV/src/com/android/tv/tuner/
DTunerPreferenceProvider.java38 private static final int DATABASE_VERSION = 1; field in TunerPreferenceProvider
112 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseOpenHelper()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
DUsbSettingsStorage.java172 private static final int DATABASE_VERSION = 2; field in UsbSettingsStorage.UsbSettingsDbHelper
176 super(context, DATABASE_NAME, null, DATABASE_VERSION); in UsbSettingsDbHelper()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbSettingsStorage.java171 private static final int DATABASE_VERSION = 1; field in UsbSettingsStorage.UsbSettingsDbHelper
175 super(context, DATABASE_NAME, null, DATABASE_VERSION); in UsbSettingsDbHelper()
/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/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/Car/Radio/src/com/android/car/radio/
DRadioDatabase.java43 private static final int DATABASE_VERSION = 1; field in RadioDatabase
140 super(context, DATABASE_NAME, null /* factory */, DATABASE_VERSION); in RadioDatabase()
/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/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java70 private static final int DATABASE_VERSION = 2; field in UserDictionaryProvider
106 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DExpressionDB.java143 public static final int DATABASE_VERSION = 1; field in ExpressionDB.ExpressionDBHelper
147 super(context, DATABASE_NAME, null, DATABASE_VERSION); in ExpressionDBHelper()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java88 private static final int DATABASE_VERSION = 1; field in HbpcdLookupDatabaseHelper
99 super(context, DATABASE_NAME, null, DATABASE_VERSION); in HbpcdLookupDatabaseHelper()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java42 private static final int DATABASE_VERSION = 17; field in DvrDatabaseHelper
190 super(context.getApplicationContext(), DB_NAME, null, DATABASE_VERSION); in DvrDatabaseHelper() local
/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
405 super(context, DATABASE_NAME, null /* CursorFactory */, DATABASE_VERSION); in DatabaseHelper()

12