Home
last modified time | relevance | path

Searched refs:oldVersion (Results 1 – 7 of 7) 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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/database/
DExoDatabaseProvider.java56 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
61 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRCompare.java19 …File oldVersion = new File(CldrUtility.getProperty("old", PathUtilities.getNormalizedPathString(CL… in main() local
21 if (!oldVersion.exists()) { in main()
40 … final String oldSubDir = PathUtilities.getNormalizedPathString(oldVersion) + "/" + 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
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestUtil.java239 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in getInMemoryDatabaseProvider()