Home
last modified time | relevance | path

Searched defs:tree (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/tools/aapt/
DAaptXml.cpp26 static String8 getStringAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, in getStringAttributeAtIndex()
48 static int32_t getIntegerAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, in getIntegerAttributeAtIndex()
69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { in indexOfAttribute()
79 String8 getAttribute(const ResXMLTree& tree, const char* ns, in getAttribute()
88 String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) { in getAttribute()
96 String8 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedAttribute()
139 int32_t getIntegerAttribute(const ResXMLTree& tree, const char* ns, in getIntegerAttribute()
148 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, in getIntegerAttribute()
157 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedIntegerAttribute()
179 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedResourceAttribute()
DAaptXml.h61 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns, in getIntegerAttribute()
79 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes, in getIntegerAttribute()
99 const android::ResXMLTree& tree, uint32_t attrRes, in getResolvedIntegerAttribute()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener_test.cpp86 android::ResXMLTree tree; in TEST_F() local
145 android::ResXMLTree tree; in TEST_F() local
166 android::ResXMLTree tree; in TEST_F() local
183 android::ResXMLTree tree; in TEST_F() local
198 android::ResXMLTree tree; in TEST_F() local
232 auto tree = android::ResXMLTree(std::move(dynamic_ref_table)); in TEST_F() local
258 android::ResXMLTree tree; in TEST_F() local
300 android::ResXMLTree tree; in TEST_F() local
369 android::ResXMLTree tree; in TEST_F() local
462 android::ResXMLTree tree; in TEST_F() local
[all …]
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionChecker.java134 public Description matchMethod(MethodTree tree, VisitorState state) { in matchMethod()
198 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
288 public void addConstValue(Tree tree) { in addConstValue()
296 private static ExpressionTree findArgumentByParameterName(MethodInvocationTree tree, in findArgumentByParameterName()
308 private static Name resolveName(ExpressionTree tree) { in resolveName()
318 private static ParsedRequiresPermission parseIntentAction(NewClassTree tree) { in parseIntentAction()
328 private static ParsedRequiresPermission parseIntentAction(MethodInvocationTree tree) { in parseIntentAction()
386 MethodInvocationTree tree, VisitorState state) { in parseBroadcastTargetRequiresPermission()
409 MethodInvocationTree tree, VisitorState state) { in parseRequiresPermissionRecursively()
DUidChecker.java53 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
58 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
63 List<? extends ExpressionTree> args, Tree tree) { in matchArguments()
110 public static Flavor getFlavor(ExpressionTree tree) { in getFlavor()
DEfficientStringsChecker.java109 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
157 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
168 public Description matchCompoundAssignment(CompoundAssignmentTree tree, VisitorState state) { in matchCompoundAssignment()
DBinderIdentityChecker.java63 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
99 private static Tree nextStatement(Tree tree, VisitorState state) { in nextStatement()
DClientSidePermissionCheckChecker.java73 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DEfficientXmlChecker.java224 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
319 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
DPendingIntentMutabilityChecker.java67 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DTargetSdkChecker.java76 public Description matchBinary(BinaryTree tree, VisitorState state) { in matchBinary()
DCompatChangeChecker.java114 public Description matchBinary(BinaryTree tree, VisitorState state) { in matchBinary()
DContextUserIdChecker.java83 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DRethrowFromSystemChecker.java82 public Description matchTry(TryTree tree, VisitorState state) { in matchTry()
DEfficientParcelableChecker.java73 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DEfficientCollectionsChecker.java56 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
DBluetoothPermissionChecker.java106 public Description matchMethod(MethodTree tree, VisitorState state) { in matchMethod()
/frameworks/base/tools/aapt2/tools/
Dpublic_attr_map.py26 tree = None variable
28 tree = ET.parse(f) variable
/frameworks/base/tools/aapt2/
DDominatorTree_test.cpp43 std::string ToString(DominatorTree* tree) { in ToString()
81 DominatorTree tree(configs); in TEST() local
102 DominatorTree tree(configs); in TEST() local
137 DominatorTree tree(configs); in TEST() local
165 DominatorTree tree(configs); in TEST() local
189 DominatorTree tree(configs); in TEST() local
217 DominatorTree tree(configs); in TEST() local
/frameworks/base/cmds/idmap2/libidmap2/
DXmlParser.cpp28 ResXMLParser::ResXMLPosition get_tree_position(const T& tree) { in get_tree_position()
34 XmlParser::Node::Node(const ResXMLTree& tree) : Node(tree, get_tree_position(tree)) { in Node()
36 XmlParser::Node::Node(const ResXMLTree& tree, const ResXMLParser::ResXMLPosition& pos) in Node()
154 XmlParser::XmlParser(std::unique_ptr<ResXMLTree> tree) : tree_(std::move(tree)) { in XmlParser()
158 auto tree = std::make_unique<ResXMLTree>(); in Create() local
/frameworks/base/tools/aapt2/cmd/
DConvert_test.cpp55 android::ResXMLTree tree; in TEST_F() local
93 android::ResXMLTree tree; in TEST_F() local
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp33 VectorDrawable::Tree* tree = new VectorDrawable::Tree(rootGroup); in createTree() local
40 VectorDrawable::Tree* tree = new VectorDrawable::Tree(treeToCopy, rootGroup); in createTreeFromCopy() local
93 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in setAllowCaching() local
98 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in setAntiAlias() local
107 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in draw() local
120 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in setTreeViewportSize() local
125 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in setRootAlpha() local
130 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in getRootAlpha() local
/frameworks/base/tools/aapt2/optimize/
DResourceDeduper.cpp98 DominatorTree tree(entry->values); in DedupeEntry() local
/frameworks/base/tools/processors/intdef_mappings/src/android/processor/
DIntDefProcessor.kt89 val tree = trees.getTree(annotatedElement, annotationMirror, value) constant
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedPermission.java47 boolean tree; field in ParsedPermission

12