Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/util/
DXmlPullAttributes.java40 public String getAttributeValue(int index) { in getAttributeValue() method in XmlPullAttributes
41 return mParser.getAttributeValue(index); in getAttributeValue()
44 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in XmlPullAttributes
45 return mParser.getAttributeValue(namespace, name); in getAttributeValue()
59 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue()
65 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue()
71 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue()
77 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue()
83 getAttributeValue(namespace, attribute), defaultValue); in getAttributeUnsignedIntValue()
88 String s = getAttributeValue(namespace, attribute); in getAttributeFloatValue()
[all …]
DAttributeSet.java61 public String getAttributeValue(int index); in getAttributeValue() method
62 public String getAttributeValue(String namespace, String name); in getAttributeValue() method
DTimeUtils.java70 String code = parser.getAttributeValue(null, "code"); in getTimeZone()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DVoiceMailConstants.java101 String numeric = parser.getAttributeValue(null, "numeric"); in loadVoiceMail()
102 data[NAME] = parser.getAttributeValue(null, "carrier"); in loadVoiceMail()
103 data[NUMBER] = parser.getAttributeValue(null, "vmnumber"); in loadVoiceMail()
104 data[TAG] = parser.getAttributeValue(null, "vmtag"); in loadVoiceMail()
DSpnOverride.java66 String numeric = parser.getAttributeValue(null, "numeric"); in loadSpnOverrides()
67 String data = parser.getAttributeValue(null, "spn"); in loadSpnOverrides()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DEriManager.java182 parser.getAttributeValue(null, "VersionNumber")); in loadEriFileFromXml()
184 parser.getAttributeValue(null, "NumberOfEriEntries")); in loadEriFileFromXml()
186 parser.getAttributeValue(null, "EriFileType")); in loadEriFileFromXml()
198 int id = Integer.parseInt(parser.getAttributeValue(null, "Id")); in loadEriFileFromXml()
199 String text = parser.getAttributeValue(null, "CallPromptText"); in loadEriFileFromXml()
208 parser.getAttributeValue(null, "RoamingIndicator")); in loadEriFileFromXml()
209 int iconIndex = Integer.parseInt(parser.getAttributeValue(null, "IconIndex")); in loadEriFileFromXml()
210 int iconMode = Integer.parseInt(parser.getAttributeValue(null, "IconMode")); in loadEriFileFromXml()
211 String eriText = parser.getAttributeValue(null, "EriText"); in loadEriFileFromXml()
213 parser.getAttributeValue(null, "CallPromptId")); in loadEriFileFromXml()
[all …]
/frameworks/base/core/java/com/google/android/util/
DSimplePullParser.java159 sb.append(mParser.getAttributeValue(i)); in nextTagOrText()
266 String value = mParser.getAttributeValue(namespace, name); in getStringAttribute()
280 String value = mParser.getAttributeValue(namespace, name); in getStringAttribute()
300 String value = mParser.getAttributeValue(namespace, name); in getIntAttribute()
337 String value = mParser.getAttributeValue(namespace, name); in getLongAttribute()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeXmlPullAttributes.java85 String value = getAttributeValue(index); in getAttributeResourceValue()
96 String value = getAttributeValue(namespace, attribute); in getAttributeResourceValue()
DBridgeXmlBlockParser.java213 public String getAttributeValue(int index) { in getAttributeValue() method in BridgeXmlBlockParser
214 return mParser.getAttributeValue(index); in getAttributeValue()
229 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in BridgeXmlBlockParser
230 return mParser.getAttributeValue(namespace, name); in getAttributeValue()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java596 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml()
614 parser.getAttributeValue(null, "value")); in readThisIntArrayXml()
684 final String valueName = parser.getAttributeValue(null, "name"); in readThisValueXml()
715 res = Integer.parseInt(parser.getAttributeValue(null, "value")); in readThisValueXml()
717 res = Long.valueOf(parser.getAttributeValue(null, "value")); in readThisValueXml()
719 res = new Float(parser.getAttributeValue(null, "value")); in readThisValueXml()
721 res = new Double(parser.getAttributeValue(null, "value")); in readThisValueXml()
723 res = Boolean.valueOf(parser.getAttributeValue(null, "value")); in readThisValueXml()
/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java75 final String authority = parser.getAttributeValue(null, "authority"); in createFromXml()
76 final String accountType = parser.getAttributeValue(null, "accountType"); in createFromXml()
DIntentFilter.java1213 String name = parser.getAttributeValue(null, NAME_STR); in readFromXml()
1218 String name = parser.getAttributeValue(null, NAME_STR); in readFromXml()
1223 String name = parser.getAttributeValue(null, NAME_STR); in readFromXml()
1231 String name = parser.getAttributeValue(null, NAME_STR); in readFromXml()
1236 String host = parser.getAttributeValue(null, HOST_STR); in readFromXml()
1237 String port = parser.getAttributeValue(null, PORT_STR); in readFromXml()
1242 String path = parser.getAttributeValue(null, LITERAL_STR); in readFromXml()
1245 } else if ((path=parser.getAttributeValue(null, PREFIX_STR)) != null) { in readFromXml()
1247 } else if ((path=parser.getAttributeValue(null, SGLOB_STR)) != null) { in readFromXml()
DSyncStorageEngine.java1084 String listen = parser.getAttributeValue( in readAccountInfoLocked()
1096 id = Integer.parseInt(parser.getAttributeValue( in readAccountInfoLocked()
1102 String accountName = parser.getAttributeValue( in readAccountInfoLocked()
1104 String accountType = parser.getAttributeValue( in readAccountInfoLocked()
1109 String authorityName = parser.getAttributeValue( in readAccountInfoLocked()
1111 String enabled = parser.getAttributeValue( in readAccountInfoLocked()
1113 String syncable = parser.getAttributeValue(null, "syncable"); in readAccountInfoLocked()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/
DMetaDataTest.java72 final String rawAttr = xml.getAttributeValue(null, "rawText"); in checkMetaData()
78 final String rawColorStrAttr = xml.getAttributeValue(null, "rawColor"); in checkMetaData()
85 final String colorStrAttr = xml.getAttributeValue(nameSpace, "color"); in checkMetaData()
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java169 arrayName = parser.getAttributeValue(null, ATTR_NAME); in readPowerValuesFromXml()
172 if (!parsingArray) name = parser.getAttributeValue(null, ATTR_NAME); in readPowerValuesFromXml()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java199 public String getAttributeValue(int index) { in getAttributeValue() method in XmlBlock.Parser
222 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in XmlBlock.Parser
230 + ", Value=" + getAttributeValue(idx)); in getAttributeValue()
231 return getAttributeValue(idx); in getAttributeValue()
/frameworks/base/core/java/android/accounts/
DAccountAuthenticatorCache.java82 return AuthenticatorDescription.newKey(parser.getAttributeValue(null, "type")); in createFromXml()
/frameworks/base/services/java/com/android/server/
DPackageManagerService.java727 String gidStr = parser.getAttributeValue(null, "gid"); in readPermissionsFromXml()
739 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
750 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
757 String uidStr = parser.getAttributeValue(null, "uid"); in readPermissionsFromXml()
782 String lname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
783 String lfile = parser.getAttributeValue(null, "file"); in readPermissionsFromXml()
798 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml()
846 String gidStr = parser.getAttributeValue(null, "gid"); in readPermission()
5423 String countStr = parser.getAttributeValue(null, "count"); in readXml()
5447 String index = parser.getAttributeValue(null, "index"); in readXml()
[all …]
DWallpaperManagerService.java560 mWidth = Integer.parseInt(parser.getAttributeValue(null, "width")); in loadSettingsLocked()
561 mHeight = Integer.parseInt(parser.getAttributeValue(null, "height")); in loadSettingsLocked()
562 mName = parser.getAttributeValue(null, "name"); in loadSettingsLocked()
563 String comp = parser.getAttributeValue(null, "component"); in loadSettingsLocked()
DAppWidgetService.java927 String pkg = parser.getAttributeValue(null, "pkg"); in readStateFromFileLocked()
928 String cl = parser.getAttributeValue(null, "cl"); in readStateFromFileLocked()
949 host.packageName = parser.getAttributeValue(null, "pkg"); in readStateFromFileLocked()
959 parser.getAttributeValue(null, "id"), 16); in readStateFromFileLocked()
965 id.appWidgetId = Integer.parseInt(parser.getAttributeValue(null, "id"), 16); in readStateFromFileLocked()
970 String providerString = parser.getAttributeValue(null, "p"); in readStateFromFileLocked()
988 int hIndex = Integer.parseInt(parser.getAttributeValue(null, "h"), 16); in readStateFromFileLocked()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DGDataParseTest.java75 parser.getAttributeValue(i); in dumpXml()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DBridgeInflater.java193 name = attrs.getAttributeValue(null, "class"); in loadCustomView()
/frameworks/base/tools/aapt/
DCommand.cpp244 if (tree.getAttributeValue(idx, &value) != NO_ERROR) { in getAttribute()
262 if (tree.getAttributeValue(idx, &value) != NO_ERROR) { in getAttribute()
281 if (tree.getAttributeValue(idx, &value) != NO_ERROR) { in getIntegerAttribute()
299 if (tree.getAttributeValue(idx, &value) != NO_ERROR) { in getResolvedAttribute()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java610 String pkg = parser.getAttributeValue(null, "package"); in loadBookmarks()
611 String cls = parser.getAttributeValue(null, "class"); in loadBookmarks()
612 String shortcutStr = parser.getAttributeValue(null, "shortcut"); in loadBookmarks()
/frameworks/base/core/java/android/text/
DAutoText.java180 String src = parser.getAttributeValue(null, "src"); in init()

12