Home
last modified time | relevance | path

Searched refs:getAttributeValue (Results 1 – 25 of 168) sorted by relevance

1234567

/frameworks/base/core/java/android/util/
DXmlPullAttributes.java46 public String getAttributeValue(int index) { in getAttributeValue() method in XmlPullAttributes
47 return mParser.getAttributeValue(index); in getAttributeValue()
50 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in XmlPullAttributes
51 return mParser.getAttributeValue(namespace, name); in getAttributeValue()
65 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue()
71 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue()
77 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue()
83 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue()
89 getAttributeValue(namespace, attribute), defaultValue); in getAttributeUnsignedIntValue()
94 String s = getAttributeValue(namespace, attribute); in getAttributeFloatValue()
[all …]
DAttributeSet.java110 public String getAttributeValue(int index); in getAttributeValue() method
122 public String getAttributeValue(String namespace, String name); in getAttributeValue() method
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java87 final String name = parser.getAttributeValue(null, "name"); in readFamily()
88 final String lang = parser.getAttributeValue("", "lang"); in readFamily()
89 final String variant = parser.getAttributeValue(null, "variant"); in readFamily()
118 String indexStr = parser.getAttributeValue(null, "index"); in readFont()
121 String weightStr = parser.getAttributeValue(null, "weight"); in readFont()
123 boolean isItalic = "italic".equals(parser.getAttributeValue(null, "style")); in readFont()
124 String fallbackFor = parser.getAttributeValue(null, "fallbackFor"); in readFont()
145 String tagStr = parser.getAttributeValue(null, "tag"); in readAxis()
146 String styleValueStr = parser.getAttributeValue(null, "stylevalue"); in readAxis()
156 String name = parser.getAttributeValue(null, "name"); in readAlias()
[all …]
/frameworks/base/core/java/com/android/server/
DSystemConfig.java554 String gidStr = parser.getAttributeValue(null, "gid"); in readPermissionsFromXml()
569 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
585 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
592 String uidStr = parser.getAttributeValue(null, "uid"); in readPermissionsFromXml()
629 String lname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
630 String lfile = parser.getAttributeValue(null, "file"); in readPermissionsFromXml()
631 String ldependency = parser.getAttributeValue(null, "dependency"); in readPermissionsFromXml()
651 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
657 String notLowRam = parser.getAttributeValue(null, "notLowRam"); in readPermissionsFromXml()
673 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
[all …]
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java124 String value = getAttributeValue(namespace, attribute); in getAttributeListValue()
141 String value = getAttributeValue(namespace, attribute); in getAttributeBooleanValue()
157 String value = getAttributeValue(namespace, attribute); in getAttributeResourceValue()
164 String value = getAttributeValue(namespace, attribute); in getAttributeIntValue()
206 String value = getAttributeValue(namespace, attribute); in getAttributeUnsignedIntValue()
223 String s = getAttributeValue(namespace, attribute); in getAttributeFloatValue()
241 getAttributeValue(index), options, defaultValue); in getAttributeListValue()
246 String value = getAttributeValue(index); in getAttributeBooleanValue()
262 String value = getAttributeValue(index); in getAttributeResourceValue()
275 String value = getAttributeValue(index); in getAttributeUnsignedIntValue()
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java47 parser.getAttributeValue(NS_RESOURCES, "layout_width")); in testDataBindingLayout()
50 parser.getAttributeValue(NS_RESOURCES, "text")); in testDataBindingLayout()
52 parser.getAttributeValue(NS_RESOURCES, "id")); in testDataBindingLayout()
72 parser.getAttributeValue(NS_RESOURCES, "layout_width")); in testNonDataBindingLayout()
75 parser.getAttributeValue(NS_RESOURCES, "text")); in testNonDataBindingLayout()
77 parser.getAttributeValue(NS_RESOURCES, "id")); in testNonDataBindingLayout()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java234 currentImiId = parser.getAttributeValue(null, ATTR_ID); in load()
247 parser.getAttributeValue(null, ATTR_ICON)); in load()
249 parser.getAttributeValue(null, ATTR_LABEL)); in load()
251 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_LOCALE); in load()
253 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_LANGUAGE_TAG); in load()
255 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_MODE); in load()
257 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_EXTRA_VALUE); in load()
259 parser.getAttributeValue(null, ATTR_IS_AUXILIARY))); in load()
261 parser.getAttributeValue(null, ATTR_IS_ASCII_CAPABLE))); in load()
273 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_ID); in load()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java1172 parser.getAttributeValue(null, ATTR_ID)); in parsePrintJobLocked()
1174 String label = parser.getAttributeValue(null, ATTR_LABEL); in parsePrintJobLocked()
1176 final int state = Integer.parseInt(parser.getAttributeValue(null, ATTR_STATE)); in parsePrintJobLocked()
1178 final int appId = Integer.parseInt(parser.getAttributeValue(null, ATTR_APP_ID)); in parsePrintJobLocked()
1180 String tag = parser.getAttributeValue(null, ATTR_TAG); in parsePrintJobLocked()
1182 String creationTime = parser.getAttributeValue(null, ATTR_CREATION_TIME); in parsePrintJobLocked()
1184 String copies = parser.getAttributeValue(null, ATTR_COPIES); in parsePrintJobLocked()
1186 String printerName = parser.getAttributeValue(null, ATTR_PRINTER_NAME); in parsePrintJobLocked()
1189 String progressString = parser.getAttributeValue(null, ATTR_PROGRESS); in parsePrintJobLocked()
1198 CharSequence status = parser.getAttributeValue(null, ATTR_STATUS); in parsePrintJobLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java713 int version = Integer.parseInt(parser.getAttributeValue(null, "version")); in readJobMapImpl()
764 uid = Integer.parseInt(parser.getAttributeValue(null, "uid")); in restoreJobFromXml()
766 String val = parser.getAttributeValue(null, "priority"); in restoreJobFromXml()
770 val = parser.getAttributeValue(null, "flags"); in restoreJobFromXml()
774 val = parser.getAttributeValue(null, "internalFlags"); in restoreJobFromXml()
778 val = parser.getAttributeValue(null, "sourceUserId"); in restoreJobFromXml()
781 val = parser.getAttributeValue(null, "lastSuccessfulRunTime"); in restoreJobFromXml()
784 val = parser.getAttributeValue(null, "lastFailedRunTime"); in restoreJobFromXml()
791 String sourcePackageName = parser.getAttributeValue(null, "sourcePackageName"); in restoreJobFromXml()
792 final String sourceTag = parser.getAttributeValue(null, "sourceTag"); in restoreJobFromXml()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DEriManager.java208 parser.getAttributeValue(null, "VersionNumber")); in loadEriFileFromXml()
210 parser.getAttributeValue(null, "NumberOfEriEntries")); in loadEriFileFromXml()
212 parser.getAttributeValue(null, "EriFileType")); in loadEriFileFromXml()
224 int id = Integer.parseInt(parser.getAttributeValue(null, "Id")); in loadEriFileFromXml()
225 String text = parser.getAttributeValue(null, "CallPromptText"); in loadEriFileFromXml()
234 parser.getAttributeValue(null, "RoamingIndicator")); in loadEriFileFromXml()
235 int iconIndex = Integer.parseInt(parser.getAttributeValue(null, "IconIndex")); in loadEriFileFromXml()
236 int iconMode = Integer.parseInt(parser.getAttributeValue(null, "IconMode")); in loadEriFileFromXml()
237 String eriText = parser.getAttributeValue(null, "EriText"); in loadEriFileFromXml()
239 parser.getAttributeValue(null, "CallPromptId")); in loadEriFileFromXml()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1019 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisByteArrayXml()
1079 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml()
1098 parser.getAttributeValue(null, "value")); in readThisIntArrayXml()
1148 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisLongArrayXml()
1164 array[i] = Long.parseLong(parser.getAttributeValue(null, "value")); in readThisLongArrayXml()
1208 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisDoubleArrayXml()
1224 array[i] = Double.parseDouble(parser.getAttributeValue(null, "value")); in readThisDoubleArrayXml()
1268 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisStringArrayXml()
1284 array[i] = parser.getAttributeValue(null, "value"); in readThisStringArrayXml()
1328 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisBooleanArrayXml()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DVoiceMailConstants.java104 String numeric = parser.getAttributeValue(null, "numeric"); in loadVoiceMail()
105 data[NAME] = parser.getAttributeValue(null, "carrier"); in loadVoiceMail()
106 data[NUMBER] = parser.getAttributeValue(null, "vmnumber"); in loadVoiceMail()
107 data[TAG] = parser.getAttributeValue(null, "vmtag"); in loadVoiceMail()
/frameworks/base/services/core/java/com/android/server/policy/
DShortcutManager.java122 String packageName = parser.getAttributeValue(null, ATTRIBUTE_PACKAGE); in loadShortcuts()
123 String className = parser.getAttributeValue(null, ATTRIBUTE_CLASS); in loadShortcuts()
124 String shortcutName = parser.getAttributeValue(null, ATTRIBUTE_SHORTCUT); in loadShortcuts()
125 String categoryName = parser.getAttributeValue(null, ATTRIBUTE_CATEGORY); in loadShortcuts()
126 String shiftName = parser.getAttributeValue(null, ATTRIBUTE_SHIFT); in loadShortcuts()
/frameworks/base/tools/aapt/
DAaptXml.cpp29 if (tree.getAttributeValue(attrIndex, &value) < 0) { in getStringAttributeAtIndex()
51 if (tree.getAttributeValue(attrIndex, &value) < 0) { in getIntegerAttributeAtIndex()
104 if (tree.getAttributeValue(idx, &value) == BAD_TYPE) { in getResolvedAttribute()
164 if (tree.getAttributeValue(idx, &value) != NO_ERROR) { in getResolvedIntegerAttribute()
188 if (tree.getAttributeValue(idx, outValue) != NO_ERROR) { in getResolvedResourceAttribute()
/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java86 return new EqualsFilter(valueProvider, parser.getAttributeValue(attributeIndex)); in getFilter()
91 return new IsNullFilter(valueProvider, parser.getAttributeValue(attributeIndex)); in getFilter()
97 parser.getAttributeValue(attributeIndex)); in getFilter()
102 return new ContainsFilter(valueProvider, parser.getAttributeValue(attributeIndex)); in getFilter()
108 parser.getAttributeValue(attributeIndex)); in getFilter()
113 return new RegexFilter(valueProvider, parser.getAttributeValue(attributeIndex)); in getFilter()
DPortFilter.java63 String equalsValue = parser.getAttributeValue(null, ATTR_EQUALS);
76 String lowerBoundString = parser.getAttributeValue(null, ATTR_MIN);
77 String upperBoundString = parser.getAttributeValue(null, ATTR_MAX);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java557 String name = parser.getAttributeValue(null, ATTR_NAME); in readLegacyOwnerFileLocked()
558 String packageName = parser.getAttributeValue(null, ATTR_PACKAGE); in readLegacyOwnerFileLocked()
566 String profileOwnerPackageName = parser.getAttributeValue(null, ATTR_PACKAGE); in readLegacyOwnerFileLocked()
567 String profileOwnerName = parser.getAttributeValue(null, ATTR_NAME); in readLegacyOwnerFileLocked()
569 parser.getAttributeValue(null, ATTR_COMPONENT_NAME); in readLegacyOwnerFileLocked()
570 int userId = Integer.parseInt(parser.getAttributeValue(null, ATTR_USERID)); in readLegacyOwnerFileLocked()
865 parser.getAttributeValue(null, ATTR_USERID); in readInner()
883 String startDate = parser.getAttributeValue(null, ATTR_FREEZE_RECORD_START); in readInner()
884 String endDate = parser.getAttributeValue(null, ATTR_FREEZE_RECORD_END); in readInner()
999 final String packageName = parser.getAttributeValue(null, ATTR_PACKAGE); in readFromXml()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java49 String name = parser.getAttributeValue(null, "name"); in processExcludedDeviceNames()
103 String inputPort = parser.getAttributeValue(null, "input"); in processInputPortAssociations()
104 String displayPort = parser.getAttributeValue(null, "display"); in processInputPortAssociations()
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintUserState.java154 String name = parser.getAttributeValue(null, ATTR_NAME); in parseBiometricsLocked()
155 String groupId = parser.getAttributeValue(null, ATTR_GROUP_ID); in parseBiometricsLocked()
156 String fingerId = parser.getAttributeValue(null, ATTR_FINGER_ID); in parseBiometricsLocked()
157 String deviceId = parser.getAttributeValue(null, ATTR_DEVICE_ID); in parseBiometricsLocked()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteXmlPullParserAdapter.java195 public String getAttributeValue(int index) throws RemoteException { in getAttributeValue() method in RemoteXmlPullParserAdapter
196 return mDelegate.getAttributeValue(index); in getAttributeValue()
200 public String getAttributeValue(String namespace, String name) throws RemoteException { in getAttributeValue() method in RemoteXmlPullParserAdapter
201 return mDelegate.getAttributeValue(namespace, name); in getAttributeValue()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1465 String packageName = parser.getAttributeValue(null, ATTR_PACKAGE_NAME); in readDefaultAppsLPw()
1490 String packageName = parser.getAttributeValue(null, ATTR_PACKAGE_NAME); in readBlockUninstallPackagesLPw()
1598 String name = parser.getAttributeValue(null, ATTR_NAME); in readPackageRestrictionsLPr()
1618 final String blockedStr = parser.getAttributeValue(null, ATTR_BLOCKED); in readPackageRestrictionsLPr()
1621 final String hiddenStr = parser.getAttributeValue(null, ATTR_HIDDEN); in readPackageRestrictionsLPr()
1629 String suspendingPackage = parser.getAttributeValue(null, in readPackageRestrictionsLPr()
1631 final String dialogMessage = parser.getAttributeValue(null, in readPackageRestrictionsLPr()
1645 final String enabledCaller = parser.getAttributeValue(null, in readPackageRestrictionsLPr()
1648 parser.getAttributeValue(null, ATTR_HARMFUL_APP_WARNING); in readPackageRestrictionsLPr()
1785 String componentName = parser.getAttributeValue(null, ATTR_NAME); in readComponentsLPr()
[all …]
DPackageSignatures.java112 String countStr = parser.getAttributeValue(null, "count"); in readXml()
122 String schemeVersionStr = parser.getAttributeValue(null, "schemeVersion"); in readXml()
172 String index = parser.getAttributeValue(null, "index"); in readCertsListXml()
177 String key = parser.getAttributeValue(null, "key"); in readCertsListXml()
221 String flagsStr = parser.getAttributeValue(null, "flags"); in readCertsListXml()
264 String countStr = parser.getAttributeValue(null, "count"); in readCertsListXml()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java296 name = attrs.getAttributeValue(null, "class"); in createViewFromTag()
408 name = attrs.getAttributeValue(null, "class"); in loadCustomView()
445 String scrollPosX = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollX"); in setupViewInContext()
450 String scrollPosY = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollY"); in setupViewInContext()
469 String attrVal = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext()
477 String minValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "minValue"); in setupViewInContext()
481 String maxValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "maxValue"); in setupViewInContext()
498 String visibility = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext()
/frameworks/base/core/java/android/app/admin/
DSystemUpdateInfo.java140 final String buildFingerprint = parser.getAttributeValue(null, ATTR_ORIGINAL_BUILD ); in readFromXml()
145 Long.parseLong(parser.getAttributeValue(null, ATTR_RECEIVED_TIME)); in readFromXml()
147 Integer.parseInt(parser.getAttributeValue(null, ATTR_SECURITY_PATCH_STATE)); in readFromXml()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java626 String brightness = parser.getAttributeValue(null, ATTR_NITS); in readEventsLocked()
628 String timestamp = parser.getAttributeValue(null, ATTR_TIMESTAMP); in readEventsLocked()
630 builder.setPackageName(parser.getAttributeValue(null, ATTR_PACKAGE_NAME)); in readEventsLocked()
631 String user = parser.getAttributeValue(null, ATTR_USER); in readEventsLocked()
633 String batteryLevel = parser.getAttributeValue(null, ATTR_BATTERY_LEVEL); in readEventsLocked()
635 String nightMode = parser.getAttributeValue(null, ATTR_NIGHT_MODE); in readEventsLocked()
638 parser.getAttributeValue(null, ATTR_COLOR_TEMPERATURE); in readEventsLocked()
640 String lastBrightness = parser.getAttributeValue(null, ATTR_LAST_NITS); in readEventsLocked()
643 String luxValue = parser.getAttributeValue(null, ATTR_LUX); in readEventsLocked()
644 String luxTimestamp = parser.getAttributeValue(null, ATTR_LUX_TIMESTAMPS); in readEventsLocked()
[all …]

1234567