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()
DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
DResourceTable.cpp349 ssize_t identIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
363 ssize_t typeIdx = block.indexOfAttribute(NULL, "format"); in compileAttribute()
381 ssize_t minIdx = block.indexOfAttribute(NULL, "min"); in compileAttribute()
399 ssize_t maxIdx = block.indexOfAttribute(NULL, "max"); in compileAttribute()
420 ssize_t l10nIdx = block.indexOfAttribute(NULL, "localization"); in compileAttribute()
492 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
502 ssize_t valueIdx = block.indexOfAttribute(NULL, "value"); in compileAttribute()
948 ssize_t typeIdx = block.indexOfAttribute(NULL, "type"); in compileResourceFile()
956 ssize_t nameIdx = block.indexOfAttribute(NULL, "name"); in compileResourceFile()
964 ssize_t identIdx = block.indexOfAttribute(NULL, "id"); in compileResourceFile()
[all …]
DResource.cpp259 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); in parsePackage()
268 ssize_t revisionCodeIndex = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "revisionCode"); in parsePackage()
278 ssize_t minSdkIndex = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, in parsePackage()
486 ssize_t index = parser.indexOfAttribute(ns, attr); in validateAttr()
587 ssize_t index = parser.indexOfAttribute(NULL, "id"); in checkForIds()
2004 ssize_t index = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "name"); in buildResources()
2157 ssize_t idx = block.indexOfAttribute( in buildResources()
3186 ssize_t attrIndex = tree.indexOfAttribute(nsAttr.ns, nsAttr.attr); in writeProguardForXml()
3200 ssize_t attrIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "onClick"); in writeProguardForXml()
DCommand.cpp1483 int32_t multiArchIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, in doDump()
/frameworks/base/tools/split-select/
DMain.cpp160 ssize_t idx = xml.indexOfAttribute(kAndroidNamespace.c_str(), kAndroidNamespace.size(), in getAppInfo()
167 ssize_t idx = xml.indexOfAttribute(kAndroidNamespace.c_str(), kAndroidNamespace.size(), in getAppInfo()
175 xml.indexOfAttribute(kAndroidNamespace.c_str(), kAndroidNamespace.size(), in getAppInfo()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener_test.cpp102 EXPECT_THAT(tree.indexOfAttribute(nullptr, 0, kAttr.data(), kAttr.size()), Eq(0)); in TEST_F()
153 EXPECT_THAT(tree.indexOfAttribute("http://schemas.android.com/tools", "ignore"), in TEST_F()
155 EXPECT_THAT(tree.indexOfAttribute("http://schemas.android.com/foo", "bar"), Ge(0)); in TEST_F()
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp255 jint idx = static_cast<jint>(st->indexOfAttribute(ns16, nsLen, name16, nameLen)); in android_content_XmlBlock_nativeGetAttributeIndex()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h805 ssize_t indexOfAttribute(const char* ns, const char* attr) const;
806 ssize_t indexOfAttribute(const char16_t* ns, size_t nsLen,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1578 ssize_t ResXMLParser::indexOfAttribute(const char* ns, const char* attr) const in indexOfAttribute() function in android::ResXMLParser
1582 return indexOfAttribute(ns ? nsStr.c_str() : NULL, ns ? nsStr.size() : 0, in indexOfAttribute()
1586 ssize_t ResXMLParser::indexOfAttribute(const char16_t* ns, size_t nsLen, in indexOfAttribute() function in android::ResXMLParser