Searched refs:tree (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 215 ResXMLTree tree; local 216 tree.setTo(manifestAsset->getBuffer(true), 218 printXMLBlock(&tree); 230 static ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) argument 232 size_t N = tree.getAttributeCount(); 234 if (tree.getAttributeNameResID(i) == attrRes) { 241 String8 getAttribute(const ResXMLTree& tree, const char* ns, argument 244 ssize_t idx = tree.indexOfAttribute(ns, attr); 249 if (tree.getAttributeValue(idx, &value) != NO_ERROR) { 256 const uint16_t* str = tree 260 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument 278 getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError, int32_t defValue = -1) argument 296 getResolvedIntegerAttribute(const ResTable* resTable, const ResXMLTree& tree, uint32_t attrRes, String8* outError, int32_t defValue = -1) argument 317 getResolvedAttribute(const ResTable* resTable, const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument 391 printCompatibleScreens(ResXMLTree& tree) argument 497 ResXMLTree tree; local 524 ResXMLTree tree; local 542 ResXMLTree tree; local [all...] |
H A D | Main.h | 58 String8 getAttribute(const ResXMLTree& tree, const char* ns,
|
H A D | Resource.cpp | 2318 ResXMLTree tree; local 2343 err = parseXMLResource(assFile, &tree); 2348 tree.restart(); 2350 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 2362 String8 tag(tree.getElementName(&len)); 2370 pkg = getAttribute(tree, NULL, "package", NULL); 2376 String8 agent = getAttribute(tree, "http://schemas.android.com/apk/res/android", 2380 assFile->getPrintableSource(), tree.getLineNumber()); 2392 String8 name = getAttribute(tree, "http://schemas.android.com/apk/res/android", 2400 assFile->getPrintableSource(), tree 2421 ResXMLTree tree; local [all...] |
H A D | ResourceTable.cpp | 90 NOISY(ResXMLTree tree; 91 tree.setTo(target->getData(), target->getSize()); 92 printXMLBlock(&tree));
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 2122 + " is not allowed to add to permission tree " 2126 throw new SecurityException("No permission tree found for " + permName); 2162 BasePermission tree = checkPermissionTreeLP(info.name); 2168 bp = new BasePermission(info.name, tree.sourcePackage, 2176 && bp.perm.owner.equals(tree.perm.owner) 2177 && bp.uid == tree.uid 2185 bp.perm = new PackageParser.Permission(tree.perm.owner, info); 2186 bp.perm.info.packageName = tree.perm.info.packageName; 2187 bp.uid = tree.uid; 4359 p.tree [all...] |
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 498 * XML tree header. This appears at the front of an XML tree, 510 * Basic XML tree node. A single item in the XML document. Extended info 525 * Extended XML tree node for CDATA tags -- includes the CDATA string. 538 * Extended XML tree node for namespace start/end nodes. 551 * Extended XML tree node for element start/end nodes. 565 * Extended XML tree node for start tags -- includes attribute 619 ResXMLParser(const ResXMLTree& tree);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 871 // Only search the tree when the tag is directly below <manifest> 1013 } else if (tagName.equals("permission-tree")) { 1589 "<permission-tree>", sa, 1606 outError[0] = "<permission-tree> name has less than three segments: " 1614 perm.tree = true; 1616 if (!parseAllMetaData(res, parser, attrs, "<permission-tree>", perm, 3445 public boolean tree; field in class:PackageParser.Permission
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 774 ResXMLParser::ResXMLParser(const ResXMLTree& tree) argument 775 : mTree(tree), mEventCode(BAD_DOCUMENT)
|
Completed in 1694 milliseconds