/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SlicesDatabaseHelper.java | 39 private static final int DATABASE_VERSION = 5; field in SlicesDatabaseHelper 141 super(context, DATABASE_NAME, null /* CursorFactor */, DATABASE_VERSION); in SlicesDatabaseHelper() 152 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyDatabaseHelper.java | 36 private static final int DATABASE_VERSION = 5; field in AnomalyDatabaseHelper 147 super(context, DATABASE_NAME, null, DATABASE_VERSION); in AnomalyDatabaseHelper() 157 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | AnomalyDatabaseHelper.java | 36 private static final int DATABASE_VERSION = 5; field in AnomalyDatabaseHelper 147 super(context, DATABASE_NAME, null, DATABASE_VERSION); in AnomalyDatabaseHelper() 157 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseHelper.java | 39 private static final int DATABASE_VERSION = 5; field in SlicesDatabaseHelper 141 super(context, DATABASE_NAME, null /* CursorFactor */, DATABASE_VERSION); in SlicesDatabaseHelper() 152 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/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/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/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 40 private static final int DATABASE_VERSION = 120; field in IndexDatabaseHelper 182 super(context, DATABASE_NAME, null, DATABASE_VERSION); in IndexDatabaseHelper() 217 if (oldVersion < DATABASE_VERSION) { in onUpgrade()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierDatabaseHelper.java | 35 private static final int DATABASE_VERSION = 2; field in CarrierDatabaseHelper 42 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CarrierDatabaseHelper()
|
D | CarrierIdProvider.java | 80 private static final int DATABASE_VERSION = 5; field in CarrierIdProvider 337 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CarrierIdDatabaseHelper() 338 Log.d(TAG, "CarrierIdDatabaseHelper: " + DATABASE_VERSION); in CarrierIdDatabaseHelper() 361 if (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/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/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberDatabaseHelper.java | 27 private static final int DATABASE_VERSION = 2; field in BlockedNumberDatabaseHelper 88 instanceIsForTesting ? null : DATABASE_NAME, null, DATABASE_VERSION); in BlockedNumberDatabaseHelper()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsUpgradeReceiver.java | 65 if (prefDbVersion != ContactsDatabaseHelper.DATABASE_VERSION || in onReceive() 73 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION); in onReceive()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDatabaseHelper.java | 49 private static final int DATABASE_VERSION = 18; field in DvrDatabaseHelper 297 (dvrFlags.startEarlyEndLateEnabled() ? DATABASE_VERSION + 1 : DATABASE_VERSION)); in DvrDatabaseHelper() 347 if (oldVersion > DATABASE_VERSION) { in onDowngrade()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/ |
D | CardDatabaseHelper.java | 34 private static final int DATABASE_VERSION = 5; field in CardDatabaseHelper 172 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CardDatabaseHelper()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | CardDatabaseHelper.java | 34 private static final int DATABASE_VERSION = 5; field in CardDatabaseHelper 172 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CardDatabaseHelper()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastDatabaseHelper.java | 50 private static final int DATABASE_VERSION = 12; field in CellBroadcastDatabaseHelper 55 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CellBroadcastDatabaseHelper()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferenceProvider.java | 38 private static final int DATABASE_VERSION = 1; field in CommonPreferenceProvider 104 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseOpenHelper()
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 70 public static final int DATABASE_VERSION = 10; field in DialerDatabaseHelper 200 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in setupTables() 271 if (oldVersion != DATABASE_VERSION) { in onUpgrade() 273 "error upgrading the database to version " + DATABASE_VERSION); in onUpgrade() 276 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in onUpgrade()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbSettingsStorage.java | 187 private static final int DATABASE_VERSION = 2; field in UsbSettingsStorage.UsbSettingsDbHelper 197 DATABASE_VERSION); in UsbSettingsDbHelper() local
|
/packages/apps/KeyChain/src/com/android/keychain/internal/ |
D | GrantsDatabase.java | 32 private static final int DATABASE_VERSION = 2; field in GrantsDatabase 64 super(context, DATABASE_NAME, null /* CursorFactory */, 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/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchHistoryManager.java | 88 private static final int DATABASE_VERSION = 1; field in SearchHistoryManager.DatabaseHelper 95 super(context, HISTORY_DATABASE, null, DATABASE_VERSION); in DatabaseHelper()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastProvider.java | 68 private static final int DATABASE_VERSION = 3; field in CellBroadcastProvider 370 super(context, DATABASE_NAME, null /* factory */, DATABASE_VERSION); in CellBroadcastDatabaseHelper()
|