Home
last modified time | relevance | path

Searched refs:indexOfAttribute (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt/
DAaptXml.cpp69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { in indexOfAttribute() function
81 ssize_t idx = tree.indexOfAttribute(ns, attr); in getAttribute()
89 ssize_t idx = indexOfAttribute(tree, attrRes); in getAttribute()
98 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedAttribute()
141 ssize_t idx = tree.indexOfAttribute(ns, attr); in getIntegerAttribute()
150 ssize_t idx = indexOfAttribute(tree, attrRes); in getIntegerAttribute()
159 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedIntegerAttribute()
181 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedResourceAttribute()
DResourceTable.cpp347 ssize_t identIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
361 ssize_t typeIdx = block.indexOfAttribute(NULL, "format"); in compileAttribute()
379 ssize_t minIdx = block.indexOfAttribute(NULL, "min"); in compileAttribute()
397 ssize_t maxIdx = block.indexOfAttribute(NULL, "max"); in compileAttribute()
418 ssize_t l10nIdx = block.indexOfAttribute(NULL, "localization"); in compileAttribute()
490 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
500 ssize_t valueIdx = block.indexOfAttribute(NULL, "value"); in compileAttribute()
946 ssize_t typeIdx = block.indexOfAttribute(NULL, "type"); in compileResourceFile()
954 ssize_t nameIdx = block.indexOfAttribute(NULL, "name"); in compileResourceFile()
962 ssize_t identIdx = block.indexOfAttribute(NULL, "id"); in compileResourceFile()
[all …]
DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
DResource.cpp256 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); in parsePackage()
265 ssize_t revisionCodeIndex = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "revisionCode"); in parsePackage()
275 ssize_t minSdkIndex = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, in parsePackage()
483 ssize_t index = parser.indexOfAttribute(ns, attr); in validateAttr()
584 ssize_t index = parser.indexOfAttribute(NULL, "id"); in checkForIds()
2001 ssize_t index = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "name"); in buildResources()
2154 ssize_t idx = block.indexOfAttribute( in buildResources()
3183 ssize_t attrIndex = tree.indexOfAttribute(nsAttr.ns, nsAttr.attr); in writeProguardForXml()
3197 ssize_t attrIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "onClick"); in writeProguardForXml()
DCommand.cpp1412 int32_t multiArchIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, in doDump()
/frameworks/base/tools/split-select/
DMain.cpp161 ssize_t idx = xml.indexOfAttribute( in getAppInfo()
169 ssize_t idx = xml.indexOfAttribute( in getAppInfo()
177 ssize_t idx = xml.indexOfAttribute( in getAppInfo()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener_test.cpp103 EXPECT_THAT(tree.indexOfAttribute(nullptr, 0, kAttr.data(), kAttr.size()), Eq(0)); in TEST_F()
154 EXPECT_THAT(tree.indexOfAttribute("http://schemas.android.com/tools", "ignore"), in TEST_F()
156 EXPECT_THAT(tree.indexOfAttribute("http://schemas.android.com/foo", "bar"), Ge(0)); in TEST_F()
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp279 jint idx = static_cast<jint>(st->indexOfAttribute(ns16, nsLen, name16, nameLen)); in android_content_XmlBlock_nativeGetAttributeIndex()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h774 ssize_t indexOfAttribute(const char* ns, const char* attr) const;
775 ssize_t indexOfAttribute(const char16_t* ns, size_t nsLen,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1395 ssize_t ResXMLParser::indexOfAttribute(const char* ns, const char* attr) const in indexOfAttribute() function in android::ResXMLParser
1399 return indexOfAttribute(ns ? nsStr.string() : NULL, ns ? nsStr.size() : 0, in indexOfAttribute()
1403 ssize_t ResXMLParser::indexOfAttribute(const char16_t* ns, size_t nsLen, in indexOfAttribute() function in android::ResXMLParser