Home
last modified time | relevance | path

Searched refs:ATTR_VALUE (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java178 private static final String ATTR_VALUE = "value"; field in ActiveAdmin
519 out.attributeBoolean(null, ATTR_VALUE, isNetworkLoggingEnabled); in writeToXml()
541 out.attribute(null, ATTR_VALUE, entry.getKey()); in writeToXml()
735 out.attribute(null, ATTR_VALUE, value); in writeAttributeValueToXml()
742 out.attributeInt(null, ATTR_VALUE, value); in writeAttributeValueToXml()
749 out.attributeLong(null, ATTR_VALUE, value); in writeAttributeValueToXml()
756 out.attributeBoolean(null, ATTR_VALUE, value); in writeAttributeValueToXml()
765 out.attribute(null, ATTR_VALUE, value); in writeAttributeValuesToXml()
787 mPasswordPolicy.quality = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
789 mPasswordPolicy.length = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
[all …]
DBooleanPolicySerializer.java34 private static final String ATTR_VALUE = "value"; field in BooleanPolicySerializer
41 serializer.attributeBoolean(/* namespace= */ null, ATTR_VALUE, value); in saveToXml()
49 parser.getAttributeBoolean(/* namespace= */ null, ATTR_VALUE)); in readFromXml()
DLongPolicySerializer.java36 private static final String ATTR_VALUE = "value"; field in LongPolicySerializer
41 serializer.attributeLong(/* namespace= */ null, ATTR_VALUE, value); in saveToXml()
49 parser.getAttributeLong(/* namespace= */ null, ATTR_VALUE)); in readFromXml()
DIntegerPolicySerializer.java36 private static final String ATTR_VALUE = "value"; field in IntegerPolicySerializer
41 serializer.attributeInt(/* namespace= */ null, ATTR_VALUE, value); in saveToXml()
49 parser.getAttributeInt(/* namespace= */ null, ATTR_VALUE)); in readFromXml()
DDevicePolicyData.java74 private static final String ATTR_VALUE = "value"; field in DevicePolicyData
316 out.attributeInt(null, ATTR_VALUE, policyData.mLockTaskFeatures); in store()
322 out.attributeBoolean(null, ATTR_VALUE, true); in store()
345 out.attributeLong(null, ATTR_VALUE, policyData.mLastSecurityLogRetrievalTime); in store()
351 out.attributeLong(null, ATTR_VALUE, policyData.mLastBugReportRequestTime); in store()
357 out.attributeLong(null, ATTR_VALUE, policyData.mLastNetworkLogsRetrievalTime); in store()
363 out.attributeBoolean(null, ATTR_VALUE, policyData.mAdminBroadcastPending); in store()
375 out.attributeLong(null, ATTR_VALUE, policyData.mPasswordTokenHandle); in store()
392 out.attributeBoolean(null, ATTR_VALUE, policyData.mAppsSuspended); in store()
398 out.attribute(null, ATTR_VALUE, policyData.mCurrentRoleHolder); in store()
[all …]
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DPersistentSystemFontConfig.java46 private static final String ATTR_VALUE = "value"; field in PersistentSystemFontConfig
76 out.lastModifiedMillis = parseLongAttribute(parser, ATTR_VALUE, 0); in loadFromXml()
79 out.updatedFontDirs.add(getAttribute(parser, ATTR_VALUE)); in loadFromXml()
104 out.attribute(null, ATTR_VALUE, Long.toString(config.lastModifiedMillis)); in writeToXml()
108 out.attribute(null, ATTR_VALUE, dir); in writeToXml()
/frameworks/base/core/java/android/app/admin/
DPreferentialNetworkServiceConfig.java72 private static final String ATTR_VALUE = "value"; field in PreferentialNetworkServiceConfig
419 out.attributeInt(null, ATTR_VALUE, value); in writeAttributeValueToXml()
426 out.attributeBoolean(null, ATTR_VALUE, value); in writeAttributeValueToXml()
435 out.attribute(null, ATTR_VALUE, value); in writeAttributeValuesToXml()
454 result.add(parser.getAttributeValue(null, ATTR_VALUE)); in readAttributeValues()
492 resultBuilder.setEnabled(parser.getAttributeBoolean(null, ATTR_VALUE, in getPreferentialNetworkServiceConfig()
495 int val = parser.getAttributeInt(null, ATTR_VALUE, 0); in getPreferentialNetworkServiceConfig()
501 null, ATTR_VALUE, true)); in getPreferentialNetworkServiceConfig()
504 null, ATTR_VALUE, false)); in getPreferentialNetworkServiceConfig()
DFactoryResetProtectionPolicy.java66 private static final String ATTR_VALUE = "value"; field in FactoryResetProtectionPolicy
223 parser.getAttributeValue(null, ATTR_VALUE)); in readFromXml()
242 out.attribute(null, ATTR_VALUE, account); in writeToXml()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/ide/common/resources/deprecated/
DValueResourceParser.java42 import static com.android.SdkConstants.ATTR_VALUE;
181 String value = attributes.getValue(ATTR_VALUE); in startElement()
201 String value = attributes.getValue(ATTR_VALUE); in startElement()
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java135 private static final String ATTR_VALUE = "value"; field in LowPowerStandbyController
501 identifier = parser.getAttributeValue(null, ATTR_VALUE); in loadPolicy()
504 exemptPackages.add(parser.getAttributeValue(null, ATTR_VALUE)); in loadPolicy()
507 allowedReasons = parser.getAttributeInt(null, ATTR_VALUE); in loadPolicy()
510 allowedFeatures.add(parser.getAttributeValue(null, ATTR_VALUE)); in loadPolicy()
538 out.attribute(null, ATTR_VALUE, value); in writeTagValue()
544 out.attributeInt(null, ATTR_VALUE, value); in writeTagValue()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java148 private static final String ATTR_VALUE = "value"; field in ConfigGenerator
229 String value = xmlPullParser.getAttributeValue(null, ATTR_VALUE); in getEnumMap()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java60 private static final String ATTR_VALUE = "value"; field in ShortcutLauncher
383 ids.add(ShortcutService.parseStringAttribute(parser, ATTR_VALUE)); in loadFromXml()
DShortcutUser.java74 private static final String ATTR_VALUE = "value"; field in ShortcutUser
DShortcutService.java225 private static final String ATTR_VALUE = "value"; field in ShortcutService
942 out.attribute(null, ATTR_VALUE, value); in writeTagValue()
1066 mRawLastResetTime.set(parseLongAttribute(parser, ATTR_VALUE)); in loadBaseStateLocked()
DSettings.java376 private static final String ATTR_VALUE = "value"; field in Settings
4434 String typeName = parser.getAttributeValue(null, ATTR_VALUE);
4460 serializer.attribute(null, ATTR_VALUE, mimeType);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java854 private static final String ATTR_VALUE = "value"; field in PrintSpoolerService.PersistenceManager
1078 serializer.attribute(null, ATTR_VALUE, stringValue); in doWriteStateLocked()
1085 serializer.attribute(null, ATTR_VALUE, intValue); in doWriteStateLocked()
1353 String value = parser.getAttributeValue(null, ATTR_VALUE); in parsePrintJobLocked()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java154 private static final String ATTR_VALUE = "value"; field in SettingsState
1490 setValueAttribute(ATTR_VALUE, ATTR_VALUE_BASE64,
1719 String value = getValueAttribute(parser, ATTR_VALUE, ATTR_VALUE_BASE64);