Searched defs:children (Results 1 - 25 of 74) sorted by relevance

123

/frameworks/base/cmds/statsd/tests/condition/
H A DCombinationConditionTracker_test.cpp30 vector<int> children; local
31 children.push_back(0);
32 children.push_back(1);
33 children.push_back(2);
40 EXPECT_EQ(evaluateCombinationCondition(children, operation, conditionResults),
47 vector<int> children; local
48 children.push_back(0);
49 children.push_back(1);
50 children.push_back(2);
57 EXPECT_FALSE(evaluateCombinationCondition(children, operatio
71 vector<int> children; local
95 vector<int> children; local
112 vector<int> children; local
137 vector<int> children; local
[all...]
/frameworks/base/services/core/java/com/android/server/firewall/
H A DFilterList.java27 protected final ArrayList<Filter> children = new ArrayList<Filter>(); field in class:FilterList
39 children.add(filter);
/frameworks/base/cmds/incidentd/src/
H A DPrivacy.h46 // If children is null, it is a primitive field,
49 Privacy** children; member in struct:android::os::incidentd::Privacy
/frameworks/base/cmds/statsd/src/condition/
H A Dcondition_util.cpp41 ConditionState evaluateCombinationCondition(const std::vector<int>& children, argument
50 for (auto childIndex : children) {
79 newCondition = (conditionCache[children[0]] == ConditionState::kFalse)
/frameworks/base/sax/java/android/sax/
H A DChildren.java20 * Contains element children. Using this class instead of HashMap results in
25 Child[] children = new Child[16]; field in class:Children
34 Child current = children[index];
36 // We have no children in this bucket yet.
38 children[index] = current;
69 Child current = children[index];
H A DElement.java37 Children children; field in class:Element
67 + " text element listener. It cannot have children.");
70 if (children == null) {
71 children = new Children();
74 return children.getOrCreate(this, uri, localName);
156 if (children != null) {
157 throw new IllegalStateException("This element already has children."
174 * Clears flags on required children.
/frameworks/base/tools/aapt2/
H A DDominatorTree.h64 inline const std::vector<std::unique_ptr<Node>>& children() const { function in class:aapt::DominatorTree::Node
91 for (auto& child : root->children()) {
100 for (auto& child : node->children()) {
/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator.cpp102 std::vector<xml::Element*> children = el->GetChildElements(); local
103 for (xml::Element* child_el : children) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DArgListExpr.java34 public ArgListExpr(int id, Iterable<Expr> children) { argument
35 super(children);
/frameworks/support/media/api26/android/support/v4/media/
H A DMediaBrowserCompatApi26.java46 void onChildrenLoaded(@NonNull String parentId, List<?> children, @NonNull Bundle options); argument
58 List<MediaBrowser.MediaItem> children, @NonNull Bundle options) {
59 mSubscriptionCallback.onChildrenLoaded(parentId, children, options);
57 onChildrenLoaded(@onNull String parentId, List<MediaBrowser.MediaItem> children, @NonNull Bundle options) argument
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/
H A DIndentingPrintWriterBenchmark.java101 public ArrayList<Node> children; field in class:IndentingPrintWriterBenchmark.Node
105 public static Node build(String name, Node... children) { argument
108 if (children != null && children.length > 0) {
109 node.children = Lists.newArrayList(children);
129 if (children != null) {
130 for (Node child : children) {
141 if (children != null) {
143 for (Node child : children) {
[all...]
/frameworks/base/tools/preload/
H A DProc.java44 final List<Proc> children = new ArrayList<Proc>(); field in class:Proc
159 for (Proc child : children) {
/frameworks/base/cmds/statsd/src/matchers/
H A Dmatcher_util.cpp33 bool combinationMatch(const vector<int>& children, const LogicalOperation& operation, argument
39 for (const int childIndex : children) {
49 for (const int childIndex : children) {
58 matched = matcherResults[children[0]] == MatchingState::kNotMatched;
62 for (const int childIndex : children) {
71 for (const int childIndex : children) {
171 // ANY means all the children matchers match in any of the sub trees, it's a match
/frameworks/base/cmds/statsd/tests/
H A DLogEntryMatcher_test.cpp641 vector<int> children; local
642 children.push_back(0);
643 children.push_back(1);
644 children.push_back(2);
651 EXPECT_FALSE(combinationMatch(children, operation, matcherResults));
658 EXPECT_TRUE(combinationMatch(children, operation, matcherResults));
665 vector<int> children; local
666 children.push_back(0);
667 children.push_back(1);
668 children
689 vector<int> children; local
706 vector<int> children; local
731 vector<int> children; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSScrollLayout.java47 public QSScrollLayout(Context context, View... children) { argument
56 for (View view : children) {
/frameworks/base/services/core/java/com/android/server/
H A DLockGuard.java89 public ArraySet<Object> children = new ArraySet<>(0, true); field in class:LockGuard.LockInfo
118 for (int i = 0; i < info.children.size(); i++) {
119 final Object child = info.children.valueAt(i);
138 sKnown.valueAt(i).children.add(lock);
243 for (int j = 0; j < info.children.size(); j++) {
244 pw.println(" Child " + lockToString(info.children.valueAt(j)));
/frameworks/base/tests/net/java/com/android/server/
H A DIpSecServiceRefcountedResourceTest.java88 RefcountedResource... children) {
89 return getTestRefcountedResource(new Binder(), children);
94 IBinder binder, RefcountedResource... children) {
97 .new RefcountedResource<IResource>(mock(IResource.class), binder, children));
325 // Choose a random number of children from the existing list
328 // Build a (random) list of children
329 Set<RefcountedResource<IResource>> children = new HashSet<>();
332 children.add(resources.get(childIndex));
337 children.toArray(new RefcountedResource[children
87 getTestRefcountedResource( RefcountedResource... children) argument
93 getTestRefcountedResource( IBinder binder, RefcountedResource... children) argument
[all...]
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
H A DExprTest.java38 public DummyExpr(String key, DummyExpr... children) { argument
39 super(children);
/frameworks/av/media/libeffects/config/src/
H A DEffectsConfig.cpp38 /** @return all `node`s children that are elements and match the tag if provided. */
41 std::vector<std::reference_wrapper<const XMLElement>> children; local
44 children.emplace_back(*child);
46 return children;
/frameworks/base/cmds/incidentd/tests/
H A DPrivacyBuffer_test.cpp99 p->children = NULL;
105 Privacy* create_message_privacy(uint32_t field_id, Privacy** children) { argument
109 p->children = children;
276 field5->children = list;
285 autoMsg->children = list;
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DGraphicsPerformanceTests.java37 public static String[] children() { method in class:GraphicsPerformanceTests
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DBackgroundFallbackTest.java249 int visibility, List<ViewGroup> children) {
256 for (ViewGroup c : children) {
248 mockView(int left, int top, int right, int bottom, Drawable background, int visibility, List<ViewGroup> children) argument
/frameworks/base/libs/hwui/
H A DDisplayList.h84 // range of included children in DisplayList::children()
88 // whether children with non-zero Z in the chunk should be reordered
91 // clip at the beginning of a reorder section, applied to reordered children
104 const LsaVector<NodeOpType*>& getChildren() const { return children; }
139 // list of Ops referring to RenderNode children for quick, non-drawing traversal
140 LsaVector<NodeOpType*> children; member in class:android::uirenderer::DisplayList
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DAsn1Node.java82 * Adds children from bytes. This method calls {@link Asn1Decoder} to verify the {@code
83 * encodedBytes} and adds all nodes parsed from it as children.
207 // of its children, which will be decoded on the first call to getChildren().
212 // length of all its children.
241 * Creates a node with given data bytes. If it is a constructed node, its children will be
258 /** Creates a constructed node with given children. */
259 private Asn1Node(int tag, List<Asn1Node> children) { argument
262 mChildren = children;
265 int size = children.size();
267 mDataLength += children
[all...]
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.h95 std::vector<std::unique_ptr<Node>> children; member in class:aapt::xml::Element
132 // A Text (CDATA) XML node. Can not have any children.
167 // Visitor whose default implementation visits the children nodes of any node.
183 for (auto& child : el->children) {
214 for (const auto& child : el->children) {

Completed in 1162 milliseconds

123