Home
last modified time | relevance | path

Searched refs:CURRENT_VERSION (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/ExtServices/src/android/ext/services/resolver/
DLRResolverRankerService.java55 private static final int CURRENT_VERSION = 1; field in LRResolverRankerService
109 mParamSharedPref.getInt(VERSION_PREF_KEY, 0) < CURRENT_VERSION) { in initModel()
178 editor.putInt(VERSION_PREF_KEY, CURRENT_VERSION); in commitUpdate()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXml.java31 private static final int CURRENT_VERSION = 1; field in UsageStatsXml
122 xml.attribute(null, VERSION_ATTR, Integer.toString(CURRENT_VERSION)); in write()
DUsageStatsDatabase.java46 private static final int CURRENT_VERSION = 3; field in UsageStatsDatabase
255 if (version != CURRENT_VERSION) { in checkVersionAndBuildLocked()
256 Slog.i(TAG, "Upgrading from version " + version + " to " + CURRENT_VERSION); in checkVersionAndBuildLocked()
260 if (version != CURRENT_VERSION || mNewUpdate) { in checkVersionAndBuildLocked()
262 writer.write(Integer.toString(CURRENT_VERSION)); in checkVersionAndBuildLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAppOpsUpgradeTest.java58 private static final int CURRENT_VERSION = 1; field in AppOpsUpgradeTest
142 assertEquals(CURRENT_VERSION, parser.mVersion); in testUpgradeFromNoVersion()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java51 private static final int CURRENT_VERSION = 1; field in DownloadRequest
108 private int version = CURRENT_VERSION;
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java343 private static final int CURRENT_VERSION = 3; field in OverlayManagerSettings.Serializer
354 if (version != CURRENT_VERSION) { in restore()
407 XmlUtils.writeIntAttribute(xml, ATTR_VERSION, CURRENT_VERSION); in persist()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java50 public static final int CURRENT_VERSION = FIRST_VERSION; field in KeySetManagerService
678 serializer.attribute(null, "version", Integer.toString(CURRENT_VERSION)); in writeKeySetManagerServiceLPr()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java165 private static final int CURRENT_VERSION = 1; field in AppWidgetServiceImpl
2988 out.attribute(null, "version", String.valueOf(CURRENT_VERSION)); in writeProfileStateToFileLocked()
3215 if (fromVersion < CURRENT_VERSION) { in performUpgradeLocked()
3217 + CURRENT_VERSION); in performUpgradeLocked()
3239 if (version != CURRENT_VERSION) { in performUpgradeLocked()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java114 private static final int CURRENT_VERSION = 1; field in AppOpsService
2182 if (oldVersion >= CURRENT_VERSION) { in upgradeLocked()
2185 Slog.d(TAG, "Upgrading app-ops xml from version " + oldVersion + " to " + CURRENT_VERSION); in upgradeLocked()
2396 out.attribute(null, "v", String.valueOf(CURRENT_VERSION)); in writeState()