Home
last modified time | relevance | path

Searched refs:oldVersion (Results 1 – 5 of 5) sorted by relevance

/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABProvider.java122 public boolean upgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion) { in upgradeDatabase() argument
123 logger.info("Enter: upgradeDatabase() - oldVersion = " + oldVersion + in upgradeDatabase()
128 if (oldVersion == newVersion) { in upgradeDatabase()
134 if (oldVersion == 0) { in upgradeDatabase()
137 oldVersion++; in upgradeDatabase()
138 logger.debug("upgradeDatabase : DB has been upgraded to " + oldVersion); in upgradeDatabase()
140 if (oldVersion == 1) { in upgradeDatabase()
144 oldVersion++; in upgradeDatabase()
145 logger.debug("upgradeDatabase : DB has been upgraded to " + oldVersion); in upgradeDatabase()
147 if (oldVersion == 2) { in upgradeDatabase()
[all …]
DDatabaseContentProvider.java86 protected abstract boolean upgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion); in upgradeDatabase() argument
97 protected abstract boolean downgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion); in downgradeDatabase() argument
144 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
145 upgradeDatabase(db, oldVersion, newVersion); in onUpgrade()
149 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument
150 logger.debug("Enter: onDowngrade() - oldVersion = " + oldVersion + " newVersion = " in onDowngrade()
152 downgradeDatabase(db, oldVersion, newVersion); in onDowngrade()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRCompare.java20 … File oldVersion = new File(CldrUtility.getProperty("old", new File(CLDRPaths.COMMON_DIRECTORY in main() local
22 if (!oldVersion.exists()) { in main()
41 final String oldSubDir = oldVersion.getCanonicalPath() + "/" + subDir; in main()
DFindPluralDifferences.java46 String oldVersion = newVersion; in diff() local
63 System.out.println("# " + oldVersion + "➞" + newVersion); in diff()
114 + "\t" + oldVersion + "➞" + newVersion in diff()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java247 public void onUpgrade(SQLiteDatabase database, int oldVersion, int newVersion) { in onUpgrade() argument