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

123

/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/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.cpp111 std::vector<xml::Element*> children = el->GetChildElements(); local
112 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-compat/api26/android/support/v4/media/
H A DMediaBrowserCompatApi26.java45 void onChildrenLoaded(@NonNull String parentId, List<?> children, @NonNull Bundle options); argument
57 List<MediaBrowser.MediaItem> children, @NonNull Bundle options) {
58 mSubscriptionCallback.onChildrenLoaded(parentId, children, options);
56 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/packages/Osu/src/com/android/hotspot2/omadm/
H A DOMAConstructed.java19 MultiValueMap<OMANode> children, Map<String, String> avps) {
21 mChildren = children;
18 OMAConstructed(OMAConstructed parent, String name, String context, MultiValueMap<OMANode> children, Map<String, String> avps) argument
/frameworks/base/services/core/java/com/android/server/
H A DLockGuard.java86 public ArraySet<Object> children = new ArraySet<>(0, true); field in class:LockGuard.LockInfo
112 for (int i = 0; i < info.children.size(); i++) {
113 final Object child = info.children.valueAt(i);
132 sKnown.valueAt(i).children.add(lock);
205 for (int j = 0; j < info.children.size(); j++) {
206 pw.println(" Child " + lockToString(info.children.valueAt(j)));
/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.cpp37 /** @return all `node`s children that are elements and match the tag if provided. */
40 std::vector<std::reference_wrapper<const XMLElement>> children; local
43 children.emplace_back(*child);
45 return children;
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DGraphicsPerformanceTests.java37 public static String[] children() { method in class:GraphicsPerformanceTests
/frameworks/base/libs/hwui/
H A DDisplayList.h83 // range of included children in DisplayList::children()
87 // whether children with non-zero Z in the chunk should be reordered
90 // clip at the beginning of a reorder section, applied to reordered children
103 const LsaVector<NodeOpType*>& getChildren() const { return children; }
142 // list of Ops referring to RenderNode children for quick, non-drawing traversal
143 LsaVector<NodeOpType*> children; member in class:android::uirenderer::DisplayList
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.h93 std::vector<std::unique_ptr<Node>> children; member in class:aapt::xml::Element
117 // A Text (CDATA) XML node. Can not have any children.
151 // Visitor whose default implementation visits the children nodes of any node.
167 for (auto& child : el->children) {
/frameworks/base/tools/bit/
H A Daapt.cpp56 vector<Element*> children; member in struct:Element
78 const size_t N = children.size();
80 delete children[i];
100 const size_t N = children.size();
102 Element* child = children[i];
213 current->children.push_back(element);
/frameworks/support/media-compat/api21/android/support/v4/media/
H A DMediaBrowserCompatApi21.java117 void onChildrenLoaded(@NonNull String parentId, List<?> children); argument
131 List<MediaBrowser.MediaItem> children) {
132 mSubscriptionCallback.onChildrenLoaded(parentId, children);
130 onChildrenLoaded(@onNull String parentId, List<MediaBrowser.MediaItem> children) argument
/frameworks/support/media-compat-test-client/tests/src/android/support/mediacompat/client/
H A DMediaBrowserCompatTest.java274 // After unsubscribing, make StubMediaBrowserServiceCompat notify that the children are
328 // After unsubscribing, make StubMediaBrowserServiceCompat notify that the children are
407 // After unsubscribing, make StubMediaBrowserServiceCompat notify that the children are
459 // Make StubMediaBrowserServiceCompat notify that the children are changed.
608 public void onChildrenLoaded(String parentId, List<MediaItem> children) { argument
612 mLastChildMediaItems = children;
618 public void onChildrenLoaded(String parentId, List<MediaItem> children, Bundle options) { argument
623 mLastChildMediaItems = children;
/frameworks/av/media/libstagefright/webm/
H A DWebmFrameThread.cpp107 // children:
115 List<sp<WebmElement> >& children) {
116 CHECK(!frames.empty() && children.empty());
121 children.clear();
122 children.push_back(clusterTimecode);
125 void WebmFrameSinkThread::writeCluster(List<sp<WebmElement> >& children) { argument
126 // children must contain at least one simpleblock and its timecode
127 CHECK_GE(children.size(), 2u);
130 sp<WebmElement> cluster = new WebmMaster(kMkvCluster, children);
132 children
112 initCluster( List<const sp<WebmFrame> >& frames, uint64_t& clusterTimecodeL, List<sp<WebmElement> >& children) argument
145 List<sp<WebmElement> > children; local
[all...]
H A DWebmElement.cpp50 uint64_t childrenSum(const List<sp<WebmElement> >& children) { argument
52 for (List<sp<WebmElement> >::const_iterator it = children.begin();
53 it != children.end(); ++it) {
233 WebmMaster::WebmMaster(uint64_t id, const List<sp<WebmElement> >& children) argument
234 : WebmElement(id, childrenSum(children)), mChildren(children) {
H A DWebmWriter.cpp477 List<sp<WebmElement> > children; local
479 children.push_back(mStreamsInOrder[i]);
481 tracks = new WebmMaster(kMkvTracks, children);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationGroupManager.java100 group.children.remove(removed.key);
105 if (group.children.isEmpty()) {
125 NotificationData.Entry existing = group.children.get(added.key);
135 group.children.put(added.key, added);
141 if (!group.children.isEmpty()) {
143 = new ArrayList<>(group.children.values());
164 && (group.children.size() == 1
165 || (group.children.size() == 0
246 int realChildren = group != null ? group.children.size() : 0;
290 if (group.children
481 public final HashMap<String, NotificationData.Entry> children = new HashMap<>(); field in class:NotificationGroupManager.NotificationGroup
[all...]
/frameworks/support/media-compat/tests/src/android/support/v4/media/
H A DMediaBrowserCompatTest.java322 // After unsubscribing, make StubMediaBrowserServiceCompat notify that the children are
378 // After unsubscribing, make StubMediaBrowserServiceCompat notify that the children are
463 // After unsubscribing, make StubMediaBrowserServiceCompat notify that the children are
516 // Make StubMediaBrowserServiceCompat notify that the children are changed.
664 public void onChildrenLoaded(String parentId, List<MediaItem> children) { argument
668 mLastChildMediaItems = children;
674 public void onChildrenLoaded(String parentId, List<MediaItem> children, Bundle options) { argument
679 mLastChildMediaItems = children;
H A DMediaBrowserServiceCompatTest.java443 public void onChildrenLoaded(String parentId, List<MediaItem> children) { argument
446 if (children != null) {
447 for (MediaItem item : children) {
456 public void onChildrenLoaded(String parentId, List<MediaItem> children, Bundle options) { argument
459 if (children != null) {
460 for (MediaItem item : children) {

Completed in 2862 milliseconds

123