/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/Settings/src/com/android/settings/search/ |
D | IndexDatabaseHelper.java | 31 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/ |
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/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 64 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/ |
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 | 56 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/ |
D | TvProviderUpgradeReceiver.java | 58 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/ |
D | FilterStackDBHelper.java | 25 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/ |
D | BlockedNumberDatabaseHelper.java | 27 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/ |
D | ContactsUpgradeReceiver.java | 66 if (prefDbVersion != ContactsDatabaseHelper.DATABASE_VERSION || in onReceive() 74 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION); in onReceive()
|
D | CallLogDatabaseHelper.java | 42 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/ |
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/apps/TV/src/com/android/tv/tuner/ |
D | TunerPreferenceProvider.java | 38 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/ |
D | UsbSettingsStorage.java | 172 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/ |
D | UsbSettingsStorage.java | 171 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/ |
D | CalendarDatabaseHelperTest.java | 429 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/ |
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/Car/Radio/src/com/android/car/radio/ |
D | RadioDatabase.java | 43 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/ |
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/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 70 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/ |
D | ExpressionDB.java | 143 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/ |
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/TV/src/com/android/tv/dvr/provider/ |
D | DvrDatabaseHelper.java | 42 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/ |
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 405 super(context, DATABASE_NAME, null /* CursorFactory */, DATABASE_VERSION); in DatabaseHelper()
|