Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageProperties.java176 mVersion = xpp.getAttributeValue(null, "version"); in parse()
177 mImageHandle = xpp.getAttributeValue(null, "handle"); in parse()
178 mFriendlyName = xpp.getAttributeValue(null, "friendly-name"); in parse()
180 String encoding = xpp.getAttributeValue(null, "encoding"); in parse()
181 String pixel = xpp.getAttributeValue(null, "pixel"); in parse()
182 String size = xpp.getAttributeValue(null, "size"); in parse()
185 String encoding = xpp.getAttributeValue(null, "encoding"); in parse()
186 String pixel = xpp.getAttributeValue(null, "pixel"); in parse()
187 String maxSize = xpp.getAttributeValue(null, "maxsize"); in parse()
188 String trans = xpp.getAttributeValue(null, "transformation"); in parse()
[all …]
DBipImageDescriptor.java202 mVersion = xpp.getAttributeValue(null, "version"); in parse()
204 mEncoding = new BipEncoding(xpp.getAttributeValue(null, "encoding")); in parse()
205 mPixel = new BipPixel(xpp.getAttributeValue(null, "pixel")); in parse()
206 mSize = parseInt(xpp.getAttributeValue(null, "size")); in parse()
207 mMaxSize = parseInt(xpp.getAttributeValue(null, "maxsize")); in parse()
209 xpp.getAttributeValue(null, "transformation")); in parse()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java240 if (HOTSEAT_CONTAINER_NAME.equals(getAttributeValue(parser, ATTR_CONTAINER))) { in parseContainerAndScreen()
243 out[1] = Integer.parseInt(getAttributeValue(parser, ATTR_RANK)); in parseContainerAndScreen()
246 out[1] = Integer.parseInt(getAttributeValue(parser, ATTR_SCREEN)); in parseContainerAndScreen()
276 convertToDistanceFromEnd(getAttributeValue(parser, ATTR_X), mColumnCount)); in parseAndAddNode()
278 convertToDistanceFromEnd(getAttributeValue(parser, ATTR_Y), mRowCount)); in parseAndAddNode()
347 final String packageName = getAttributeValue(parser, ATTR_PACKAGE_NAME); in parseAndAdd()
348 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd()
396 final String packageName = getAttributeValue(parser, ATTR_PACKAGE_NAME); in parseAndAdd()
397 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd()
462 final String url = getAttributeValue(parser, ATTR_URL); in parseIntent()
[all …]
DDefaultLayoutParser.java85 String strContainer = getAttributeValue(parser, ATTR_CONTAINER); in parseContainerAndScreen()
89 out[1] = Integer.parseInt(getAttributeValue(parser, ATTR_SCREEN)); in parseContainerAndScreen()
99 final String uri = getAttributeValue(parser, ATTR_URI); in invalidPackageOrClass()
195 uri = getAttributeValue(parser, ATTR_URI); in parseIntent()
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DXmlUtils.java108 array.add(parser.getAttributeValue(null, "value")); in readThisStringArrayXml()
136 final String valueName = parser.getAttributeValue(null, "name"); in readThisValueXml()
204 return Integer.parseInt(parser.getAttributeValue(null, "value")); in readThisPrimitiveValueXml()
206 return Long.valueOf(parser.getAttributeValue(null, "value")); in readThisPrimitiveValueXml()
208 return Float.valueOf(parser.getAttributeValue(null, "value")); in readThisPrimitiveValueXml()
210 return Double.valueOf(parser.getAttributeValue(null, "value")); in readThisPrimitiveValueXml()
212 return Boolean.valueOf(parser.getAttributeValue(null, "value")); in readThisPrimitiveValueXml()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java131 mcc = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
134 mnc = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
137 gid1 = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
140 gid2 = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
143 spn = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
146 imsi = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
185 final String varNum = parser.getAttributeValue(null, "num"); in testVariableNames()
194 final String varName = parser.getAttributeValue(null, "name"); in testVariableNames()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingsParser.java123 mXmlVersionCode = parser.getAttributeValue(i); in parse()
193 builder.setName(parser.getAttributeValue(i)); in parseRatingSystemDefinition()
196 for (String country : parser.getAttributeValue(i).split("\\s*,\\s*")) { in parseRatingSystemDefinition()
269 builder.setName(parser.getAttributeValue(i)); in parseRatingDefinition()
285 contentAgeHint = Integer.parseInt(parser.getAttributeValue(i)); in parseRatingDefinition()
339 builder.setName(parser.getAttributeValue(i)); in parseSubRatingDefinition()
420 builder.addRatingName(parser.getAttributeValue(i)); in parseRating()
450 builder.addSubRatingName(parser.getAttributeValue(i)); in parseSubRating()
481 return parser.getAttributeValue(index); in getTitle()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java114 parser.getAttributeValue(NAMESPACE, ATTR_VERSION)); in parseCarAudioZones()
148 parser.getAttributeValue(NAMESPACE, ATTR_IS_PRIMARY)); in parseAudioZone()
153 final String zoneName = parser.getAttributeValue(NAMESPACE, ATTR_ZONE_NAME); in parseAudioZone()
184 String port = parser.getAttributeValue(NAMESPACE, ATTR_PHYSICAL_PORT); in parsePhysicalDisplayAddress()
222 String address = parser.getAttributeValue(NAMESPACE, ATTR_DEVICE_ADDRESS); in parseVolumeGroup()
239 parseContextNumber(parser.getAttributeValue(NAMESPACE, ATTR_CONTEXT_NAME)), in parseVolumeGroupContexts()
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnsXmlProcessor.java212 .append(mInputParser.getAttributeValue(i)); in xmlParserDebugContext()
238 apnValues.put(key, mInputParser.getAttributeValue(i)); in processApn()
281 mInputParser.getAttributeValue(null, "mcc"), in processMmsConfig()
282 mInputParser.getAttributeValue(null, "mnc")); in processMmsConfig()
310 final String key = mInputParser.getAttributeValue(null, "name"); in processMmsConfigKeyValue()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DBackupHelper.java167 parser.getAttributeValue(null, ATTR_PLATFORM_VERSION)); in parseFromXml()
406 String permName = parser.getAttributeValue(null, ATTR_PERMISSION_NAME); in parseFromXml()
434 "true".equals(parser.getAttributeValue(null, ATTR_IS_GRANTED)), in parseFromXml()
435 "true".equals(parser.getAttributeValue(null, ATTR_USER_SET)), in parseFromXml()
436 "true".equals(parser.getAttributeValue(null, ATTR_USER_FIXED)), in parseFromXml()
437 "true".equals(parser.getAttributeValue(null, ATTR_WAS_REVIEWED)))); in parseFromXml()
621 String packageName = parser.getAttributeValue(null, ATTR_PACKAGE_NAME); in parseFromXml()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpInterface.java110 parser.getAttributeValue(NS_DC, NAME_FORMAT)); in XmpInterface()
112 parser.getAttributeValue(NS_XMPMM, NAME_DOCUMENT_ID)); in XmpInterface()
114 parser.getAttributeValue(NS_XMPMM, NAME_INSTANCE_ID)); in XmpInterface()
116 parser.getAttributeValue(NS_XMPMM, NAME_ORIGINAL_DOCUMENT_ID)); in XmpInterface()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoles.java272 String behaviorClassSimpleName = getAttributeValue(parser, ATTRIBUTE_BEHAVIOR); in parseRole()
459 String permission = getAttributeValue(parser, ATTRIBUTE_PERMISSION); in parseRequiredComponent()
583 dataScheme = getAttributeValue(parser, ATTRIBUTE_SCHEME); in parseIntentFilterData()
584 dataType = getAttributeValue(parser, ATTRIBUTE_MIME_TYPE); in parseIntentFilterData()
830 private static String getAttributeValue(@NonNull XmlResourceParser parser, in getAttributeValue() method in Roles
832 return parser.getAttributeValue(null, name); in getAttributeValue()
838 String value = getAttributeValue(parser, name); in requireAttributeValue()
DAssistantRoleBehavior.java209 sessionService = attrs.getAttributeValue(i); in isAssistantVoiceInteractionService()
212 recognitionService = attrs.getAttributeValue(i); in isAssistantVoiceInteractionService()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCache.java420 parser.getAttributeValue(null, "component"); in readDynamicSystemCodeNfcid2Locked()
422 parser.getAttributeValue(null, "uid"); in readDynamicSystemCodeNfcid2Locked()
424 parser.getAttributeValue(null, "system-code"); in readDynamicSystemCodeNfcid2Locked()
426 parser.getAttributeValue(null, "description"); in readDynamicSystemCodeNfcid2Locked()
428 parser.getAttributeValue(null, "nfcid2"); in readDynamicSystemCodeNfcid2Locked()
DRegisteredServicesCache.java356 String compString = parser.getAttributeValue(null, "component"); in readDynamicSettingsLocked()
357 String uidString = parser.getAttributeValue(null, "uid"); in readDynamicSettingsLocked()
358 String offHostString = parser.getAttributeValue(null, "offHostSE"); in readDynamicSettingsLocked()
/packages/apps/TV/common/src/com/android/tv/common/compat/
DTvInputInfoCompat.java100 parser.getAttributeValue(ATTRIBUTE_NAMESPACE_ANDROID, ATTRIBUTE_NAME); in getExtras()
102 parser.getAttributeValue(ATTRIBUTE_NAMESPACE_ANDROID, ATTRIBUTE_VALUE); in getExtras()
/packages/apps/Stk/src/com/android/stk/
DStkMenuConfig.java177 String label = parser.getAttributeValue(null, XML_LABEL_ATTR); in initialize()
178 String icon = parser.getAttributeValue(null, XML_ICON_ATTR); in initialize()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DLicenseHtmlGeneratorFromXml.java199 String contentId = parser.getAttributeValue("", ATTR_CONTENT_ID); in parse()
207 String contentId = parser.getAttributeValue("", ATTR_CONTENT_ID); in parse()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java558 int publicversion = Integer.parseInt(parser.getAttributeValue(null, "version")); in getVersion()
743 publicversion = Integer.parseInt(parser.getAttributeValue(null, "version")); in initDatabase()
767 int confversion = Integer.parseInt(confparser.getAttributeValue(null, "version")); in initDatabase()
2077 String mcc = parser.getAttributeValue(null, "mcc"); in getRow()
2078 String mnc = parser.getAttributeValue(null, "mnc"); in getRow()
2084 map.put(NAME, parser.getAttributeValue(null, "carrier")); in getRow()
2097 String apnType = parser.getAttributeValue(null, "type"); in getRow()
2124 String networkTypeList = parser.getAttributeValue(null, "network_type_bitmask"); in getRow()
2134 String bearerList = parser.getAttributeValue(null, "bearer_bitmask"); in getRow()
2144 String mvno_type = parser.getAttributeValue(null, "mvno_type"); in getRow()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/
DCarrierConfigXmlParser.java44 final String key = mInputParser.getAttributeValue(null, "name"); in parseRecord()
DApnsXmlParser.java55 mValues.put(key, mInputParser.getAttributeValue(i)); in parseRecord()
DMmsXmlResourceParser.java121 .append(mInputParser.getAttributeValue(i)); in xmlParserDebugContext()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DFolderListing.java52 mFolders.add(xpp.getAttributeValue(null, "name")); in parse()
DMessagesListing.java57 attrs.put(xpp.getAttributeName(i), xpp.getAttributeValue(i)); in parse()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java164 priority = XmlUtils.convertValueToInt(parser.getAttributeValue(i), in loadPhotoPriorityFromXml()

12