/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 46 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 …]
|
D | AttributeSet.java | 110 public String getAttributeValue(int index); in getAttributeValue() method 122 public String getAttributeValue(String namespace, String name); in getAttributeValue() method
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemConfig.java | 849 String gidStr = parser.getAttributeValue(null, "gid"); in readPermissionsFromXml() 864 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() 880 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() 887 String uidStr = parser.getAttributeValue(null, "uid"); in readPermissionsFromXml() 926 String lname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() 927 String lfile = parser.getAttributeValue(null, "file"); in readPermissionsFromXml() 928 String ldependency = parser.getAttributeValue(null, "dependency"); in readPermissionsFromXml() 929 String minDeviceSdk = parser.getAttributeValue(null, "min-device-sdk"); in readPermissionsFromXml() 930 String maxDeviceSdk = parser.getAttributeValue(null, "max-device-sdk"); in readPermissionsFromXml() 944 String bcpSince = parser.getAttributeValue(null, in readPermissionsFromXml() [all …]
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 120 String value = getAttributeValue(namespace, attribute); in getAttributeListValue() 137 String value = getAttributeValue(namespace, attribute); in getAttributeBooleanValue() 153 String value = getAttributeValue(namespace, attribute); in getAttributeResourceValue() 163 String value = getAttributeValue(namespace, attribute); in getAttributeIntValue() 205 String value = getAttributeValue(namespace, attribute); in getAttributeUnsignedIntValue() 222 String s = getAttributeValue(namespace, attribute); in getAttributeFloatValue() 240 getAttributeValue(index), options, defaultValue); in getAttributeListValue() 245 String value = getAttributeValue(index); in getAttributeBooleanValue() 261 String value = getAttributeValue(index); in getAttributeResourceValue() 274 String value = getAttributeValue(index); in getAttributeUnsignedIntValue() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontListParser.java | 172 final String name = parser.getAttributeValue(null, "name"); in readFamilies() 263 final String lang = parser.getAttributeValue("", "lang"); in readFamily() 264 final String variant = parser.getAttributeValue(null, "variant"); in readFamily() 265 final String ignore = parser.getAttributeValue(null, "ignore"); in readFamily() 297 if (parser.getAttributeValue(null, attrName) != null) { in throwIfAttributeExists() 310 final String name = parser.getAttributeValue(null, "name"); in readNamedFamily() 330 final String name = parser.getAttributeValue(null, "name"); in readNamedFamilyList() 368 String indexStr = parser.getAttributeValue(null, ATTR_INDEX); in readFont() 371 String weightStr = parser.getAttributeValue(null, ATTR_WEIGHT); in readFont() 373 boolean isItalic = STYLE_ITALIC.equals(parser.getAttributeValue(null, ATTR_STYLE)); in readFont() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/ |
D | LayoutParserWrapperTest.java | 47 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/ |
D | AdditionalSubtypeUtils.java | 251 currentImiId = parser.getAttributeValue(null, ATTR_ID); in loadFromFile() 265 final String untranslatableName = parser.getAttributeValue(null, in loadFromFile() 267 final String pkLanguageTag = parser.getAttributeValue(null, in loadFromFile() 269 final String pkLayoutType = parser.getAttributeValue(null, in loadFromFile() 272 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_LOCALE); in loadFromFile() 274 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_LANGUAGE_TAG); in loadFromFile() 276 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_MODE); in loadFromFile() 278 parser.getAttributeValue(null, ATTR_IME_SUBTYPE_EXTRA_VALUE); in loadFromFile() 280 parser.getAttributeValue(null, ATTR_IS_AUXILIARY))); in loadFromFile() 282 parser.getAttributeValue(null, ATTR_IS_ASCII_CAPABLE))); in loadFromFile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsFavoritePersistenceWrapper.kt | 192 parser.getAttributeValue(null, TAG_COMPONENT)) in <lambda>() 193 lastStructure = parser.getAttributeValue(null, TAG_STRUCTURE) ?: "" in <lambda>() 195 val id = parser.getAttributeValue(null, TAG_ID) in <lambda>() 196 val title = parser.getAttributeValue(null, TAG_TITLE) in <lambda>() 197 val subtitle = parser.getAttributeValue(null, TAG_SUBTITLE) ?: "" in <lambda>() 198 val deviceType = parser.getAttributeValue(null, TAG_TYPE)?.toInt() in <lambda>()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 1172 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/core/tests/coretests/src/android/util/ |
D | XmlTest.java | 96 assertEquals(string, in.getAttributeValue(null, "string")); in doLargeValues() 284 in.getAttributeValue(null, "string")); in doVerifyRead() 286 in.getAttributeValue(null, "stringEmpty")); in doVerifyRead() 305 assertEquals("000102030403020100", in.getAttributeValue(null, "bytesHex")); in doVerifyRead() 306 assertEquals("AAECAwQDAgEA", in.getAttributeValue(null, "bytesBase64")); in doVerifyRead() 307 assertEquals("43", in.getAttributeValue(null, "int")); in doVerifyRead() 308 assertEquals("2c", in.getAttributeValue(null, "intHex")); in doVerifyRead() 309 assertEquals("45", in.getAttributeValue(null, "long")); in doVerifyRead() 310 assertEquals("2e", in.getAttributeValue(null, "longHex")); in doVerifyRead() 311 assertEquals("true", in.getAttributeValue(null, "boolean")); in doVerifyRead() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | EriManager.java | 208 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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | VoiceMailConstants.java | 105 String numeric = parser.getAttributeValue(null, "numeric"); in loadVoiceMail() 106 data[NAME] = parser.getAttributeValue(null, "carrier"); in loadVoiceMail() 107 data[NUMBER] = parser.getAttributeValue(null, "vmnumber"); in loadVoiceMail() 108 data[TAG] = parser.getAttributeValue(null, "vmtag"); in loadVoiceMail()
|
/frameworks/base/tools/aapt/ |
D | AaptXml.cpp | 29 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/errorprone/refaster/ |
D | EfficientXml.java | 77 return Integer.parseInt(in.getAttributeValue(null, n)); in beforeParse() 87 return Integer.parseInt(in.getAttributeValue(null, n), 10); in beforeRadix() 111 return Integer.parseInt(in.getAttributeValue(null, n), 16); in beforeParse() 167 return Long.parseLong(in.getAttributeValue(null, n)); in beforeParse() 177 return Long.parseLong(in.getAttributeValue(null, n), 10); in beforeRadix() 201 return Long.parseLong(in.getAttributeValue(null, n), 16); in beforeParse() 235 return Float.parseFloat(in.getAttributeValue(null, n)); in beforeParse() 269 return Double.parseDouble(in.getAttributeValue(null, n)); in beforeParse() 322 return Boolean.parseBoolean(in.getAttributeValue(null, n)); in beforeParse()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ApkLiteParseUtils.java | 437 String configForSplit = parser.getAttributeValue(null, "configForSplit"); in parseApkLite() 438 String emergencyInstaller = parser.getAttributeValue(null, "emergencyInstaller"); in parseApkLite() 495 String permission = parser.getAttributeValue(ANDROID_RES_NAMESPACE, in parseApkLite() 550 requiredSystemPropertyName = parser.getAttributeValue(ANDROID_RES_NAMESPACE, in parseApkLite() 552 requiredSystemPropertyValue = parser.getAttributeValue(ANDROID_RES_NAMESPACE, in parseApkLite() 554 targetPackage = parser.getAttributeValue(ANDROID_RES_NAMESPACE, "targetPackage"); in parseApkLite() 564 usesSplitName = parser.getAttributeValue(ANDROID_RES_NAMESPACE, "name"); in parseApkLite() 571 String minSdkVersionString = parser.getAttributeValue(ANDROID_RES_NAMESPACE, in parseApkLite() 573 String targetSdkVersionString = parser.getAttributeValue(ANDROID_RES_NAMESPACE, in parseApkLite() 654 String permission = parser.getAttributeValue(ANDROID_RES_NAMESPACE, in isDeviceAdminReceiver() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobStore.java | 1301 uid = Integer.parseInt(parser.getAttributeValue(null, "uid")); in restoreJobFromXml() 1305 val = parser.getAttributeValue(null, "priority"); in restoreJobFromXml() 1310 val = parser.getAttributeValue(null, "bias"); in restoreJobFromXml() 1314 val = parser.getAttributeValue(null, "priority"); in restoreJobFromXml() 1319 val = parser.getAttributeValue(null, "flags"); in restoreJobFromXml() 1323 val = parser.getAttributeValue(null, "internalFlags"); in restoreJobFromXml() 1327 val = parser.getAttributeValue(null, "sourceUserId"); in restoreJobFromXml() 1330 val = parser.getAttributeValue(null, "lastSuccessfulRunTime"); in restoreJobFromXml() 1333 val = parser.getAttributeValue(null, "lastFailedRunTime"); in restoreJobFromXml() 1343 String sourcePackageName = parser.getAttributeValue(null, "sourcePackageName"); in restoreJobFromXml() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlPullParserWrapper.java | 158 public String getAttributeValue(int index) { in getAttributeValue() method in XmlPullParserWrapper 159 return mWrapped.getAttributeValue(index); in getAttributeValue() 162 public String getAttributeValue(String namespace, String name) { in getAttributeValue() method in XmlPullParserWrapper 163 return mWrapped.getAttributeValue(namespace, name); in getAttributeValue()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | ConfigurationProcessor.java | 47 String name = parser.getAttributeValue(null, "name"); in processExcludedDeviceNames() 100 String inputPort = parser.getAttributeValue(null, "input"); in processInputPortAssociations() 101 String displayPortStr = parser.getAttributeValue(null, "display"); in processInputPortAssociations()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyData.java | 456 String permissionProvider = parser.getAttributeValue(null, ATTR_PERMISSION_PROVIDER); in load() 461 String userSetupComplete = parser.getAttributeValue(null, ATTR_SETUP_COMPLETE); in load() 466 String paired = parser.getAttributeValue(null, ATTR_DEVICE_PAIRED); in load() 470 String deviceProvisioningConfigApplied = parser.getAttributeValue(null, in load() 483 policy.mNewUserDisclaimer = parser.getAttributeValue(null, ATTR_NEW_USER_DISCLAIMER); in load() 490 policy.mFactoryResetReason = parser.getAttributeValue(null, ATTR_FACTORY_RESET_REASON); in load() 507 String name = parser.getAttributeValue(null, "name"); in load() 530 final String delegatePackage = parser.getAttributeValue(null, in load() 532 final String scope = parser.getAttributeValue(null, "scope"); in load() 550 policy.mAcceptedCaCertificates.add(parser.getAttributeValue(null, ATTR_NAME)); in load() [all …]
|
D | OwnersData.java | 450 String startDate = parser.getAttributeValue(null, ATTR_FREEZE_RECORD_START); in readInner() 451 String endDate = parser.getAttributeValue(null, ATTR_FREEZE_RECORD_END); in readInner() 463 String packageName = parser.getAttributeValue(null, ATTR_PACKAGE); in readInner() 470 packageName = parser.getAttributeValue(null, ATTR_PACKAGE); in readInner() 474 protectedPackages.add(parser.getAttributeValue(null, ATTR_NAME + i)); in readInner() 579 final String componentName = parser.getAttributeValue(null, ATTR_COMPONENT_NAME); in readFromXml() 581 parser.getAttributeValue(null, ATTR_REMOTE_BUGREPORT_URI); in readFromXml() 583 parser.getAttributeValue(null, ATTR_REMOTE_BUGREPORT_HASH); in readFromXml() 585 parser.getAttributeValue(null, ATTR_CAN_ACCESS_DEVICE_IDS); in readFromXml() 588 parser.getAttributeValue(null, ATTR_PROFILE_OWNER_OF_ORG_OWNED_DEVICE); in readFromXml()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | PortFilter.java | 63 String equalsValue = parser.getAttributeValue(null, ATTR_EQUALS); 76 String lowerBoundString = parser.getAttributeValue(null, ATTR_MIN); 77 String upperBoundString = parser.getAttributeValue(null, ATTR_MAX);
|
D | StringFilter.java | 86 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()
|
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/ |
D | CarDisplayCompatConfig.java | 160 display = Integer.parseInt(parser.getAttributeValue(NAMESPACE, DISPLAY)); in readScale() 163 parser.getAttributeValue(NAMESPACE, DISPLAY)); in readScale() 166 String packageName = parser.getAttributeValue(NAMESPACE, PACKAGE); in readScale() 171 userId = Integer.parseInt(parser.getAttributeValue(NAMESPACE, USER)); in readScale() 173 Slogf.e(TAG, "parse failed: %s = %s", USER, parser.getAttributeValue(NAMESPACE, USER)); in readScale()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 307 name = attrs.getAttributeValue(null, "class"); in createViewFromTag() 419 name = attrs.getAttributeValue(null, "class"); in loadCustomView() 456 String scrollPosX = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollX"); in setupViewInContext() 461 String scrollPosY = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollY"); in setupViewInContext() 480 String attrVal = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext() 488 String minValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "minValue"); in setupViewInContext() 492 String maxValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "maxValue"); in setupViewInContext() 509 String visibility = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext() 541 String header = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext() 543 String footer = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext() [all …]
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerSettings.java | 265 final String name = parser.getAttributeValue(null, ATTR_NAME); in readPackage() 306 Slog.wtf(TAG, "Invalid game mode value in config tag: " + parser.getAttributeValue(null, in readGameModeConfig() 317 final String rawScaling = parser.getAttributeValue(null, ATTR_SCALING); in readGameModeConfig() 323 final String fps = parser.getAttributeValue(null, ATTR_FPS); in readGameModeConfig() 330 final String rawUseAngle = parser.getAttributeValue(null, ATTR_USE_ANGLE); in readGameModeConfig() 340 final String rawLoadingBoost = parser.getAttributeValue(null, in readGameModeConfig()
|