/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PolicyVersionUpgrader.java | 87 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/ |
D | SettingsProvider.java | 3750 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 …]
|
D | DatabaseHelper.java | 248 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/ |
D | TunerVersionChecker.java | 88 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/ |
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 | 68 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/ |
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 | 837 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument
|