HomeSort by relevance Sort by last modified time
    Searched refs:newVersion (Results 1 - 25 of 168) sorted by null

1 2 3 4 5 6 7

  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
BasePreferenceMigrator.java 32 final Context context, final int oldVersion, final int newVersion) {
35 migrate(context, oldVersion, newVersion);
46 * @param newVersion The new version of UnifiedEmail's preferences
48 protected abstract void migrate(final Context context, int oldVersion, int newVersion);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
DatabaseUpgradeHelper.java 28 public void doOnUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) {
29 Assert.isTrue(newVersion >= oldVersion);
30 if (oldVersion == newVersion) {
34 LogUtil.i(TAG, "Database upgrade started from version " + oldVersion + " to " + newVersion);
36 doUpgradeWithExceptions(db, oldVersion, newVersion);
40 oldVersion + " to version " + newVersion, ex);
46 final int newVersion) throws Exception {
56 checkAndUpdateVersionAtReleaseEnd(currentVersion, Integer.MAX_VALUE, newVersion);
92 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) {
95 oldVersion + " version " + newVersion + ", forcing db rebuild!")
    [all...]
  /frameworks/base/services/core/java/com/android/server/updates/
CertificateTransparencyLogInstallReceiver.java 67 File newVersion = new File(updateDir, LOGDIR_PREFIX + String.valueOf(version));
70 if (newVersion.exists()) {
74 if (newVersion.getCanonicalPath().equals(currentSymlink.getCanonicalPath())) {
79 FileUtils.deleteContentsAndDir(newVersion);
84 newVersion.mkdir();
85 if (!newVersion.isDirectory()) {
86 throw new IOException("Unable to make directory " + newVersion.getCanonicalPath());
88 if (!newVersion.setReadable(true, false)) {
89 throw new IOException("Failed to set " +newVersion.getCanonicalPath() +
99 installLog(newVersion, log)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
BugleApplicationPrefs.java 43 public void onUpgrade(int oldVersion, int newVersion) {
BugleWidgetPrefs.java 39 public void onUpgrade(int oldVersion, int newVersion) {
BuglePrefs.java 54 public abstract void onUpgrade(final int oldVersion, final int newVersion);
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
SearchRecentSuggestionsProvider.java 97 public DatabaseHelper(Context context, int newVersion) {
98 super(context, DATABASE_NAME, null, newVersion);
113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
116 newVersion = newVersion & ~0xff;
117 if (oldVersion == DATABASE_VERSION_2 && newVersion == DATABASE_VERSION_3) {
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
OpenWnnSQLiteOpenHelper.java 42 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
  /frameworks/support/persistence/db-framework/src/main/java/android/arch/persistence/db/framework/
FrameworkSQLiteOpenHelper.java 117 public void onUpgrade(SQLiteDatabase sqLiteDatabase, int oldVersion, int newVersion) {
118 mCallback.onUpgrade(getWrappedDb(sqLiteDatabase), oldVersion, newVersion);
127 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
128 mCallback.onDowngrade(getWrappedDb(db), oldVersion, newVersion);
  /packages/apps/Launcher3/src/com/android/launcher3/util/
SQLiteCacheHelper.java 107 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
108 if (oldVersion != newVersion) {
114 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
115 if (oldVersion != newVersion) {
  /frameworks/base/core/tests/coretests/src/android/app/timezone/
DistroFormatVersionTest.java 52 DistroFormatVersion newVersion = DistroFormatVersion.CREATOR.createFromParcel(parcel);
54 assertEquals(version, newVersion);
DistroRulesVersionTest.java 52 DistroRulesVersion newVersion = DistroRulesVersion.CREATOR.createFromParcel(parcel);
54 assertEquals(version, newVersion);
  /frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/
RoomOpenHelper.java 66 public void onUpgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) {
70 oldVersion, newVersion);
83 + newVersion + " is necessary. Please provide a Migration in the builder or call"
93 public void onDowngrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) {
94 onUpgrade(db, oldVersion, newVersion);
  /packages/apps/Messaging/tests/src/com/android/messaging/util/
FakeBuglePrefs.java 78 public void onUpgrade(int oldVersion, int newVersion) {
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
CarrierDatabaseHelper.java 94 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
95 Log.d(TAG, "dbh.onUpgrade:+ db=" + db + " oldV=" + oldVersion + " newV=" + newVersion);
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DatabaseContentProvider.java 83 * @param newVersion - the new version number as an int
86 protected abstract boolean upgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion);
94 * @param newVersion - the new version number as an int
97 protected abstract boolean downgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion);
144 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
145 upgradeDatabase(db, oldVersion, newVersion);
149 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
150 logger.debug("Enter: onDowngrade() - oldVersion = " + oldVersion + " newVersion = "
151 + newVersion);
152 downgradeDatabase(db, oldVersion, newVersion);
    [all...]
  /frameworks/base/core/java/android/content/
SearchRecentSuggestionsProvider.java 131 public DatabaseHelper(Context context, int newVersion) {
132 super(context, sDatabaseName, null, newVersion);
133 mNewVersion = newVersion;
152 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
154 + newVersion + ", which will destroy all old data");
  /frameworks/support/persistence/db/src/main/java/android/arch/persistence/db/
SupportSQLiteOpenHelper.java 178 * @param newVersion The new database version.
180 public abstract void onUpgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion);
197 * @param newVersion The new database version.
199 public void onDowngrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) {
201 + oldVersion + " to " + newVersion);
  /packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/
OneTimeInitializer.java 70 int newVersion = currentVersion;
77 newVersion = 1;
80 updateMappingVersion(newVersion);
  /development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
75 + newVersion + ", which will destroy all old data");
  /development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
75 + newVersion + ", which will destroy all old data");
  /development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
75 + newVersion + ", which will destroy all old data");
  /development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
75 + newVersion + ", which will destroy all old data");
  /development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
75 + newVersion + ", which will destroy all old data");
  /development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
NotesDbAdapter.java 73 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
75 + newVersion + ", which will destroy all old data");

Completed in 474 milliseconds

1 2 3 4 5 6 7