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()
125 ssize_t idx = tree.indexOfAttribute(ns, attr); in getIntegerAttribute()
134 ssize_t idx = indexOfAttribute(tree, attrRes); in getIntegerAttribute()
143 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedIntegerAttribute()
165 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedResourceAttribute()
DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
DResourceTable.cpp350 ssize_t identIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
364 ssize_t typeIdx = block.indexOfAttribute(NULL, "format"); in compileAttribute()
382 ssize_t minIdx = block.indexOfAttribute(NULL, "min"); in compileAttribute()
400 ssize_t maxIdx = block.indexOfAttribute(NULL, "max"); in compileAttribute()
421 ssize_t l10nIdx = block.indexOfAttribute(NULL, "localization"); in compileAttribute()
493 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
503 ssize_t valueIdx = block.indexOfAttribute(NULL, "value"); in compileAttribute()
949 ssize_t typeIdx = block.indexOfAttribute(NULL, "type"); in compileResourceFile()
957 ssize_t nameIdx = block.indexOfAttribute(NULL, "name"); in compileResourceFile()
965 ssize_t identIdx = block.indexOfAttribute(NULL, "id"); in compileResourceFile()
[all …]
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()
1969 ssize_t index = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "name"); in buildResources()
2122 ssize_t idx = block.indexOfAttribute( in buildResources()
3151 ssize_t attrIndex = tree.indexOfAttribute(nsAttr.ns, nsAttr.attr); in writeProguardForXml()
3165 ssize_t attrIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "onClick"); in writeProguardForXml()
DCommand.cpp1399 int32_t multiArchIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, in doDump()
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener_test.cpp105 EXPECT_EQ(0, tree.indexOfAttribute(nullptr, 0, u"attr", StringPiece16(u"attr").size())); in TEST_F()
174 EXPECT_EQ(tree.indexOfAttribute("http://schemas.android.com/tools", "ignore"), in TEST_F()
176 EXPECT_GE(tree.indexOfAttribute("http://schemas.android.com/foo", "bar"), 0); in TEST_F()
212 EXPECT_GE(tree.indexOfAttribute(nullptr, 0, kPackage.data(), kPackage.size()), 0); in TEST_F()
227 ssize_t idx = tree.indexOfAttribute(nullptr, 0, kPackage.data(), kPackage.size()); in TEST_F()
/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/core/jni/
Dandroid_util_XmlBlock.cpp278 jint idx = static_cast<jint>(st->indexOfAttribute(ns16, nsLen, name16, nameLen)); in android_content_XmlBlock_nativeGetAttributeIndex()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h766 ssize_t indexOfAttribute(const char* ns, const char* attr) const;
767 ssize_t indexOfAttribute(const char16_t* ns, size_t nsLen,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1337 ssize_t ResXMLParser::indexOfAttribute(const char* ns, const char* attr) const in indexOfAttribute() function in android::ResXMLParser
1341 return indexOfAttribute(ns ? nsStr.string() : NULL, ns ? nsStr.size() : 0, in indexOfAttribute()
1345 ssize_t ResXMLParser::indexOfAttribute(const char16_t* ns, size_t nsLen, in indexOfAttribute() function in android::ResXMLParser