Home
last modified time | relevance | path

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

1234

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageProperties.java174 mVersion = xpp.getAttributeValue(null, "version"); in parse()
175 mImageHandle = xpp.getAttributeValue(null, "handle"); in parse()
176 mFriendlyName = xpp.getAttributeValue(null, "friendly-name"); in parse()
178 String encoding = xpp.getAttributeValue(null, "encoding"); in parse()
179 String pixel = xpp.getAttributeValue(null, "pixel"); in parse()
180 String size = xpp.getAttributeValue(null, "size"); in parse()
183 String encoding = xpp.getAttributeValue(null, "encoding"); in parse()
184 String pixel = xpp.getAttributeValue(null, "pixel"); in parse()
185 String maxSize = xpp.getAttributeValue(null, "maxsize"); in parse()
186 String trans = xpp.getAttributeValue(null, "transformation"); in parse()
[all …]
DBipImageDescriptor.java186 mEncoding = new BipEncoding(xpp.getAttributeValue(null, "encoding")); in parse()
187 mPixel = new BipPixel(xpp.getAttributeValue(null, "pixel")); in parse()
188 mSize = parseInt(xpp.getAttributeValue(null, "size")); in parse()
189 mMaxSize = parseInt(xpp.getAttributeValue(null, "maxsize")); in parse()
192 xpp.getAttributeValue(null, "transformation")); in parse()
/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/
DSafetyCenterConfigParser.java167 parser.getAttributeValue(i), in parseSafetySourcesGroup()
175 parser.getAttributeValue(i), in parseSafetySourcesGroup()
183 parser.getAttributeValue(i), in parseSafetySourcesGroup()
191 parser.getAttributeValue(i), in parseSafetySourcesGroup()
200 parser.getAttributeValue(i), in parseSafetySourcesGroup()
249 parser.getAttributeValue(i), in parseSafetySource()
257 parser.getAttributeValue(i), in parseSafetySource()
265 parser.getAttributeValue(i), in parseSafetySource()
273 parser.getAttributeValue(i), in parseSafetySource()
283 parser.getAttributeValue(i), in parseSafetySource()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java269 if (HOTSEAT_CONTAINER_NAME.equals(getAttributeValue(parser, ATTR_CONTAINER))) { in parseContainerAndScreen()
272 out[1] = Integer.parseInt(getAttributeValue(parser, ATTR_RANK)); in parseContainerAndScreen()
275 out[1] = Integer.parseInt(getAttributeValue(parser, ATTR_SCREEN)); in parseContainerAndScreen()
305 convertToDistanceFromEnd(getAttributeValue(parser, ATTR_X), mColumnCount)); in parseAndAddNode()
307 convertToDistanceFromEnd(getAttributeValue(parser, ATTR_Y), mRowCount)); in parseAndAddNode()
308 Long profileId = mUserTypeToSerial.get(getAttributeValue(parser, ATTR_USER_TYPE)); in parseAndAddNode()
383 final String packageName = getAttributeValue(parser, ATTR_PACKAGE_NAME); in parseAndAdd()
384 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd()
432 final String packageName = getAttributeValue(parser, ATTR_PACKAGE_NAME); in parseAndAdd()
433 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtilHelper.java1026 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisByteArrayXml()
1086 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisIntArrayXml()
1105 parser.getAttributeValue(null, "value")); in readThisIntArrayXml()
1155 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisLongArrayXml()
1171 array[i] = Long.parseLong(parser.getAttributeValue(null, "value")); in readThisLongArrayXml()
1215 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisDoubleArrayXml()
1231 array[i] = Double.parseDouble(parser.getAttributeValue(null, "value")); in readThisDoubleArrayXml()
1275 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisStringArrayXml()
1291 array[i] = parser.getAttributeValue(null, "value"); in readThisStringArrayXml()
1335 num = Integer.parseInt(parser.getAttributeValue(null, "num")); in readThisBooleanArrayXml()
[all …]
/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/providers/MediaProvider/src/com/android/providers/media/util/
DSpecialFormatDetector.java210 String semantic = getAttributeValue(xpp, semanticAttributeName); in isMotionPhotoDirectory()
211 if (getAttributeValue(xpp, mimeAttributeName) == null || semantic == null) { in isMotionPhotoDirectory()
221 String length = getAttributeValue(xpp, lengthAttributeName); in isMotionPhotoDirectory()
238 String attributeValue = getAttributeValue(xpp, attributeName); in isMicroVideoPresent()
249 String attributeValue = getAttributeValue(xpp, attributeName); in isMotionPhotoFlagSet()
258 private static String getAttributeValue(XmlPullParser xpp, String attributeName) { in getAttributeValue() method in SpecialFormatDetector
261 return xpp.getAttributeValue(i); in getAttributeValue()
DXmpDataParser.java123 builder.format(mParser.getAttributeValue(NS_DC, NAME_FORMAT)) in createXmpInterface()
124 .documentId(mParser.getAttributeValue( in createXmpInterface()
126 .instanceId(mParser.getAttributeValue( in createXmpInterface()
129 mParser.getAttributeValue( in createXmpInterface()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java133 mcc = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
136 mnc = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
139 gid1 = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
142 gid2 = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
145 spn = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
148 imsi = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
187 final String varNum = parser.getAttributeValue(null, "num"); in testVariableNames()
196 final String varName = parser.getAttributeValue(null, "name"); in testVariableNames()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java251 parser.getAttributeValue(NAMESPACE, ATTR_VERSION)); in parseCarAudioZones()
300 String address = parser.getAttributeValue(NAMESPACE, ATTR_DEVICE_ADDRESS); in parseMirroringDevice()
340 String contextName = parser.getAttributeValue(NAMESPACE, OEM_CONTEXT_NAME); in parseCarAudioContext()
422 parser.getAttributeValue(NAMESPACE, ATTR_IS_PRIMARY)); in parseAudioZone()
423 final String zoneName = parser.getAttributeValue(NAMESPACE, ATTR_ZONE_NAME); in parseAudioZone()
459 String audioZoneIdString = parser.getAttributeValue(NAMESPACE, ATTR_ZONE_ID); in getZoneId()
490 String occupantZoneIdString = parser.getAttributeValue(NAMESPACE, ATTR_OCCUPANT_ZONE_ID); in parseOccupantZoneId()
519 parser.getAttributeValue(NAMESPACE, ATTR_DEVICE_ADDRESS); in parseInputAudioDevices()
583 parser.getAttributeValue(NAMESPACE, ATTR_IS_CONFIG_DEFAULT)); in parseZoneConfig()
584 final String zoneConfigName = parser.getAttributeValue(NAMESPACE, ATTR_CONFIG_NAME); in parseZoneConfig()
[all …]
DCarAudioFadeConfigurationHelper.java112 int versionNumber = Integer.parseInt(parser.getAttributeValue(NAMESPACE, VERSION)); in parseFadeManagerConfigFile()
153 String configName = parser.getAttributeValue(NAMESPACE, CONFIG_NAME); in parseFadeConfig()
157 String defaultFadeOutDurationLiteral = parser.getAttributeValue(NAMESPACE, in parseFadeConfig()
159 String defaultFadeInDurationLiteral = parser.getAttributeValue(NAMESPACE, in parseFadeConfig()
198 String fadeStateLiteral = parser.getAttributeValue(NAMESPACE, FADE_STATE_VALUE); in parseFadeState()
282 parser.getAttributeValue(NAMESPACE, FADE_DURATION)); in parseFadeConfiguration()
DCarAudioParserUtils.java114 String usageLiteral = parser.getAttributeValue(NAMESPACE, attrValue); in parseUsageValue()
140 String contentTypeLiteral = parser.getAttributeValue(NAMESPACE, ATTR_CONTENT_TYPE); in parseContentTypeValue()
149 String tagsLiteral = parser.getAttributeValue(NAMESPACE, ATTR_TAGS); in parseTags()
/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/modules/Permission/SafetyCenter/Persistence/java/com/android/safetycenter/persistence/
DSafetyCenterIssuesPersistence.java120 version = parseInteger(parser.getAttributeValue(i), parser.getAttributeName(i)); in parseIssues()
151 builder.setKey(parser.getAttributeValue(i)); in parseIssue()
155 parseInstant(parser.getAttributeValue(i), parser.getAttributeName(i))); in parseIssue()
160 parseInstant(parser.getAttributeValue(i), parser.getAttributeName(i))); in parseIssue()
167 parser.getAttributeValue(i), parser.getAttributeName(i))); in parseIssue()
170 parser.getAttributeValue(i), parser.getAttributeName(i), e); in parseIssue()
175 parseInstant(parser.getAttributeValue(i), parser.getAttributeName(i))); in parseIssue()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfigParser.java217 return getAttributeValue(parser, ATTR_SDK_NAME); in getSdkLibrary()
222 String allowAllToAccess = getAttributeValue(parser, ATTR_ALLOW_ALL_TO_ACCESS); in getAllowAllToAccess()
230 getAttributeValue(parser, ATTR_ALLOW_AD_PARTNERS_TO_ACCESS); in getAllowAdPartnersToAccess()
242 private static String getAttributeValue(@NonNull XmlResourceParser parser, String name) { in getAttributeValue() method in AppManifestConfigParser
243 String value = parser.getAttributeValue(/* namespace= */ null, name); in getAttributeValue()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DGrantTimeXmlHelper.java166 String versionValue = parser.getAttributeValue(/* namespace= */ null, ATTRIBUTE_VERSION); in parseFirstGrantTimes()
187 parser.getAttributeValue(/* namespace= */ null, ATTRIBUTE_NAME); in parseFirstGrantTimes()
190 parser.getAttributeValue( in parseFirstGrantTimes()
198 parser.getAttributeValue(/* namespace= */ null, ATTRIBUTE_NAME); in parseFirstGrantTimes()
201 parser.getAttributeValue( in parseFirstGrantTimes()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/manifest/
DAppManifestConfigParser.java63 serviceName = parser.getAttributeValue(null, ATTR_NAME); in getConfig()
74 downloadUrl = parser.getAttributeValue(null, ATTR_DOWNLOAD_URL); in getConfig()
77 fcServerUrl = parser.getAttributeValue(null, ATTR_FC_URL); in getConfig()
/packages/modules/Permission/service/java/com/android/permission/persistence/
DRuntimePermissionsPersistenceImpl.java147 String versionValue = parser.getAttributeValue(null, ATTRIBUTE_VERSION); in parseRuntimePermissions()
150 String fingerprint = parser.getAttributeValue(null, ATTRIBUTE_FINGERPRINT); in parseRuntimePermissions()
167 String packageName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parseRuntimePermissions()
174 String sharedUserName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parseRuntimePermissions()
201 String name = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parsePermissions()
202 boolean granted = Boolean.parseBoolean(parser.getAttributeValue(null, in parsePermissions()
204 int flags = Integer.parseInt(parser.getAttributeValue(null, in parsePermissions()
/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/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DPermissionPolicyTest.java320 String featureFlag = parser.getAttributeValue(null, ATTR_FEATURE_FLAG); in loadExpectedPermissions()
335 parser.getAttributeValue(null, ATTR_NAME), in loadExpectedPermissions()
336 parser.getAttributeValue(null, ATTR_PERMISSION_GROUP), in loadExpectedPermissions()
337 parser.getAttributeValue(null, ATTR_BACKGROUND_PERMISSION), in loadExpectedPermissions()
339 parser.getAttributeValue(null, ATTR_PERMISSION_FLAGS)), in loadExpectedPermissions()
341 parser.getAttributeValue(null, ATTR_PROTECTION_LEVEL))); in loadExpectedPermissions()
368 permissionGroups.add(parser.getAttributeValue(null, ATTR_NAME)); in loadExpectedPermissionGroupNames()
/packages/modules/Permission/service/java/com/android/role/persistence/
DRolesPersistenceImpl.java142 int version = Integer.parseInt(parser.getAttributeValue(null, ATTRIBUTE_VERSION)); in parseRoles()
143 String packagesHash = parser.getAttributeValue(null, ATTRIBUTE_PACKAGES_HASH); in parseRoles()
157 String roleName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parseRoles()
158 String fallbackEnabled = parser.getAttributeValue(null, ATTRIBUTE_FALLBACK_ENABLED); in parseRoles()
184 String roleHolder = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parseRoleHolders()
/packages/services/Car/tests/CarTelemetryApp/src/com/android/car/cartelemetryapp/
DConfigParser.java132 String name = parser.getAttributeValue(null, CONFIG_NAME_ATTR); in parseMetricsConfig()
138 String version = parser.getAttributeValue(null, CONFIG_VERSION_ATTR); in parseMetricsConfig()
151 String scriptName = parser.getAttributeValue(null, CONFIG_SCRIPT_NAME_ATTR); in parseMetricsConfig()
213 String handler = parser.getAttributeValue(null, SUBSCRIBER_HANDLER_ATTR); in parseSubscriber()
220 String priority = parser.getAttributeValue(null, SUBSCRIBER_PRIORITY_ATTR); in parseSubscriber()
256 String type = parser.getAttributeValue(null, PUBLISHER_TYPE_ATTR); in parsePublisher()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DBackupHelper.java184 parser.getAttributeValue(null, ATTR_PLATFORM_VERSION)); in parseFromXml()
483 String permName = parser.getAttributeValue(null, ATTR_PERMISSION_NAME); in parseFromXml()
511 "true".equals(parser.getAttributeValue(null, ATTR_IS_GRANTED)), in parseFromXml()
512 "true".equals(parser.getAttributeValue(null, ATTR_USER_SET)), in parseFromXml()
513 "true".equals(parser.getAttributeValue(null, ATTR_USER_FIXED)), in parseFromXml()
514 "true".equals(parser.getAttributeValue(null, ATTR_WAS_REVIEWED)), in parseFromXml()
736 parser.getAttributeValue( in parseFromXml()
749 parser.getAttributeValue( in parseFromXml()
837 String packageName = parser.getAttributeValue(null, ATTR_PACKAGE_NAME); in parseFromXml()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPersistedItemArray.java141 parser.getAttributeValue(null, Favorites.ITEM_TYPE)); in read()
143 parser.getAttributeValue(null, Favorites.PROFILE_ID))); in read()
145 parser.getAttributeValue(null, Favorites.INTENT), 0); in read()
/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java478 String version = parser.getAttributeValue(NAMESPACE, ATTR_VERSION); in readPowerPolicyFromXml()
499 defaultGroupPolicyId = parser.getAttributeValue(NAMESPACE, in readPowerPolicyFromXml()
534 int componentValue = Integer.parseInt(parser.getAttributeValue(NAMESPACE, "value")); in parseCustomComponents()
560 String policyId = parser.getAttributeValue(NAMESPACE, ATTR_ID); in parsePolicies()
585 String groupId = parser.getAttributeValue(NAMESPACE, ATTR_ID); in parsePolicyGroups()
640 String powerComponent = parser.getAttributeValue(NAMESPACE, ATTR_ID); in parsePolicy()
665 behavior = parser.getAttributeValue(NAMESPACE, ATTR_BEHAVIOR); in parsePolicy()
756 String id = parser.getAttributeValue(NAMESPACE, ATTR_ID); in parsePolicyGroup()
761 String state = parser.getAttributeValue(NAMESPACE, ATTR_STATE); in parsePolicyGroup()
775 String state = parser.getAttributeValue(NAMESPACE, ATTR_STATE); in parsePolicyGroup()

1234