Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/util/
DXmlPullAttributes.java41 public String getAttributeValue(int index) { in getAttributeValue() method in XmlPullAttributes
42 return mParser.getAttributeValue(index); in getAttributeValue()
45 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in XmlPullAttributes
46 return mParser.getAttributeValue(namespace, name); in getAttributeValue()
60 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue()
66 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue()
72 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue()
78 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue()
84 getAttributeValue(namespace, attribute), defaultValue); in getAttributeUnsignedIntValue()
89 String s = getAttributeValue(namespace, attribute); in getAttributeFloatValue()
[all …]
DAttributeSet.java84 public String getAttributeValue(int index); in getAttributeValue() method
96 public String getAttributeValue(String namespace, String name); in getAttributeValue() method
/frameworks/base/media/java/android/media/videoeditor/
DVideoEditorImpl.java986 mAspectRatio = Integer.parseInt(parser.getAttributeValue("", in load()
990 Boolean.parseBoolean(parser.getAttributeValue("", in load()
994 final String mediaItemId = parser.getAttributeValue("", ATTR_ID); in load()
1035 parser.getAttributeValue(i)); in load()
1046 Boolean.parseBoolean(parser.getAttributeValue("", in load()
1049 final String filename = parser.getAttributeValue("", in load()
1120 final String mediaItemId = parser.getAttributeValue("", ATTR_ID); in parseMediaItem()
1121 final String type = parser.getAttributeValue("", ATTR_TYPE); in parseMediaItem()
1122 final String filename = parser.getAttributeValue("", ATTR_FILENAME); in parseMediaItem()
1123 final int renderingMode = Integer.parseInt(parser.getAttributeValue("", in parseMediaItem()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java84 String value = getAttributeValue(namespace, attribute); in getAttributeListValue()
101 String value = getAttributeValue(namespace, attribute); in getAttributeBooleanValue()
117 String value = getAttributeValue(namespace, attribute); in getAttributeResourceValue()
125 String value = getAttributeValue(namespace, attribute); in getAttributeIntValue()
142 String value = getAttributeValue(namespace, attribute); in getAttributeUnsignedIntValue()
159 String s = getAttributeValue(namespace, attribute); in getAttributeFloatValue()
177 getAttributeValue(index), options, defaultValue); in getAttributeListValue()
182 String value = getAttributeValue(index); in getAttributeBooleanValue()
198 String value = getAttributeValue(index); in getAttributeResourceValue()
205 String value = getAttributeValue(index); in getAttributeIntValue()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DEriManager.java184 parser.getAttributeValue(null, "VersionNumber")); in loadEriFileFromXml()
186 parser.getAttributeValue(null, "NumberOfEriEntries")); in loadEriFileFromXml()
188 parser.getAttributeValue(null, "EriFileType")); in loadEriFileFromXml()
200 int id = Integer.parseInt(parser.getAttributeValue(null, "Id")); in loadEriFileFromXml()
201 String text = parser.getAttributeValue(null, "CallPromptText"); in loadEriFileFromXml()
210 parser.getAttributeValue(null, "RoamingIndicator")); in loadEriFileFromXml()
211 int iconIndex = Integer.parseInt(parser.getAttributeValue(null, "IconIndex")); in loadEriFileFromXml()
212 int iconMode = Integer.parseInt(parser.getAttributeValue(null, "IconMode")); in loadEriFileFromXml()
213 String eriText = parser.getAttributeValue(null, "EriText"); in loadEriFileFromXml()
215 parser.getAttributeValue(null, "CallPromptId")); in loadEriFileFromXml()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DVoiceMailConstants.java102 String numeric = parser.getAttributeValue(null, "numeric"); in loadVoiceMail()
103 data[NAME] = parser.getAttributeValue(null, "carrier"); in loadVoiceMail()
104 data[NUMBER] = parser.getAttributeValue(null, "vmnumber"); in loadVoiceMail()
105 data[TAG] = parser.getAttributeValue(null, "vmtag"); in loadVoiceMail()
DSpnOverride.java82 String numeric = parser.getAttributeValue(null, "numeric"); in loadSpnOverrides()
83 String data = parser.getAttributeValue(null, "spn"); in loadSpnOverrides()
/frameworks/base/services/java/com/android/server/pm/
DSettings.java806 String name = parser.getAttributeValue(null, ATTR_NAME); in readPackageRestrictionsLPr()
814 String enabledStr = parser.getAttributeValue(null, ATTR_ENABLED); in readPackageRestrictionsLPr()
818 String stoppedStr = parser.getAttributeValue(null, ATTR_STOPPED); in readPackageRestrictionsLPr()
821 String notLaunchedStr = parser.getAttributeValue(null, ATTR_NOT_LAUNCHED); in readPackageRestrictionsLPr()
880 String componentName = parser.getAttributeValue(null, ATTR_NAME); in readComponentsLPr()
1068 String name = parser.getAttributeValue(null, ATTR_NAME); in readStoppedLPw()
1072 if ("1".equals(parser.getAttributeValue(null, ATTR_NOT_LAUNCHED))) { in readStoppedLPw()
1531 String name = parser.getAttributeValue(null, ATTR_NAME); in readLPw()
1536 String nname = parser.getAttributeValue(null, "new"); in readLPw()
1537 String oname = parser.getAttributeValue(null, "old"); in readLPw()
[all …]
DPackageSignatures.java80 String countStr = parser.getAttributeValue(null, "count"); in readXml()
104 String index = parser.getAttributeValue(null, "index"); in readXml()
108 String key = parser.getAttributeValue(null, "key"); in readXml()
DUserManager.java166 String id = parser.getAttributeValue(null, ATTR_ID); in readUserListLocked()
308 String storedId = parser.getAttributeValue(null, ATTR_ID); in readUser()
313 String flagString = parser.getAttributeValue(null, ATTR_FLAGS); in readUser()
/frameworks/base/services/java/com/android/server/
DDevicePolicyManagerService.java304 parser.getAttributeValue(null, "value")); in readFromXml()
307 parser.getAttributeValue(null, "value")); in readFromXml()
310 parser.getAttributeValue(null, "value")); in readFromXml()
313 parser.getAttributeValue(null, "value")); in readFromXml()
316 parser.getAttributeValue(null, "value")); in readFromXml()
319 parser.getAttributeValue(null, "value")); in readFromXml()
322 parser.getAttributeValue(null, "value")); in readFromXml()
325 parser.getAttributeValue(null, "value")); in readFromXml()
328 parser.getAttributeValue(null, "value")); in readFromXml()
331 parser.getAttributeValue(null, "value")); in readFromXml()
[all …]
DPreferredComponent.java89 mShortComponent = parser.getAttributeValue(null, "name"); in PreferredComponent()
94 String matchStr = parser.getAttributeValue(null, "match"); in PreferredComponent()
96 String setCountStr = parser.getAttributeValue(null, "set"); in PreferredComponent()
119 String name = parser.getAttributeValue(null, "name"); in PreferredComponent()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java71 final String rawAttr = xml.getAttributeValue(null, "rawText"); in checkMetaData()
77 final String rawColorStrAttr = xml.getAttributeValue(null, "rawColor"); in checkMetaData()
84 final String colorStrAttr = xml.getAttributeValue(nameSpace, "color"); in checkMetaData()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java685 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml()
703 parser.getAttributeValue(null, "value")); in readThisIntArrayXml()
773 final String valueName = parser.getAttributeValue(null, "name"); in readThisValueXml()
804 res = Integer.parseInt(parser.getAttributeValue(null, "value")); in readThisValueXml()
806 res = Long.valueOf(parser.getAttributeValue(null, "value")); in readThisValueXml()
808 res = new Float(parser.getAttributeValue(null, "value")); in readThisValueXml()
810 res = new Double(parser.getAttributeValue(null, "value")); in readThisValueXml()
812 res = Boolean.valueOf(parser.getAttributeValue(null, "value")); in readThisValueXml()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeLayoutParamsMapAttributes.java41 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in BridgeLayoutParamsMapAttributes
64 public String getAttributeValue(int index) { in getAttributeValue() method in BridgeLayoutParamsMapAttributes
DBridgeXmlBlockParser.java265 public String getAttributeValue(int index) { in getAttributeValue() method in BridgeXmlBlockParser
266 return mParser.getAttributeValue(index); in getAttributeValue()
285 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in BridgeXmlBlockParser
286 return mParser.getAttributeValue(namespace, name); in getAttributeValue()
/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java87 final String authority = parser.getAttributeValue(null, "authority"); in createFromXml()
88 final String accountType = parser.getAttributeValue(null, "accountType"); in createFromXml()
DIntentFilter.java1218 String name = parser.getAttributeValue(null, NAME_STR); in readFromXml()
1223 String name = parser.getAttributeValue(null, NAME_STR); in readFromXml()
1228 String name = parser.getAttributeValue(null, NAME_STR); in readFromXml()
1236 String name = parser.getAttributeValue(null, NAME_STR); in readFromXml()
1241 String host = parser.getAttributeValue(null, HOST_STR); in readFromXml()
1242 String port = parser.getAttributeValue(null, PORT_STR); in readFromXml()
1247 String path = parser.getAttributeValue(null, LITERAL_STR); in readFromXml()
1250 } else if ((path=parser.getAttributeValue(null, PREFIX_STR)) != null) { in readFromXml()
1252 } else if ((path=parser.getAttributeValue(null, SGLOB_STR)) != null) { in readFromXml()
DSyncStorageEngine.java1488 String listen = parser.getAttributeValue(null, XML_ATTR_LISTEN_FOR_TICKLES); in readAccountInfoLocked()
1489 String versionString = parser.getAttributeValue(null, "version"); in readAccountInfoLocked()
1496 String nextIdString = parser.getAttributeValue(null, XML_ATTR_NEXT_AUTHORITY_ID); in readAccountInfoLocked()
1503 String offsetString = parser.getAttributeValue(null, XML_ATTR_SYNC_RANDOM_OFFSET); in readAccountInfoLocked()
1612 String user = parser.getAttributeValue(null, XML_ATTR_USER); in parseListenForTickles()
1621 String enabled = parser.getAttributeValue(null, XML_ATTR_ENABLED); in parseListenForTickles()
1630 id = Integer.parseInt(parser.getAttributeValue( in parseAuthority()
1638 String authorityName = parser.getAttributeValue(null, "authority"); in parseAuthority()
1639 String enabled = parser.getAttributeValue(null, XML_ATTR_ENABLED); in parseAuthority()
1640 String syncable = parser.getAttributeValue(null, "syncable"); in parseAuthority()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java183 arrayName = parser.getAttributeValue(null, ATTR_NAME); in readPowerValuesFromXml()
186 if (!parsingArray) name = parser.getAttributeValue(null, ATTR_NAME); in readPowerValuesFromXml()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java200 public String getAttributeValue(int index) { in getAttributeValue() method in XmlBlock.Parser
223 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in XmlBlock.Parser
231 + ", Value=" + getAttributeValue(idx)); in getAttributeValue()
232 return getAttributeValue(idx); in getAttributeValue()
/frameworks/base/services/java/com/android/server/input/
DPersistentDataStore.java243 String descriptor = parser.getAttributeValue(null, "descriptor"); in loadInputDevicesFromXml()
373 String descriptor = parser.getAttributeValue(null, "descriptor"); in loadFromXml()
378 String current = parser.getAttributeValue(null, "current"); in loadFromXml()
/frameworks/base/core/java/android/accounts/
DAccountAuthenticatorCache.java87 return AuthenticatorDescription.newKey(parser.getAttributeValue(null, "type")); in createFromXml()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java1011 String activity = parser.getAttributeValue(null, ATTRIBUTE_ACTIVITY); in readHistoricalDataImpl()
1013 Long.parseLong(parser.getAttributeValue(null, ATTRIBUTE_TIME)); in readHistoricalDataImpl()
1015 Float.parseFloat(parser.getAttributeValue(null, ATTRIBUTE_WEIGHT)); in readHistoricalDataImpl()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DLayoutInflater_Delegate.java87 final String value = attrs.getAttributeValue(null, "layout"); in parseInclude()

123