/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/tests/servicestests/src/com/android/server/ |
D | AppOpsUpgradeTest.java | 58 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/ |
D | DownloadRequest.java | 51 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/ |
D | OverlayManagerSettings.java | 343 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/ |
D | KeySetManagerService.java | 50 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/ |
D | AppWidgetServiceImpl.java | 165 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/ |
D | AppOpsService.java | 114 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()
|