Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/tools/aapt/
H A 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()
H A 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()
/aosp12/frameworks/base/tools/aapt2/format/binary/
H A 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
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
485 android::ResXMLTree tree; in TEST_F() local
[all …]
/aosp12/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
H A 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()
H A 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()
H A 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()
H A DBinderIdentityChecker.java63 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
99 private static Tree nextStatement(Tree tree, VisitorState state) { in nextStatement()
H A DTargetSdkChecker.java76 public Description matchBinary(BinaryTree tree, VisitorState state) { in matchBinary()
H A DRethrowFromSystemChecker.java82 public Description matchTry(TryTree tree, VisitorState state) { in matchTry()
H A DEfficientXmlChecker.java224 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
319 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
H A DClientSidePermissionCheckChecker.java73 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
H A DPendingIntentMutabilityChecker.java67 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
H A DCompatChangeChecker.java114 public Description matchBinary(BinaryTree tree, VisitorState state) { in matchBinary()
H A DContextUserIdChecker.java83 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
H A DEfficientParcelableChecker.java73 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
/aosp12/packages/providers/MediaProvider/errorprone/src/com/android/providers/media/
H A DMimeTypeChecker.java55 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
72 public Description matchSwitch(SwitchTree tree, VisitorState state) { in matchSwitch()
85 public boolean matches(ExpressionTree tree, VisitorState state) { in matches()
93 public boolean test(ExpressionTree tree) { in test()
H A DLocaleRootChecker.java59 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
/aosp12/system/libufdt/
H A Dufdt_convert.c53 void ufdt_destruct(struct ufdt *tree, struct ufdt_node_pool *pool) { in ufdt_destruct()
63 int ufdt_add_fdt(struct ufdt *tree, void *fdtp) { in ufdt_add_fdt()
87 int ufdt_get_string_off(const struct ufdt *tree, const char *s) { in ufdt_get_string_off()
166 void ufdt_print(struct ufdt *tree) { in ufdt_print()
213 struct ufdt_node *ufdt_get_node_by_path(struct ufdt *tree, const char *path) { in ufdt_get_node_by_path()
217 struct ufdt_node *ufdt_get_node_by_phandle(struct ufdt *tree, in ufdt_get_node_by_phandle()
275 struct ufdt_static_phandle_table build_phandle_table(struct ufdt *tree) { in build_phandle_table()
325 const struct ufdt *tree, void *fdtp, in _ufdt_output_property_to_fdt()
356 static int _ufdt_output_node_to_fdt(const struct ufdt *tree, void *fdtp, in _ufdt_output_node_to_fdt()
386 static int _ufdt_output_strtab_to_fdt(const struct ufdt *tree, void *fdt) { in _ufdt_output_strtab_to_fdt()
[all …]
H A Dufdt_overlay.c70 uint32_t ufdt_get_max_phandle(struct ufdt *tree) { in ufdt_get_max_phandle()
99 void ufdt_try_increase_phandle(struct ufdt *tree, uint32_t offset) { in ufdt_try_increase_phandle()
130 void *ufdt_get_fixup_location(struct ufdt *tree, const char *fixup) { in ufdt_get_fixup_location()
206 int ufdt_do_one_fixup(struct ufdt *tree, const char *fixups, int fixups_len, in ufdt_do_one_fixup()
321 enum overlay_result ufdt_overlay_get_target(struct ufdt *tree, in ufdt_overlay_get_target()
360 static enum overlay_result ufdt_apply_fragment(struct ufdt *tree, in ufdt_apply_fragment()
522 int ufdt_overlay_do_local_fixups(struct ufdt *tree, uint32_t phandle_offset) { in ufdt_overlay_do_local_fixups()
/aosp12/frameworks/base/tools/aapt2/tools/
H A Dpublic_attr_map.py26 tree = None variable
28 tree = ET.parse(f) variable
/aosp12/frameworks/base/tools/aapt2/
H A 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
/aosp12/frameworks/base/cmds/idmap2/libidmap2/
H A 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
/aosp12/packages/modules/Virtualization/authfs/src/fsverity/
H A Dbuilder.rs196 let mut tree = MerkleLeaves::new(); in merkle_tree_non_sequential() localVariable
214 let mut tree = MerkleLeaves::new(); in merkle_tree_grow_leaves() localVariable
231 let mut tree = MerkleLeaves::new(); in merkle_tree_shrink_leaves() localVariable
248 let mut tree = MerkleLeaves::new(); in generate_fsverity_digest_sequentially() localVariable
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DConvert_test.cpp55 android::ResXMLTree tree; in TEST_F() local
93 android::ResXMLTree tree; in TEST_F() local
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
H A DHidParserExample2.cpp58 std::shared_ptr<HidTreeNode> tree = hidParser.getTree()->deepCopy(); in main() local

123