/frameworks/base/services/core/java/com/android/server/updates/ |
D | CertificateTransparencyLogInstallReceiver.java | 71 File newVersion = new File(updateDir, LOGDIR_PREFIX + String.valueOf(version)); in install() local 74 if (newVersion.exists()) { in install() 78 if (newVersion.getCanonicalPath().equals(currentSymlink.getCanonicalPath())) { in install() 84 FileUtils.deleteContentsAndDir(newVersion); in install() 89 newVersion.mkdir(); in install() 90 if (!newVersion.isDirectory()) { in install() 91 throw new IOException("Unable to make directory " + newVersion.getCanonicalPath()); in install() 93 if (!newVersion.setReadable(true, false)) { in install() 94 throw new IOException("Failed to set " +newVersion.getCanonicalPath() + in install() 105 installLog(newVersion, log); in install() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbHelper.java | 133 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 140 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 148 if (oldVersion < 3 && newVersion >= 3) { in onUpgrade() 153 if (oldVersion < 4 && newVersion >= 4) { in onUpgrade() 158 if (oldVersion < 5 && newVersion >= 5) { in onUpgrade() 163 if (oldVersion < 6 && newVersion >= 6) { in onUpgrade() 168 if (oldVersion < 7 && newVersion >= 7) { in onUpgrade() 182 if (oldVersion != newVersion) { in onUpgrade()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/ |
D | SQLiteCacheHelper.java | 107 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 108 if (oldVersion != newVersion) { in onUpgrade() 114 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 115 if (oldVersion != newVersion) { in onDowngrade()
|
/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 133 public DatabaseHelper(Context context, int newVersion) { in DatabaseHelper() argument 134 super(context, sDatabaseName, null, newVersion); in DatabaseHelper() 135 mNewVersion = newVersion; in DatabaseHelper() 154 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 156 + newVersion + ", which will destroy all old data"); in onUpgrade()
|
/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 | 246 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 247 Log.i(TAG, "Upgrade CE from version " + oldVersion + " to version " + newVersion); in onUpgrade() 263 if (oldVersion != newVersion) { in onUpgrade() 264 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade() 269 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 602 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 603 Log.i(TAG, "upgrade from version " + oldVersion + " to version " + newVersion); in onUpgrade() 620 if (oldVersion != newVersion) { in onUpgrade() 621 Log.e(TAG, "failed to upgrade version " + oldVersion + " to version " + newVersion); in onUpgrade() 626 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 528 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade() argument 546 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 548 oldVersion + " to " + newVersion); in onDowngrade()
|
D | SQLiteDatabase.java | 2358 public boolean needUpgrade(int newVersion) { in needUpgrade() argument 2359 return newVersion > getVersion(); in needUpgrade()
|
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/ |
D | FakeSatelliteProvider.java | 62 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/ |
D | EabProviderTestable.java | 100 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/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
|
D | FakeTelephonyProvider.java | 151 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 145 private void upgradeTuner(int oldVersion, int newVersion, Handler mainHandler) { in upgradeTuner() argument 170 setValue(TUNER_VERSION, newVersion); in upgradeTuner()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/ |
D | TelephonyAnalyticsUtil.java | 67 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {} in onUpgrade() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | UsageStatsDatabaseTest.java | 433 void runVersionChangeTest(int oldVersion, int newVersion, int interval) throws IOException { in runVersionChangeTest() argument 445 UsageStatsDatabase newDB = new UsageStatsDatabase(mTestDir, newVersion); in runVersionChangeTest() 453 final int minVersion = oldVersion < newVersion ? oldVersion : newVersion; in runVersionChangeTest()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerDbHelper.java | 71 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistReportDbHelper.java | 118 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabProvider.java | 410 public void onUpgrade(SQLiteDatabase sqLiteDatabase, int oldVersion, int newVersion) { in onUpgrade() argument 411 Log.d(TAG, "DB upgrade from " + oldVersion + " to " + newVersion); in onUpgrade()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | SQLiteOpenHelperTest.java | 75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 398 boolean enableForPackage(String packageName, long newVersion, long installedVersion, in enableForPackage() argument 415 new VersionedPackage(packageName, newVersion), in enableForPackage()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 3893 final int newVersion = SETTINGS_VERSION; 3896 if (oldVersion == newVersion) { 3901 final int curVersion = onUpgradeLocked(mUserId, oldVersion, newVersion); 3904 if (curVersion != newVersion) { 3911 dbHelper.recreateDatabase(database, newVersion, curVersion, oldVersion); 3917 onUpgradeLocked(mUserId, oldVersion, newVersion); 3921 + curVersion + " while expected: " + newVersion; 3931 globalSettings.setVersionLocked(newVersion); 3935 secureSettings.setVersionLocked(newVersion); 3940 systemSettings.setVersionLocked(newVersion); [all …]
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 106 int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 95 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 1228 private Computer rebuildSnapshot(@Nullable Computer oldSnapshot, int newVersion) { in rebuildSnapshot() argument 1232 var newSnapshot = new ComputerEngine(args, newVersion); in rebuildSnapshot()
|