Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowData.java36 private static final int CURRENT_VERSION = 2; field in RebootEscrowData
95 case CURRENT_VERSION: { in fromEncryptedData()
122 dos.writeInt(CURRENT_VERSION); in fromSyntheticPassword()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubbleXmlHelper.kt32 private const val CURRENT_VERSION = 2 in <lambda>() constant
56 serializer.attribute(null, ATTR_VERSION, CURRENT_VERSION.toString()) in <lambda>()
103 if (version == CURRENT_VERSION) { in readXml()
/frameworks/base/apex/media/framework/java/android/media/
DMediaCommunicationManager.java63 private static final int CURRENT_VERSION = VERSION_1; field in MediaCommunicationManager
93 return CURRENT_VERSION; in getVersion()
/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.java51 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/
DOverlayManagerSettings.java465 static final int CURRENT_VERSION = 4;
473 if (version != CURRENT_VERSION) {
532 xml.attributeInt(null, ATTR_VERSION, CURRENT_VERSION);
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java294 final int version = OverlayManagerSettings.Serializer.CURRENT_VERSION; in testRestoreEmpty()
306 final int version = OverlayManagerSettings.Serializer.CURRENT_VERSION; in testRestoreSingleUserSingleOverlay()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java55 public static final int CURRENT_VERSION = FIRST_VERSION; field in KeySetManagerService
679 serializer.attributeInt(null, "version", CURRENT_VERSION); in writeKeySetManagerServiceLPr()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java838 private static final int CURRENT_VERSION = 2; field in HistoricalRegistry.Persistence
1261 if (CURRENT_VERSION == 2 && version < CURRENT_VERSION) { in readHistoricalOpsLocked()
1509 serializer.attributeInt(null, ATTR_VERSION, CURRENT_VERSION); in writeHistoricalOpsDLocked()
DDiscreteRegistry.java150 private static final int CURRENT_VERSION = 1; field in DiscreteRegistry
700 out.attributeInt(null, ATTR_VERSION, CURRENT_VERSION); in writeToStream()
749 if (version != CURRENT_VERSION) { in readFromFile()
DAppOpsService.java227 private static final int CURRENT_VERSION = 1; field in AppOpsService
4913 if (oldVersion >= CURRENT_VERSION) { in upgradeLocked()
4916 Slog.d(TAG, "Upgrading app-ops xml from version " + oldVersion + " to " + CURRENT_VERSION); in upgradeLocked()
5074 out.attributeInt(null, "v", CURRENT_VERSION); in writeState()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java157 private static final int CURRENT_VERSION = 1; field in SensorPrivacyService
1075 if (version == CURRENT_VERSION) { in upgradeAndInit()
1101 serializer.attributeInt(null, XML_ATTRIBUTE_VERSION, CURRENT_VERSION); in persistSensorPrivacyStateLocked()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java167 private static final int CURRENT_VERSION = 1; field in AppWidgetServiceImpl
2990 out.attributeInt(null, "version", CURRENT_VERSION); in writeProfileStateToFileLocked()
3170 if (fromVersion < CURRENT_VERSION) { in performUpgradeLocked()
3172 + CURRENT_VERSION); in performUpgradeLocked()
3194 if (version != CURRENT_VERSION) { in performUpgradeLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt57627 Landroid/telephony/mbms/DownloadRequest;->CURRENT_VERSION:I