/frameworks/base/cmds/statsd/tests/condition/ |
D | CombinationConditionTracker_test.cpp | 31 vector<int> children; in TEST() local 32 children.push_back(0); in TEST() 33 children.push_back(1); in TEST() 34 children.push_back(2); in TEST() 41 EXPECT_EQ(evaluateCombinationCondition(children, operation, conditionResults), in TEST() 49 vector<int> children; in TEST() local 50 children.push_back(0); in TEST() 51 children.push_back(1); in TEST() 52 children.push_back(2); in TEST() 59 EXPECT_FALSE(evaluateCombinationCondition(children, operation, conditionResults)); in TEST() [all …]
|
/frameworks/ml/nn/tools/systrace_parser/parser/ |
D | tree.py | 52 for c in node.children: 64 for c in node.children: 89 for c in node.children: 135 for c in node.children: 169 for c in node.children: 181 return not self.root.children 188 self.children = [] 234 for c in self.children: 241 for c in self.children: 250 self.children.append(node) [all …]
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemGroup.java | 75 private final List<ItemHierarchy> children = new ArrayList<>(); field in ItemGroup 117 children.add(child); in addChild() 133 final int childIndex = identityIndexOf(children, child); in removeChild() 138 children.remove(childIndex); in removeChild() 150 if (children.isEmpty()) { in clear() 156 for (ItemHierarchy item : children) { in clear() 160 children.clear(); in clear() 173 ItemHierarchy item = children.get(itemIndex); in getItemAt() 192 return getChildPosition(identityIndexOf(children, child)); in getChildPosition() 199 int childCount = children.size(); in getChildPosition() [all …]
|
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/ |
D | IndentingPrintWriterBenchmark.java | 101 public ArrayList<Node> children; field in IndentingPrintWriterBenchmark.Node 105 public static Node build(String name, Node... children) { in build() argument 108 if (children != null && children.length > 0) { in build() 109 node.children = Lists.newArrayList(children); in build() 129 if (children != null) { in dumpDirect() 130 for (Node child : children) { in dumpDirect() 141 if (children != null) { in dumpIndenting() 143 for (Node child : children) { in dumpIndenting()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.cpp | 117 List<sp<WebmElement> >& children) { in initCluster() 118 CHECK(!frames.empty() && children.empty()); in initCluster() 123 children.clear(); in initCluster() 124 children.push_back(clusterTimecode); in initCluster() 127 void WebmFrameSinkThread::writeCluster(List<sp<WebmElement> >& children) { in writeCluster() argument 129 CHECK_GE(children.size(), 2u); in writeCluster() 132 sp<WebmElement> cluster = new WebmMaster(kMkvCluster, children); in writeCluster() 134 children.clear(); in writeCluster() 147 List<sp<WebmElement> > children; in flushFrames() local 148 initCluster(frames, clusterTimecodeL, children); in flushFrames() [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | Privacy.cpp | 39 << " children=" << ((void*)children) << " policy=" << ((int)policy) << "}"; in toString() 44 if (p->children == NULL) return NULL; in lookup() 45 for (int i = 0; p->children[i] != NULL; i++) { // NULL-terminated. in lookup() 46 if (p->children[i]->field_id == fieldId) return p->children[i]; in lookup() 48 if (p->children[i]->field_id > fieldId) return NULL; in lookup()
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 1286 final View[] children = mChildren; in hasFocusableChild() local 1289 final View child = children[i]; in hasFocusableChild() 1326 final View[] children = new View[mChildrenCount]; in addFocusables() local 1330 children[count++] = child; in addFocusables() 1333 FocusFinder.sort(children, 0, count, this, isLayoutRtl()); in addFocusables() 1335 children[i].addFocusables(views, direction, focusableMode); in addFocusables() 1444 final View[] children = mChildren; in findViewsWithText() local 1446 View child = children[i]; in findViewsWithText() 1467 final View[] children = mChildren; in findViewByAccessibilityIdTraversal() local 1469 View child = children[i]; in findViewByAccessibilityIdTraversal() [all …]
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 700 vector<int> children; in TEST() local 701 children.push_back(0); in TEST() 702 children.push_back(1); in TEST() 703 children.push_back(2); in TEST() 710 EXPECT_FALSE(combinationMatch(children, operation, matcherResults)); in TEST() 717 EXPECT_TRUE(combinationMatch(children, operation, matcherResults)); in TEST() 724 vector<int> children; in TEST() local 725 children.push_back(0); in TEST() 726 children.push_back(1); in TEST() 727 children.push_back(2); in TEST() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupManager.java | 153 group.children.remove(removed.getKey()); in onEntryRemovedInternal() 158 if (group.children.isEmpty()) { in onEntryRemovedInternal() 192 NotificationEntry existing = group.children.get(added.getKey()); in onEntryAddedInternal() 202 group.children.put(added.getKey(), added); in onEntryAddedInternal() 208 if (!group.children.isEmpty()) { in onEntryAddedInternal() 210 = new ArrayList<>(group.children.values()); in onEntryAddedInternal() 231 for (NotificationEntry entry : group.children.values()) { in updateSuppression() 330 int realChildren = group != null ? group.children.size() : 0; in getTotalNumberOfChildren() 371 if (group.children.isEmpty()) { in isChildInGroupWithSummary() 391 return !group.children.isEmpty() && Objects.equals(group.summary.getSbn(), sbn); in isSummaryOfGroup() [all …]
|
/frameworks/base/cmds/statsd/src/condition/ |
D | condition_util.cpp | 33 ConditionState evaluateCombinationCondition(const std::vector<int>& children, in evaluateCombinationCondition() argument 42 for (auto childIndex : children) { in evaluateCombinationCondition() 71 newCondition = children.empty() ? ConditionState::kUnknown : in evaluateCombinationCondition() 72 ((conditionCache[children[0]] == ConditionState::kFalse) ? in evaluateCombinationCondition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
D | HighPriorityProvider.java | 84 List<NotificationEntry> children = null; in hasHighPriorityChild() local 88 children = ((GroupEntry) entry).getChildren(); in hasHighPriorityChild() 92 children = mGroupManager.getChildren(entry.getRepresentativeEntry().getSbn()); in hasHighPriorityChild() 95 if (children != null) { in hasHighPriorityChild() 96 for (NotificationEntry child : children) { in hasHighPriorityChild()
|
/frameworks/base/sax/java/android/sax/ |
D | Element.java | 37 Children children; field in Element 70 if (children == null) { in getChild() 71 children = new Children(); in getChild() 74 return children.getOrCreate(this, uri, localName); in getChild() 156 if (children != null) { in setEndTextElementListener()
|
D | Children.java | 25 Child[] children = new Child[16]; field in Children 34 Child current = children[index]; in getOrCreate() 38 children[index] = current; in getOrCreate() 69 Child current = children[index]; in get()
|
D | RootElement.java | 130 Children children = current.children; in startElement() local 131 if (children != null) { in startElement() 132 Element child = children.get(uri, localName); in startElement()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 259 private Asn1Node(int tag, List<Asn1Node> children) { in Asn1Node() argument 262 mChildren = children; in Asn1Node() 265 int size = children.size(); in Asn1Node() 267 mDataLength += children.get(i).mEncodedLength; in Asn1Node() 313 List<Asn1Node> children = node.getChildren(); in getChild() local 314 int size = children.size(); in getChild() 317 Asn1Node child = children.get(i); in getChild() 346 List<Asn1Node> children = getChildren(); in getChildren() local 347 if (children.isEmpty()) { in getChildren() 351 int size = children.size(); in getChildren() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | PreparationCoordinatorTest.java | 194 List<NotificationEntry> children = new ArrayList<>(); in testCutoffGroupChildrenNotInflated() local 200 children.add(child); in testCutoffGroupChildrenNotInflated() 202 GroupEntry groupEntry = GroupEntryHelper.createGroup(TEST_GROUP_KEY, summary, children); in testCutoffGroupChildrenNotInflated() 205 for (NotificationEntry entry : children) { in testCutoffGroupChildrenNotInflated() 210 for (NotificationEntry entry : children) { in testCutoffGroupChildrenNotInflated() 217 for (int i = 0; i < children.size(); i++) { in testCutoffGroupChildrenNotInflated() 219 verify(mNotifInflater).inflateViews(eq(children.get(i)), any()); in testCutoffGroupChildrenNotInflated() 221 verify(mNotifInflater, never()).inflateViews(eq(children.get(i)), any()); in testCutoffGroupChildrenNotInflated()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaPlayerStressTest.java | 129 String[] children = MediaNames.NETWORK_VIDEO_FILES; in testVideoPlayback() local 132 children = dir.list(); in testVideoPlayback() 134 if (children == null) { in testVideoPlayback() 138 for (int i = 0; i < children.length; i++) { in testVideoPlayback() 140 String filename = children[i]; in testVideoPlayback()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockGuard.java | 89 public ArraySet<Object> children = new ArraySet<>(0, true); field in LockGuard.LockInfo 118 for (int i = 0; i < info.children.size(); i++) { in guard() 119 final Object child = info.children.valueAt(i); in guard() 138 sKnown.valueAt(i).children.add(lock); in guard() 243 for (int j = 0; j < info.children.size(); j++) { in dump() 244 pw.println(" Child " + lockToString(info.children.valueAt(j))); in dump()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertUtils.java | 174 List<Element> children = getXmlDirectChildren(parent, tag); in getXmlNodeContents() local 175 if ((children.size() == 0 && mustExist != MUST_EXIST_UNENFORCED) in getXmlNodeContents() 176 || children.size() > 1) { in getXmlNodeContents() 180 if (children.size() == 0) { in getXmlNodeContents() 183 parent = children.get(0); in getXmlNodeContents() 210 List<Element> children = new ArrayList<>(); in getXmlDirectChildren() local 215 children.add((Element) node); in getXmlDirectChildren() 218 return children; in getXmlDirectChildren()
|
/frameworks/base/startop/view_compiler/ |
D | dex_layout_compiler.h | 48 parent_stack_.back().children.push_back(entry); in VisitEndTag() 55 std::vector<ViewEntry> children; member 59 builder_->StartView(view.name, !view.children.empty()); in GenerateCode() 60 for (const auto& child : view.children) { in GenerateCode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | DynamicChildBindController.java | 75 List<NotificationEntry> children = groupNotifs.get(entry); in updateContentViews() local 76 if (children == null) { in updateContentViews() 83 for (int j = 0; j < children.size(); j++) { in updateContentViews() 84 NotificationEntry childEntry = children.get(j); in updateContentViews()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceRefcountedResourceTest.java | 92 RefcountedResource... children) { in getTestRefcountedResource() argument 93 return getTestRefcountedResource(new Binder(), children); in getTestRefcountedResource() 98 IBinder binder, RefcountedResource... children) { in getTestRefcountedResource() argument 101 .new RefcountedResource<IResource>(mock(IResource.class), binder, children)); in getTestRefcountedResource() 333 Set<RefcountedResource<IResource>> children = new HashSet<>(); in fuzzTest() local 336 children.add(resources.get(childIndex)); in fuzzTest() 341 children.toArray(new RefcountedResource[children.size()])); in fuzzTest()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSectionsManagerTest.java | 621 private void setStackState(StackEntry... children) { in setStackState() argument 622 when(mNssl.getChildCount()).thenReturn(children.length); in setStackState() 623 for (int i = 0; i < children.length; i++) { in setStackState() 625 StackEntry entry = children[i]; in setStackState() 660 throw new RuntimeException("Unknown ChildType: " + children[i]); in setStackState() 741 final List<View> children = new ArrayList<>(); in setupMockStack() local 742 when(mNssl.getChildCount()).thenAnswer(invocation -> children.size()); in setupMockStack() 746 if (index == null || index < 0 || index >= children.size()) { in setupMockStack() 749 return children.get(index); in setupMockStack() 752 .thenAnswer(invocation -> children.indexOf(invocation.getArgument(0))); in setupMockStack() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeExpandableAdapter.java | 72 List<DataBindingItem> children = dataBindingItem.getChildren(); in createItems() local 76 if (children.size() > 0) { in createItems() 88 if (children.size() > 0) { in createItems() 105 List<AdapterItem> children = item.getChildren(); in getChildItem() local 106 return children.get(childPosition); in getChildItem()
|
/frameworks/base/tools/aapt2/ |
D | DominatorTree.h | 64 inline const std::vector<std::unique_ptr<Node>>& children() const { in children() function 91 for (auto& child : root->children()) { in VisitTree() 100 for (auto& child : node->children()) { in VisitNode()
|