/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PolicyVersionUpgrader.java | 88 int currentVersion = oldVersion; in upgradePolicy() local 89 if (currentVersion == 0) { in upgradePolicy() 90 Slog.i(LOG_TAG, String.format("Upgrading from version %d", currentVersion)); in upgradePolicy() 93 currentVersion = 1; in upgradePolicy() 96 if (currentVersion == 1) { in upgradePolicy() 97 Slog.i(LOG_TAG, String.format("Upgrading from version %d", currentVersion)); in upgradePolicy() 99 currentVersion = 2; in upgradePolicy() 102 if (currentVersion == 2) { in upgradePolicy() 103 Slog.i(LOG_TAG, String.format("Upgrading from version %d", currentVersion)); in upgradePolicy() 105 currentVersion = 3; in upgradePolicy() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 3999 int currentVersion = oldVersion; 4002 if (currentVersion == 118) { 4014 currentVersion = 119; 4018 if (currentVersion == 119) { 4026 currentVersion = 120; 4029 if (currentVersion == 120) { 4032 currentVersion = 121; 4035 if (currentVersion == 121) { 4050 currentVersion = 122; 4053 if (currentVersion == 122) { [all …]
|
D | DatabaseHelper.java | 237 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 239 + currentVersion); in onUpgrade() 1838 if (upgradeVersion != currentVersion) { in onUpgrade() 1839 recreateDatabase(db, oldVersion, upgradeVersion, currentVersion); in onUpgrade() 1844 int upgradeVersion, int currentVersion) { in recreateDatabase() argument 1862 String wipeReason = oldVersion + "/" + upgradeVersion + "/" + currentVersion; in recreateDatabase()
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | TunerVersionChecker.java | 92 int currentVersion = Tuner.getTunerVersion(); in supportTunerVersion() local 94 && (getMajorVersion(version) == getMajorVersion(currentVersion)); in supportTunerVersion() 107 int currentVersion = Tuner.getTunerVersion(); in isHigherOrEqualVersionTo() local 108 return currentVersion >= version; in isHigherOrEqualVersionTo()
|
/frameworks/base/services/core/java/com/android/server/signedconfig/ |
D | GlobalSettingsConfigApplicator.java | 123 int currentVersion = getCurrentConfigVersion(); in applyConfig() local 124 if (currentVersion >= config.version) { in applyConfig() 126 + " is older than existing: " + config.version + "<=" + currentVersion); in applyConfig() 132 + config.version + " replacing existing version " + currentVersion); in applyConfig()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 86 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 88 oldVersion + " to " + currentVersion + in onUpgrade()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LocalProvider.java | 84 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument 86 oldVersion + " to " + currentVersion + in onUpgrade()
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | ConfigUpdateInstallReceiver.java | 72 int currentVersion = getCurrentVersion(); in onReceive() local 75 if (!verifyVersion(currentVersion, altVersion)) { in onReceive()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 69 AString currentVersion = getProfilingVersionString(); in isProfilingNeeded() local 70 size_t currentVersionSize = currentVersion.size(); in isProfilingNeeded() 73 if (strcmp(versionString, currentVersion.c_str()) == 0) { in isProfilingNeeded()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 122 int currentVersion = Integer.parseInt(readCurrentVersion()); in getNextVersion() local 123 return Integer.toString(currentVersion + 1); in getNextVersion()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | GlobalResultsStore.java | 383 public void onUpgrade(SQLiteDatabase sqLiteDatabase, int oldVersion, int currentVersion) { in onUpgrade() argument
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 809 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument
|