Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp50 ResXMLTree* osb = new ResXMLTree(b+off, len, true); in android_content_XmlBlock_nativeCreate()
64 ResXMLTree* osb = (ResXMLTree*)token; in android_content_XmlBlock_nativeGetStringBlock()
76 ResXMLTree* osb = (ResXMLTree*)token; in android_content_XmlBlock_nativeCreateParseState()
349 ResXMLTree* osb = (ResXMLTree*)token; in android_content_XmlBlock_nativeDestroy()
Dandroid_util_AssetManager.cpp1388 ResXMLTree* block = new ResXMLTree(); in android_content_AssetManager_openXmlAssetNative()
/frameworks/base/tools/aapt/
DCommand.cpp215 ResXMLTree tree; in doList()
230 static ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) in indexOfAttribute()
241 String8 getAttribute(const ResXMLTree& tree, const char* ns, in getAttribute()
260 static String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) in getAttribute()
278 static int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, in getIntegerAttribute()
296 static int32_t getResolvedIntegerAttribute(const ResTable* resTable, const ResXMLTree& tree, in getResolvedIntegerAttribute()
317 static String8 getResolvedAttribute(const ResTable* resTable, const ResXMLTree& tree, in getResolvedAttribute()
391 static void printCompatibleScreens(ResXMLTree& tree) { in printCompatibleScreens()
393 ResXMLTree::event_code_t code; in printCompatibleScreens()
397 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in printCompatibleScreens()
[all …]
DResourceTable.cpp90 NOISY(ResXMLTree tree; in compileXmlFile()
255 ResXMLTree& block, bool _appendComment) in PendingAttribute()
299 ResXMLTree& block, in compileAttribute()
314 ResXMLTree::event_code_t code; in compileAttribute()
413 while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in compileAttribute()
414 if (code == ResXMLTree::START_TAG) { in compileAttribute()
528 } else if (code == ResXMLTree::END_TAG) { in compileAttribute()
570 ResXMLTree* block, in parseAndAddBag()
641 ResXMLTree* block, in parseAndAddEntry()
728 ResXMLTree block; in compileResourceFile()
[all …]
DResource.cpp208 ResXMLTree block; in parsePackage()
215 ResXMLTree::event_code_t code; in parsePackage()
216 while ((code=block.next()) != ResXMLTree::START_TAG in parsePackage()
217 && code != ResXMLTree::END_DOCUMENT in parsePackage()
218 && code != ResXMLTree::BAD_DOCUMENT) { in parsePackage()
222 if (code != ResXMLTree::START_TAG) { in parsePackage()
244 while ((code=block.next()) != ResXMLTree::END_DOCUMENT in parsePackage()
245 && code != ResXMLTree::BAD_DOCUMENT) { in parsePackage()
246 if (code == ResXMLTree::START_TAG) { in parsePackage()
553 ResXMLTree::event_code_t code; in checkForIds()
[all …]
DXMLNode.cpp79 ResXMLTree* inXml, in hasSubstitutionErrors()
185 ResXMLTree* inXml, in parseStyledString()
200 ResXMLTree::event_code_t code; in parseStyledString()
201 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in parseStyledString()
203 if (code == ResXMLTree::TEXT) { in parseStyledString()
223 } else if (code == ResXMLTree::START_TAG) { in parseStyledString()
283 } else if (code == ResXMLTree::END_TAG) { in parseStyledString()
350 } else if (code == ResXMLTree::START_NAMESPACE) { in parseStyledString()
355 if (code == ResXMLTree::BAD_DOCUMENT) { in parseStyledString()
415 void printXMLBlock(ResXMLTree* block) in printXMLBlock()
[all …]
DXMLNode.h24 ResXMLTree* inXml,
31 void printXMLBlock(ResXMLTree* block);
33 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
DMain.h58 String8 getAttribute(const ResXMLTree& tree, const char* ns,
/frameworks/base/include/androidfw/
DResourceTypes.h614 class ResXMLTree; variable
619 ResXMLParser(const ResXMLTree& tree);
705 friend class ResXMLTree;
709 const ResXMLTree& mTree;
718 class ResXMLTree : public ResXMLParser
721 ResXMLTree();
722 ResXMLTree(const void* data, size_t size, bool copyData=false);
723 ~ResXMLTree();
/frameworks/base/libs/androidfw/
DResourceTypes.cpp774 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser()
1185 ResXMLTree::ResXMLTree() in ResXMLTree() function in android::ResXMLTree
1193 ResXMLTree::ResXMLTree(const void* data, size_t size, bool copyData) in ResXMLTree() function in android::ResXMLTree
1201 ResXMLTree::~ResXMLTree() in ~ResXMLTree()
1207 status_t ResXMLTree::setTo(const void* data, size_t size, bool copyData) in setTo()
1300 status_t ResXMLTree::getError() const in getError()
1305 void ResXMLTree::uninit() in uninit()
1316 status_t ResXMLTree::validateNode(const ResXMLTree_node* node) const in validateNode()