Home
last modified time | relevance | path

Searched defs:tree (Results 1 – 25 of 47) 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.cpp85 android::ResXMLTree tree; in TEST_F() local
144 android::ResXMLTree tree; in TEST_F() local
165 android::ResXMLTree tree; in TEST_F() local
182 android::ResXMLTree tree; in TEST_F() local
197 android::ResXMLTree tree; in TEST_F() local
231 auto tree = android::ResXMLTree(std::move(dynamic_ref_table)); in TEST_F() local
257 android::ResXMLTree tree; in TEST_F() local
299 android::ResXMLTree tree; in TEST_F() local
368 android::ResXMLTree tree; in TEST_F() local
461 android::ResXMLTree tree; in TEST_F() local
[all …]
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionChecker.java136 public Description matchMethod(MethodTree tree, VisitorState state) { in matchMethod()
203 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
293 public void addConstValue(Tree tree) { in addConstValue()
301 private static ExpressionTree findArgumentByParameterName(MethodInvocationTree tree, in findArgumentByParameterName()
313 private static Name resolveName(ExpressionTree tree) { in resolveName()
323 private static ParsedRequiresPermission parseIntentAction(NewClassTree tree) { in parseIntentAction()
333 private static ParsedRequiresPermission parseIntentAction(MethodInvocationTree tree) { in parseIntentAction()
391 MethodInvocationTree tree, VisitorState state) { in parseBroadcastTargetRequiresPermission()
414 MethodInvocationTree tree, VisitorState state) { in parseRequiresPermissionRecursively()
DUidChecker.java55 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
60 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
65 List<? extends ExpressionTree> args, Tree tree) { in matchArguments()
112 public static Flavor getFlavor(ExpressionTree tree) { in getFlavor()
DEfficientStringsChecker.java111 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
159 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
170 public Description matchCompoundAssignment(CompoundAssignmentTree tree, VisitorState state) { in matchCompoundAssignment()
DBinderIdentityChecker.java65 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
101 private static Tree nextStatement(Tree tree, VisitorState state) { in nextStatement()
DHideInCommentsChecker.java65 public Description matchCompilationUnit(CompilationUnitTree tree, VisitorState state) { in matchCompilationUnit()
115 private Map<Integer, Tree> findJavadocableTrees(CompilationUnitTree tree) { in findJavadocableTrees()
DClientSidePermissionCheckChecker.java75 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DEfficientXmlChecker.java228 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
323 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
DPendingIntentMutabilityChecker.java69 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DTargetSdkChecker.java78 public Description matchBinary(BinaryTree tree, VisitorState state) { in matchBinary()
DCompatChangeChecker.java116 public Description matchBinary(BinaryTree tree, VisitorState state) { in matchBinary()
DContextUserIdChecker.java87 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DRethrowFromSystemChecker.java84 public Description matchTry(TryTree tree, VisitorState state) { in matchTry()
DEfficientParcelableChecker.java75 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DEfficientCollectionsChecker.java58 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
DUnattributedNoteOpCallChecker.java100 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
DBluetoothPermissionChecker.java108 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/services/core/java/com/android/server/pm/pkg/component/
DParsedPermissionImpl.java53 private boolean tree; field in ParsedPermissionImpl
161 boolean tree, in ParsedPermissionImpl()
/frameworks/base/tools/aapt2/cmd/
DConvert_test.cpp60 android::ResXMLTree tree; in TEST_F() local
98 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

12