Searched defs:tree (Results 1 - 23 of 23) sorted by path

/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java144 private static final String TAG_PERMISSION_TREE = "permission-tree";
1456 // Only search the tree when the tag is directly below <manifest>
2621 "<permission-tree>", sa,
2639 outError[0] = "<permission-tree> name has less than three segments: "
2647 perm.tree = true;
2649 if (!parseAllMetaData(res, parser, "<permission-tree>", perm,
2721 * Parse the {@code application} XML tree at the current parse location in a
3197 * Parse the {@code application} XML tree at the current parse location in a
5285 public boolean tree; field in class:PackageParser.Permission
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp134 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(nativePtr); local
135 RootAlphaPropertyValuesHolder* newHolder = new RootAlphaPropertyValuesHolder(tree,
H A Dandroid_graphics_drawable_VectorDrawable.cpp35 VectorDrawable::Tree* tree = new VectorDrawable::Tree(rootGroup); local
36 return reinterpret_cast<jlong>(tree);
42 VectorDrawable::Tree* tree = new VectorDrawable::Tree(treeToCopy, rootGroup); local
43 return reinterpret_cast<jlong>(tree);
95 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); local
96 tree->setAllowCaching(allowCaching);
104 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); local
109 return tree->draw(canvas, colorFilter, rect, needsMirroring, canReuseCache);
117 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); local
118 tree
122 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); local
127 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); local
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1016 ResXMLParser::ResXMLParser(const ResXMLTree& tree) argument
1017 : mTree(tree), mEventCode(BAD_DOCUMENT)
/frameworks/base/libs/hwui/
H A DDisplayListCanvas.cpp418 void DisplayListCanvas::drawVectorDrawable(VectorDrawableRoot* tree) { argument
419 mDisplayList->ref(tree);
420 mDisplayList->pushStagingFunctors.push_back(tree->getFunctor());
421 addDrawOp(new (alloc()) DrawVectorDrawableOp(tree, tree->stagingProperties()->getBounds()));
H A DDisplayListOp.h1113 DrawVectorDrawableOp(VectorDrawableRoot* tree, const SkRect& bounds) argument
1114 : DrawOp(nullptr), mTree(tree), mDst(bounds) {}
H A DPropertyValuesHolder.h110 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) argument
111 : mTree(tree)
H A DRecordedOp.h351 VectorDrawableOp(VectorDrawable::Tree* tree, BASE_PARAMS_PAINTLESS) argument
353 , vectorDrawable(tree) {}
H A DRecordingCanvas.cpp442 void RecordingCanvas::drawVectorDrawable(VectorDrawableRoot* tree) { argument
443 mDisplayList->pushStagingFunctors.push_back(tree->getFunctor());
444 mDisplayList->ref(tree);
446 tree,
447 Rect(tree->stagingProperties()->getBounds()),
H A DVectorDrawable.h49 /* A VectorDrawable is composed of a tree of nodes.
62 * Render Thread. A generation id is used to keep track of changes in the vector drawable tree.
64 * change in the tree.
546 // Copy properties from the tree and use the give node as the root node
579 TreeProperties(Tree* tree) : mTree(tree) {} argument
684 VectorDrawableFunctor(Tree* tree) : mTree(tree) {} argument
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp612 // buildLayer() will leave the tree in an unknown state, so we must stop drawing
749 proto::RenderNode tree; local
751 mRootRenderNode->copyTo(&tree);
752 std::string data = tree.SerializeAsString();
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java3950 + " is not allowed to add to permission tree "
3954 throw new SecurityException("No permission tree found for " + permName);
3993 int calculateCurrentPermissionFootprintLocked(BasePermission tree) { argument
3996 if (perm.uid == tree.uid) {
4003 void enforcePermissionCapLocked(PermissionInfo info, BasePermission tree) { argument
4006 if (tree.uid != Process.SYSTEM_UID) {
4007 final int curTreeSize = calculateCurrentPermissionFootprintLocked(tree);
4009 throw new SecurityException("Permission tree size cap exceeded");
4018 BasePermission tree = checkPermissionTreeLP(info.name);
4024 enforcePermissionCapLocked(info, tree);
[all...]
/frameworks/base/tools/aapt/
H A DAaptXml.cpp26 static String8 getStringAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, argument
29 if (tree.getAttributeValue(attrIndex, &value) < 0) {
44 const char16_t* str = tree.getAttributeStringValue(attrIndex, &len);
48 static int32_t getIntegerAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, argument
51 if (tree.getAttributeValue(attrIndex, &value) < 0) {
69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { argument
70 size_t attrCount = tree.getAttributeCount();
72 if (tree.getAttributeNameResID(i) == attrRes) {
79 String8 getAttribute(const ResXMLTree& tree, const char* ns, argument
81 ssize_t idx = tree
88 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument
96 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument
123 getIntegerAttribute(const ResXMLTree& tree, const char* ns, const char* attr, int32_t defValue, String8* outError) argument
132 getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, String8* outError) argument
141 getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, String8* outError) argument
163 getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, Res_value* outValue, String8* outError) argument
[all...]
H A DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
37 android::String8 getAttribute(const android::ResXMLTree& tree, const char* ns,
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
53 int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns,
61 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns, argument
63 return getIntegerAttribute(tree, ns, attr, -1, outError);
71 int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
79 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes, argument
81 return getIntegerAttribute(tree, attrRes, -1, outError);
90 const android::ResXMLTree& tree, uint32_
98 getResolvedIntegerAttribute(const android::ResTable& resTable, const android::ResXMLTree& tree, uint32_t attrRes, android::String8* outError) argument
[all...]
H A DCommand.cpp235 ResXMLTree tree; local
236 tree.setTo(manifestAsset->getBuffer(true),
238 printXMLBlock(&tree);
250 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, argument
254 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError);
260 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError);
328 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { argument
334 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
346 const char16_t* ctag16 = tree.getElementName(&len);
353 int32_t screenSize = AaptXml::getIntegerAttribute(tree,
417 ResXMLTree tree; local
[all...]
H A DResource.cpp978 static ssize_t extractPlatformBuildVersion(ResXMLTree& tree, Bundle* bundle) { argument
981 while ((code = tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
986 const char16_t* ctag16 = tree.getElementName(&len);
998 int32_t versionCode = AaptXml::getIntegerAttribute(tree, VERSION_CODE_ATTR, &error);
1008 String8 versionName = AaptXml::getAttribute(tree, VERSION_NAME_ATTR, &error);
1031 ResXMLTree tree; local
1039 if (tree.setTo(asset->getBuffer(true), asset->getLength()) != NO_ERROR) {
1043 result = extractPlatformBuildVersion(tree, bundle);
2841 ResXMLTree tree; local
2867 err = parseXMLResource(assFile, &tree);
2971 ResXMLTree tree; local
[all...]
H A DResourceTable.cpp131 ResXMLTree tree; local
132 tree.setTo(target->getData(), target->getSize());
133 printXMLBlock(&tree);
5080 // Append all namespace declarations that we've seen on this branch in the XML tree
/frameworks/base/tools/aapt2/
H A Dpublic_attr_map.py26 tree = None variable
28 tree = ET.parse(f) variable
31 for node in tree.iter('public'):
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.cpp238 ResXMLTree tree; local
239 if (tree.setTo(data, dataLen) != NO_ERROR) {
244 while ((code = tree.next()) != ResXMLParser::BAD_DOCUMENT &&
251 const char16_t* str16 = tree.getNamespacePrefix(&len);
256 str16 = tree.getNamespaceUri(&len);
267 const char16_t* str16 = tree.getElementNamespace(&len);
272 str16 = tree.getElementName(&len);
277 copyAttributes(node.get(), &tree);
286 const char16_t* str16 = tree.getText(&len);
306 newNode->lineNumber = tree
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/native/opengl/tools/glgen2/registry/
H A Dgenheaders.py97 tree = etree.parse(regFilename) variable
101 reg.loadElementTree(tree)
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...

Completed in 5681 milliseconds