/aosp14/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/ |
H A D | IndentingPrintWriterBenchmark.java | 36 private Node mSimple; 37 private Node mComplex; 45 final Node manyChildren = Node.build("ManyChildren", Node.build("1"), Node.build("2"), in setUp() 46 Node.build("3"), Node.build("4"), Node.build("5"), Node.build("6"), Node.build("7"), in setUp() 47 Node.build("8"), Node.build("9"), Node.build("10")); in setUp() 49 mSimple = Node.build("RED"); in setUp() 50 mComplex = Node.build("PARENT", Node.build("RED"), Node.build("GREEN", in setUp() 102 private static class Node { class in IndentingPrintWriterBenchmark 104 public ArrayList<Node> children; 108 public static Node build(String name, Node... children) { in build() [all …]
|
/aosp14/frameworks/base/tools/aapt2/ |
H A D | DominatorTree.h | 53 class Node { 55 explicit Node(ResourceConfigValue* value = nullptr, Node* parent = nullptr) 60 inline Node* parent() const { return parent_; } in parent() 71 bool AddChild(std::unique_ptr<Node> new_child); 72 bool Dominates(const Node* other) const; 75 Node* parent_; 76 std::vector<std::unique_ptr<Node>> children_; 78 DISALLOW_COPY_AND_ASSIGN(Node); 96 virtual void VisitConfig(Node* node) = 0; 99 void VisitNode(Node* node) { in VisitNode() [all …]
|
H A D | DominatorTree.cpp | 32 util::make_unique<Node>(config.get(), nullptr)); in DominatorTree() 42 bool DominatorTree::Node::TryAddChild(std::unique_ptr<Node> new_child) { in TryAddChild() 51 bool DominatorTree::Node::AddChild(std::unique_ptr<Node> new_child) { in AddChild() 66 [](const std::unique_ptr<Node>& child) -> bool { in AddChild() 84 bool DominatorTree::Node::Dominates(const Node* other) const { in Dominates()
|
H A D | DominatorTree_test.cpp | 37 DominatorTree::Node* root) override { in VisitTree() 51 void VisitConfig(const DominatorTree::Node* node, const int indent) { in VisitConfig() 58 void VisitNode(const DominatorTree::Node* node, const int indent) { in VisitNode()
|
/aosp14/frameworks/base/cmds/idmap2/libidmap2/ |
H A D | XmlParser.cpp | 34 XmlParser::Node::Node(const ResXMLTree& tree) : Node(tree, get_tree_position(tree)) { in Node() function in android::idmap2::XmlParser::Node 36 XmlParser::Node::Node(const ResXMLTree& tree, const ResXMLParser::ResXMLPosition& pos) in Node() function in android::idmap2::XmlParser::Node 41 bool XmlParser::Node::operator==(const XmlParser::Node& rhs) const { in operator ==() 48 bool XmlParser::Node::operator!=(const XmlParser::Node& rhs) const { in operator !=() 52 ResXMLParser::ResXMLPosition XmlParser::Node::get_position() const { in get_position() 56 void XmlParser::Node::set_position(const ResXMLParser::ResXMLPosition& pos) { in set_position() 60 bool XmlParser::Node::Seek(bool inner_child) { in Seek() 83 XmlParser::Event XmlParser::Node::event() const { in event() 87 std::string XmlParser::Node::name() const { in name() 127 Result<Res_value> XmlParser::Node::GetAttributeValue(ResourceId attr, in GetAttributeValue() [all …]
|
/aosp14/frameworks/base/cmds/idmap2/include/idmap2/ |
H A D | XmlParser.h | 37 class Node { 48 bool operator==(const Node& rhs) const; 49 bool operator!=(const Node& rhs) const; 52 explicit Node(const ResXMLTree& tree); 53 Node(const ResXMLTree& tree, const ResXMLParser::ResXMLPosition& pos); 108 inline const Node operator*() { 109 return Node(tree_, iter_.get_position()); 112 inline const Node* operator->() { 119 iterator(const ResXMLTree& tree, const Node& node) in iterator() 120 : tree_(tree), iter_(Node(tree, node.get_position())) { in iterator() [all …]
|
/aosp14/frameworks/base/tools/incident_report/ |
H A D | generic_message.cpp | 30 Node node; in addInt32() 33 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addInt32() 39 Node node; in addInt64() 42 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addInt64() 49 Node node; in addMessage() 52 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addMessage() 59 Node node; in addString() 62 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addString()
|
H A D | generic_message.h | 45 struct Node { struct 61 typedef multimap<int32_t,Node>::const_iterator const_iterator; argument 67 multimap<int,Node> mNodes;
|
/aosp14/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 77 private ArrayList<Node> mPlayingSet = new ArrayList<Node>(); 85 private ArrayMap<Animator, Node> mNodeMap = new ArrayMap<Animator, Node>(); 97 private ArrayList<Node> mNodes = new ArrayList<Node>(); 121 private Node mRootNode = new Node(mDelayAnim); 1325 Node node, 1508 HashMap<Node, Node> clonesMap = new HashMap<>(nodeCount); 1669 ArrayList<Node> visited = new ArrayList<Node>(mNodes.size()); 1800 private void updatePlayTime(Node parent, ArrayList<Node> visited) { 1857 private void findSiblings(Node node, ArrayList<Node> siblings) { 1959 Node node = (Node) super.clone(); [all …]
|
/aosp14/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.h | 40 class Node { 42 virtual ~Node() = default; 86 class Element : public Node { 94 std::vector<std::unique_ptr<Node>> children; 96 void AppendChild(std::unique_ptr<Node> child); 97 void InsertChild(size_t index, std::unique_ptr<Node> child); 122 std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) const override; 129 class Text : public Node { 162 Element* FindRootElement(Node* node); 294 const T* NodeCast(const Node* node) { in NodeCast() [all …]
|
H A D | XmlDom.cpp | 290 std::unique_ptr<Node> new_node; in Inflate() 399 Element* FindRootElement(Node* node) { in FindRootElement() 410 void Element::AppendChild(std::unique_ptr<Node> child) { in AppendChild() 415 void Element::InsertChild(size_t index, std::unique_ptr<Node> child) { in InsertChild() 495 std::unique_ptr<Node> Element::Clone(const ElementCloneFunc& el_cloner) const { in Clone() 506 for (const std::unique_ptr<xml::Node>& child : children) { in Clone() 528 std::unique_ptr<Node> Text::Clone(const ElementCloneFunc&) const { in Clone()
|
/aosp14/frameworks/base/cmds/incident_helper/testdata/ |
H A D | pagetypeinfo.txt | 5 Node 0, zone DMA, type Unmovable 426 279 226 1 1 1 0 0… 6 Node 0, zone Normal, type Reclaimable 953 773 437 154 92 26 15 14… 9 Node 0, zone DMA 74 9 337 41 1 0 10 Node 0, zone Normal 70 12 423 0 1 0
|
/aosp14/frameworks/base/tools/codegen/src/com/android/codegen/ |
H A D | Debug.kt | 19 import com.github.javaparser.ast.Node 21 fun Node.dump(indent: String = ""): String { regex 31 private fun Node.dumpOneLineNoChildren(): String { regex
|
H A D | Utils.kt | 6 import com.github.javaparser.ast.Node 118 fun <T: Node> parseJava(fn: JavaParser.(String) -> ParseResult<T>, source: String): T = try {
|
/aosp14/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptGroup.java | 79 static class Node { class in ScriptGroup 86 Node mNext; 88 Node(Script s) { in Node() method in ScriptGroup.Node 561 private ArrayList<Node> mNodes = new ArrayList<Node>(); 577 private void validateCycle(Node target, Node original) { in validateCycle() 627 Node n = mNodes.get(ct); in validateDAG() 655 Node n = mNodes.get(ct); in findNode() 688 n = new Node(k.mScript); in addKernel() 710 Node nf = findNode(from); in addConnection() 745 Node nf = findNode(from); in addConnection() [all …]
|
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/ |
H A D | PackageVisibilityDetector.kt | 79 systemServerApiNodes: List<CallGraph.Node>, 80 sinkMethodNodes: List<CallGraph.Node> 126 node: CallGraph.Node 148 node: CallGraph.Node, 163 apiNode: CallGraph.Node, 214 private fun CallGraph.Node.getUMethod(): UMethod? = this.target.element as? UMethod 220 private fun CallGraph.Node.getModuleName(): String? { 236 private fun CallGraph.Node.isArgumentInUse(argIndex: Int): Boolean { 331 private fun hasValidPath(paths: Collection<List<CallGraph.Node>>): Boolean { 403 val node: CallGraph.Node,
|
/aosp14/frameworks/base/tools/aapt2/optimize/ |
H A D | ResourceDeduper.cpp | 44 using Node = DominatorTree::Node; typedef in aapt::__anona013b5d00110::DominatedKeyValueRemover 49 void VisitConfig(Node* node) { in VisitConfig() 50 Node* parent = node->parent(); in VisitConfig()
|
/aosp14/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/ |
H A D | DOMFuncs.ts | 17 | { commentNode: Node; textContent: string; hidden: boolean }; 41 …let insertPoint: Node | null = containerElement.lastElementChild; //.childNodes[containerElement.c… 67 static insertBeforeIndented(newNode: Node, referenceNode: Node) { 81 static insertAfterIdented(newNode: Node, referenceNode: Node) { 121 let insertPoint: Node = templateElement;
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.h | 101 class Node { 105 explicit Properties(Node* node) : mNode(node) {} in Properties() 109 Node* mNode; 111 Node(const Node& node) { mName = node.mName; } in Node() function 112 Node() {} in Node() function 120 virtual ~Node() {} in ~Node() 131 class Path : public Node { 382 class Group : public Node { 450 void addChild(Node* child); 452 Node::setPropertyChangedListener(listener); in setPropertyChangedListener() [all …]
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | RelativeLayout.java | 1875 private ArrayList<Node> mNodes = new ArrayList<Node>(); 1881 private SparseArray<Node> mKeyNodes = new SparseArray<Node>(); 1887 private ArrayDeque<Node> mRoots = new ArrayDeque<Node>(); 1912 final Node node = Node.acquire(view); in add() 1935 Node node; in getSortedViews() 2028 static class Node { class in DependencyGraph 2031 Node() { in Node() method in DependencyGraph.Node 2049 final SparseArray<Node> dependencies = new SparseArray<Node>(); 2060 static Node acquire(View view) { in acquire() 2061 Node node = sPool.acquire(); in acquire() [all …]
|
/aosp14/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
H A D | ParsingContext.kt | 19 import com.github.javaparser.ast.Node 22 constructor(filePath: String, node: Node)
|
H A D | LogLevel.kt | 19 import com.github.javaparser.ast.Node 25 fun getLevelForMethodName(name: String, node: Node, context: ParsingContext): LogLevel {
|
/aosp14/frameworks/base/tools/xmlpersistence/src/main/kotlin/ |
H A D | Parser.kt | 21 import com.github.javaparser.ast.Node 187 private inline fun <reified T : Node> Node.getNodesByClass(): List<T> = 190 private fun <T : Node> Node.getNodesByClass(klass: Class<T>): List<T> = mutableListOf<T>().apply {
|
/aosp14/frameworks/base/tools/aapt2/format/binary/ |
H A D | XmlFlattener.h | 47 bool Flatten(IAaptContext* context, const xml::Node* node);
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
H A D | CertUtils.java | 26 import org.w3c.dom.Node; 213 Node node = childNodes.item(i); in getXmlDirectChildren() 214 if (node.getNodeType() == Node.ELEMENT_NODE && node.getNodeName().equals(tag)) { in getXmlDirectChildren()
|