Home
last modified time | relevance | path

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

/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.java44 private static final int CURRENT_VERSION = 3; field in UsageStatsDatabase
250 if (version != CURRENT_VERSION) { in checkVersionAndBuildLocked()
251 Slog.i(TAG, "Upgrading from version " + version + " to " + CURRENT_VERSION); in checkVersionAndBuildLocked()
255 if (version != CURRENT_VERSION || mNewUpdate) { in checkVersionAndBuildLocked()
257 writer.write(Integer.toString(CURRENT_VERSION)); in checkVersionAndBuildLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java48 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/
DAppWidgetServiceImpl.java149 private static final int CURRENT_VERSION = 1; field in AppWidgetServiceImpl
2801 out.attribute(null, "version", String.valueOf(CURRENT_VERSION)); in writeProfileStateToFileLocked()
3019 if (fromVersion < CURRENT_VERSION) { in performUpgradeLocked()
3021 + CURRENT_VERSION); in performUpgradeLocked()
3043 if (version != CURRENT_VERSION) { in performUpgradeLocked()