Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/storage/
DBubbleXmlHelper.kt29 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/
DRebootEscrowData.java44 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/
DAppOpsUpgradeTest.java67 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/
DDownloadRequest.java52 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/
DOverlayManagerSettings.java403 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/
DOverlayManagerSettingsTests.java346 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/
DKeySetManagerService.java53 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/
DHistoricalRegistry.java768 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()
DAppOpsService.java208 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/
DAppWidgetServiceImpl.java165 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()