Home
last modified time | relevance | path

Searched refs:currentVersion (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPolicyVersionUpgrader.java87 int currentVersion = oldVersion; in upgradePolicy() local
88 if (currentVersion == 0) { in upgradePolicy()
89 Slog.i(LOG_TAG, String.format("Upgrading from version %d", currentVersion)); in upgradePolicy()
92 currentVersion = 1; in upgradePolicy()
95 if (currentVersion == 1) { in upgradePolicy()
96 Slog.i(LOG_TAG, String.format("Upgrading from version %d", currentVersion)); in upgradePolicy()
98 currentVersion = 2; in upgradePolicy()
101 if (currentVersion == 2) { in upgradePolicy()
102 Slog.i(LOG_TAG, String.format("Upgrading from version %d", currentVersion)); in upgradePolicy()
104 currentVersion = 3; in upgradePolicy()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java3750 int currentVersion = oldVersion;
3753 if (currentVersion == 118) {
3763 currentVersion = 119;
3767 if (currentVersion == 119) {
3775 currentVersion = 120;
3778 if (currentVersion == 120) {
3781 currentVersion = 121;
3784 if (currentVersion == 121) {
3799 currentVersion = 122;
3802 if (currentVersion == 122) {
[all …]
DDatabaseHelper.java248 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument
250 + currentVersion); in onUpgrade()
1849 if (upgradeVersion != currentVersion) { in onUpgrade()
1850 recreateDatabase(db, oldVersion, upgradeVersion, currentVersion); in onUpgrade()
1855 int upgradeVersion, int currentVersion) { in recreateDatabase() argument
1873 String wipeReason = oldVersion + "/" + upgradeVersion + "/" + currentVersion; in recreateDatabase()
/frameworks/base/media/java/android/media/tv/tuner/
DTunerVersionChecker.java88 int currentVersion = Tuner.getTunerVersion(); in supportTunerVersion() local
90 && (getMajorVersion(version) == getMajorVersion(currentVersion)); in supportTunerVersion()
103 int currentVersion = Tuner.getTunerVersion(); in isHigherOrEqualVersionTo() local
104 return currentVersion >= version; in isHigherOrEqualVersionTo()
/frameworks/base/services/core/java/com/android/server/signedconfig/
DGlobalSettingsConfigApplicator.java123 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/
DMemoryFileProvider.java86 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/
DLocalProvider.java84 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/
DConfigUpdateInstallReceiver.java72 int currentVersion = getCurrentVersion(); in onReceive() local
75 if (!verifyVersion(currentVersion, altVersion)) { in onReceive()
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp68 AString currentVersion = getProfilingVersionString(); in isProfilingNeeded() local
69 size_t currentVersionSize = currentVersion.size(); in isProfilingNeeded()
72 if (strcmp(versionString, currentVersion.c_str()) == 0) { in isProfilingNeeded()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java122 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/
DGlobalResultsStore.java383 public void onUpgrade(SQLiteDatabase sqLiteDatabase, int oldVersion, int currentVersion) { in onUpgrade() argument
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java837 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument