Searched refs:CURRENT_VERSION (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/ExtServices/src/android/ext/services/resolver/ |
D | LRResolverRankerService.java | 55 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/ |
D | UsageStatsXml.java | 31 private static final int CURRENT_VERSION = 1; field in UsageStatsXml 122 xml.attribute(null, VERSION_ATTR, Integer.toString(CURRENT_VERSION)); in write()
|
D | UsageStatsDatabase.java | 46 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/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 322 private static final int CURRENT_VERSION = 3; field in OverlayManagerSettings.Serializer 333 if (version != CURRENT_VERSION) { in restore() 385 XmlUtils.writeIntAttribute(xml, ATTR_VERSION, CURRENT_VERSION); in persist()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetManagerService.java | 48 public static final int CURRENT_VERSION = FIRST_VERSION; field in KeySetManagerService 641 serializer.attribute(null, "version", Integer.toString(CURRENT_VERSION)); in writeKeySetManagerServiceLPr()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 159 private static final int CURRENT_VERSION = 1; field in AppWidgetServiceImpl 2919 out.attribute(null, "version", String.valueOf(CURRENT_VERSION)); in writeProfileStateToFileLocked() 3137 if (fromVersion < CURRENT_VERSION) { in performUpgradeLocked() 3139 + CURRENT_VERSION); in performUpgradeLocked() 3161 if (version != CURRENT_VERSION) { in performUpgradeLocked()
|