/frameworks/base/services/core/java/com/android/server/updates/ |
D | CertificateTransparencyLogInstallReceiver.java | 67 File newVersion = new File(updateDir, LOGDIR_PREFIX + String.valueOf(version)); in install() local 70 if (newVersion.exists()) { in install() 74 if (newVersion.getCanonicalPath().equals(currentSymlink.getCanonicalPath())) { in install() 79 FileUtils.deleteContentsAndDir(newVersion); in install() 84 newVersion.mkdir(); in install() 85 if (!newVersion.isDirectory()) { in install() 86 throw new IOException("Unable to make directory " + newVersion.getCanonicalPath()); in install() 88 if (!newVersion.setReadable(true, false)) { in install() 89 throw new IOException("Failed to set " +newVersion.getCanonicalPath() + in install() 99 installLog(newVersion, log); in install() [all …]
|
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/ |
D | RoomOpenHelper.java | 66 public void onUpgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 70 oldVersion, newVersion); in onUpgrade() 83 + newVersion + " is necessary. Please provide a Migration in the builder or call" in onUpgrade() 93 public void onDowngrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 94 onUpgrade(db, oldVersion, newVersion); in onDowngrade()
|
D | InvalidationTracker.java | 464 final long newVersion = versions[tableId]; in checkForInvalidation() local 466 if (currentVersion < newVersion) { in checkForInvalidation() 467 mVersions[index] = newVersion; in checkForInvalidation()
|
/frameworks/support/persistence/db-framework/src/main/java/android/arch/persistence/db/framework/ |
D | FrameworkSQLiteOpenHelper.java | 117 public void onUpgrade(SQLiteDatabase sqLiteDatabase, int oldVersion, int newVersion) { in onUpgrade() argument 118 mCallback.onUpgrade(getWrappedDb(sqLiteDatabase), oldVersion, newVersion); in onUpgrade() local 127 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 128 mCallback.onDowngrade(getWrappedDb(db), oldVersion, newVersion); in onDowngrade() local
|
D | FrameworkSQLiteDatabase.java | 259 public boolean needUpgrade(int newVersion) { 260 return mDelegate.needUpgrade(newVersion);
|
/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 131 public DatabaseHelper(Context context, int newVersion) { in DatabaseHelper() argument 132 super(context, sDatabaseName, null, newVersion); in DatabaseHelper() 133 mNewVersion = newVersion; in DatabaseHelper() 152 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 154 + newVersion + ", which will destroy all old data"); in onUpgrade()
|
/frameworks/support/persistence/db/src/main/java/android/arch/persistence/db/ |
D | SupportSQLiteOpenHelper.java | 180 public abstract void onUpgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade() argument 199 public void onDowngrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 201 + oldVersion + " to " + newVersion); in onDowngrade()
|
D | SupportSQLiteDatabase.java | 416 boolean needUpgrade(int newVersion); in needUpgrade() argument
|
/frameworks/base/core/tests/coretests/src/android/app/timezone/ |
D | DistroRulesVersionTest.java | 52 DistroRulesVersion newVersion = DistroRulesVersion.CREATOR.createFromParcel(parcel); in parcelable() local 54 assertEquals(version, newVersion); in parcelable()
|
D | DistroFormatVersionTest.java | 52 DistroFormatVersion newVersion = DistroFormatVersion.CREATOR.createFromParcel(parcel); in parcelable() local 54 assertEquals(version, newVersion); in parcelable()
|
D | RulesStateTest.java | 117 RulesState newVersion = RulesState.CREATOR.createFromParcel(parcel); in checkParcelableRoundTrip() local 119 assertEquals(rulesState, newVersion); in checkParcelableRoundTrip()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 443 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade() argument 461 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 463 oldVersion + " to " + newVersion); in onDowngrade()
|
D | SQLiteDatabase.java | 1823 public boolean needUpgrade(int newVersion) { in needUpgrade() argument 1824 return newVersion > getVersion(); in needUpgrade()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerProvider.java | 67 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 70 + " to " + newVersion in onUpgrade()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountsDb.java | 241 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 242 Log.i(TAG, "Upgrade CE from version " + oldVersion + " to version " + newVersion); in onUpgrade() 258 if (oldVersion != newVersion) { in onUpgrade() 259 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade() 590 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 591 Log.i(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade() 608 if (oldVersion != newVersion) { in onUpgrade() 609 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade() 1165 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 1166 Log.e(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | PreNTestDatabaseHelper.java | 88 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 104 private void upgradeTuner(int oldVersion, int newVersion) { in upgradeTuner() argument 119 setValue(TUNER_VERSION, newVersion); in upgradeTuner()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | FakeSmsContentProvider.java | 70 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerDbHelper.java | 72 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 2914 final int newVersion = SETTINGS_VERSION; 2917 if (oldVersion == newVersion) { 2922 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); 2925 if (curVersion != newVersion) { 2932 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); 2938 onUpgradeLocked(mUserId, oldVersion, newVersion); 2942 + curVersion + " while expected: " + newVersion; 2952 globalSettings.setVersionLocked(newVersion); 2956 secureSettings.setVersionLocked(newVersion); 2961 systemSettings.setVersionLocked(newVersion); [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | SQLiteOpenHelperTest.java | 69 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | LoaderThrottleSupport.java | 151 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 155 + newVersion + ", which will destroy all old data"); in onUpgrade()
|
/frameworks/support/room/runtime/src/androidTest/java/android/arch/persistence/room/migration/ |
D | TableInfoTest.java | 212 int newVersion) { in createDatabase() argument
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 93 int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 89 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|