Searched refs:CURRENT_VERSION (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 59 private static final int CURRENT_VERSION = 1; field in AppOpsUpgradeTest 143 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 | 393 static final int CURRENT_VERSION = 3; field in OverlayManagerSettings.Serializer 404 if (version != CURRENT_VERSION) { in restore() 459 XmlUtils.writeIntAttribute(xml, ATTR_VERSION, CURRENT_VERSION); in persist()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerSettingsTests.java | 346 final int version = OverlayManagerSettings.Serializer.CURRENT_VERSION; in testRestoreEmpty() 358 final int version = OverlayManagerSettings.Serializer.CURRENT_VERSION; in testRestoreSingleUserSingleOverlay()
|
/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/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 709 private static final int CURRENT_VERSION = 2; field in HistoricalRegistry.Persistence 1133 if (CURRENT_VERSION == 2 && version < CURRENT_VERSION) { in readHistoricalOpsLocked() 1343 serializer.attribute(null, ATTR_VERSION, String.valueOf(CURRENT_VERSION)); in writeHistoricalOpsDLocked()
|
D | AppOpsService.java | 141 private static final int CURRENT_VERSION = 1; field in AppOpsService 2797 if (oldVersion >= CURRENT_VERSION) { in upgradeLocked() 2800 Slog.d(TAG, "Upgrading app-ops xml from version " + oldVersion + " to " + CURRENT_VERSION); in upgradeLocked() 2980 out.attribute(null, "v", String.valueOf(CURRENT_VERSION)); in writeState()
|