Searched refs:CURRENT_VERSION (Results 1 – 4 of 4) sorted by relevance
31 private static final int CURRENT_VERSION = 1; field in UsageStatsXml122 xml.attribute(null, VERSION_ATTR, Integer.toString(CURRENT_VERSION)); in write()
44 private static final int CURRENT_VERSION = 3; field in UsageStatsDatabase250 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()
48 public static final int CURRENT_VERSION = FIRST_VERSION; field in KeySetManagerService641 serializer.attribute(null, "version", Integer.toString(CURRENT_VERSION)); in writeKeySetManagerServiceLPr()
149 private static final int CURRENT_VERSION = 1; field in AppWidgetServiceImpl2801 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()