/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/storage/ |
D | BubbleXmlHelper.kt | 29 private const val CURRENT_VERSION = 1 in <lambda>() constant 51 serializer.attribute(null, ATTR_VERSION, CURRENT_VERSION.toString()) in <lambda>() 88 if (version != null && version == CURRENT_VERSION) { in readXml()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowData.java | 44 private static final int CURRENT_VERSION = 1; field in RebootEscrowData 91 if (version != CURRENT_VERSION) { in fromEncryptedData() 146 dos.writeInt(CURRENT_VERSION); in fromSyntheticPassword()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 67 private static final int CURRENT_VERSION = 1; field in AppOpsUpgradeTest 165 assertEquals(CURRENT_VERSION, parser.mVersion); in testUpgradeFromNoVersion()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | DownloadRequest.java | 52 private static final int CURRENT_VERSION = 1; field in DownloadRequest 109 private int version = CURRENT_VERSION;
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 403 static final int CURRENT_VERSION = 4; field in OverlayManagerSettings.Serializer 414 if (version != CURRENT_VERSION) { in restore() 473 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 | 53 public static final int CURRENT_VERSION = FIRST_VERSION; field in KeySetManagerService 676 serializer.attribute(null, "version", Integer.toString(CURRENT_VERSION)); in writeKeySetManagerServiceLPr()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 768 private static final int CURRENT_VERSION = 2; field in HistoricalRegistry.Persistence 1192 if (CURRENT_VERSION == 2 && version < CURRENT_VERSION) { in readHistoricalOpsLocked() 1440 serializer.attribute(null, ATTR_VERSION, String.valueOf(CURRENT_VERSION)); in writeHistoricalOpsDLocked()
|
D | AppOpsService.java | 208 private static final int CURRENT_VERSION = 1; field in AppOpsService 4141 if (oldVersion >= CURRENT_VERSION) { in upgradeLocked() 4144 Slog.d(TAG, "Upgrading app-ops xml from version " + oldVersion + " to " + CURRENT_VERSION); in upgradeLocked() 4303 out.attribute(null, "v", String.valueOf(CURRENT_VERSION)); in writeState()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 165 private static final int CURRENT_VERSION = 1; field in AppWidgetServiceImpl 3077 out.attribute(null, "version", String.valueOf(CURRENT_VERSION)); in writeProfileStateToFileLocked() 3277 if (fromVersion < CURRENT_VERSION) { in performUpgradeLocked() 3279 + CURRENT_VERSION); in performUpgradeLocked() 3301 if (version != CURRENT_VERSION) { in performUpgradeLocked()
|