Home
last modified time | relevance | path

Searched refs:getChildren (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1NodeTest.java70 assertEquals(3, node.getChildren().size()); in testChildren()
71 assertEquals(0x35, node.getChildren().get(0).getTag()); in testChildren()
72 assertEquals(0x35, node.getChildren().get(1).getTag()); in testChildren()
73 assertEquals(0x37, node.getChildren().get(2).getTag()); in testChildren()
74 assertEquals(2, node.getChildren(0x35).size()); in testChildren()
75 assertEquals(0x35, node.getChildren(0x35).get(0).getTag()); in testChildren()
76 assertEquals(0x35, node.getChildren(0x35).get(1).getTag()); in testChildren()
77 assertEquals(1, node.getChild(0x35).getChildren().size()); in testChildren()
78 assertEquals(0, node.getChildren().get(1).getChildren().size()); in testChildren()
79 assertEquals(0x36, node.getChild(0x35).getChildren().get(0).getTag()); in testChildren()
[all …]
DAsn1DecoderTest.java53 assertEquals(1, root.getChildren().size()); in testNormalOperation()
54 assertEquals(1, root.getChildren(0x5A).size()); in testNormalOperation()
55 assertEquals(node, root.getChildren().get(0)); in testNormalOperation()
56 assertEquals(node, root.getChildren(0x5A).get(0)); in testNormalOperation()
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp41 std::vector<std::reference_wrapper<const XMLElement>> getChildren(const XMLNode& node, in getChildren() function
247 for (auto& xmlApply : getChildren(xmlStream, "apply")) { in parseStream()
294 for (auto& xmlConfig : getChildren(doc, "audio_effects_conf")) { in parseWithPath()
297 for (auto& xmlLibraries : getChildren(xmlConfig, "libraries")) { in parseWithPath()
298 for (auto& xmlLibrary : getChildren(xmlLibraries, "library")) { in parseWithPath()
304 for (auto& xmlEffects : getChildren(xmlConfig, "effects")) { in parseWithPath()
305 for (auto& xmlEffect : getChildren(xmlEffects)) { in parseWithPath()
311 for (auto& xmlPreprocess : getChildren(xmlConfig, "preprocess")) { in parseWithPath()
312 for (auto& xmlStream : getChildren(xmlPreprocess, "stream")) { in parseWithPath()
318 for (auto& xmlPostprocess : getChildren(xmlConfig, "postprocess")) { in parseWithPath()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DGroupMembershipManagerImpl.java59 return !isGroupSummary(entry) && entry.getParent().getChildren().size() == 1; in isOnlyChildInGroup()
64 public List<NotificationEntry> getChildren(ListEntry entry) { in getChildren() method in GroupMembershipManagerImpl
66 return ((GroupEntry) entry).getChildren(); in getChildren()
71 return entry.getRepresentativeEntry().getParent().getChildren(); in getChildren()
DGroupMembershipManager.java70 List<NotificationEntry> getChildren(ListEntry summary); in getChildren() method
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java71 List<DataBindingItem> children = dataBindingItem.getChildren(); in createItems()
97 createItems(item, item.getChildren().size(), item.getCount(), mChildrenTypes, depth); in createItems()
104 List<AdapterItem> children = item.getChildren(); in getChildItem()
118 return item.getChildren().size(); in getChildrenCount()
DAdapterItem.java51 List<AdapterItem> getChildren() { in getChildren() method in AdapterItem
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DPreparationCoordinatorTest.java360 final NotificationEntry child0 = group.getChildren().get(0); in testPartiallyInflatedGroupsAreFilteredOut()
381 final NotificationEntry child0 = group.getChildren().get(0); in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
382 final NotificationEntry child1 = group.getChildren().get(1); in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
405 final NotificationEntry child0 = group.getChildren().get(0); in testNullGroupSummary()
406 final NotificationEntry child1 = group.getChildren().get(1); in testNullGroupSummary()
439 final NotificationEntry child0 = group.getChildren().get(0); in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
440 final NotificationEntry child1 = group.getChildren().get(1); in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
470 final NotificationEntry child0 = group.getChildren().get(0); in testCompletedInflatedGroupsAreReleased()
471 final NotificationEntry child1 = group.getChildren().get(1); in testCompletedInflatedGroupsAreReleased()
503 final NotificationEntry child0 = group.getChildren().get(0); in testPartiallyInflatedGroupsAreReleasedAfterTimeout()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java323 private Collection<MtpObject> getChildren() { in getChildren() method in MtpStorageManager.MtpObject
507 getChildren(obj); in getByPath()
585 Collection<MtpObject> children = getChildren(parent); in getObjects()
611 private synchronized Collection<MtpObject> getChildren(MtpObject object) { in getChildren() method in MtpStorageManager
641 return object.getChildren(); in getChildren()
696 Collection<MtpObject> children = new ArrayList<>(removed.getChildren()); in removeObjectFromCache()
892 if (!obj.isVisited() && obj.getChildren().size() > 0) { in checkConsistency()
908 for (MtpObject child : obj.getChildren()) { in checkConsistency()
940 getChildren(parent); // Ensure parent is visited in beginSendObject()
1039 for (MtpObject child : new ArrayList<>(obj.getChildren())) in endRemoveObject()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DUriMatcherTest.java125 ArrayList<UriMatcher> mChildren = getChildren(authorityChild); in testTextCreatesNoDuplicateStrings()
141 private ArrayList<UriMatcher> getChildren(UriMatcher matcher) in getChildren() method in UriMatcherTest
156 ArrayList<UriMatcher> children = getChildren(matcher); in getOnlyChild()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java164 when(mGroupMembershipManager.getChildren(summary)).thenReturn( in testIsHighPriority_checkChildrenToCalculatePriority_legacy()
204 when(mGroupMembershipManager.getChildren(parentEntry)).thenReturn( in testIsHighPriority_checkChildrenToCalculatePriority()
224 when(mGroupMembershipManager.getChildren(parentEntry)).thenReturn( in testIsHighPriority_childEntryRankingUpdated()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java779 assertEquals(-90, rootLayout.getChildren().get(0).getTop()); in testScrollingAndMeasure()
780 assertEquals(-30, rootLayout.getChildren().get(0).getLeft()); in testScrollingAndMeasure()
781 assertEquals(90, rootLayout.getChildren().get(0).getBottom()); in testScrollingAndMeasure()
782 assertEquals(150, rootLayout.getChildren().get(0).getRight()); in testScrollingAndMeasure()
785 assertEquals(-450, rootLayout.getChildren().get(5).getChildren().get(0).getTop()); in testScrollingAndMeasure()
786 assertEquals(90, rootLayout.getChildren().get(5).getChildren().get(0).getLeft()); in testScrollingAndMeasure()
787 assertEquals(-270, rootLayout.getChildren().get(5).getChildren().get(0).getBottom()); in testScrollingAndMeasure()
788 assertEquals(690, rootLayout.getChildren().get(5).getChildren().get(0).getRight()); in testScrollingAndMeasure()
1375 for (ViewInfo child : vInfo.getChildren()) { in paintBorders()
1569 ViewInfo buttonInfo = rootInfo.getChildren().get(0); in testTranslation()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java313 List<Asn1Node> children = node.getChildren(); in getChild()
340 public List<Asn1Node> getChildren(int tag) in getChildren() method in Asn1Node
346 List<Asn1Node> children = getChildren(); in getChildren()
368 public List<Asn1Node> getChildren() throws InvalidAsn1DataException { in getChildren() method in Asn1Node
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccPort.java204 .getChild(Tags.TAG_CTX_COMP_0).getChildren(Tags.TAG_PROFILE_INFO); in getAllProfiles()
255 .getChild(Tags.TAG_CTX_COMP_0).getChildren(Tags.TAG_PROFILE_INFO); in getProfile()
541 List<Asn1Node> nodes = root.getChildren(Tags.TAG_CTX_COMP_0); in getRulesAuthTable()
548 node.getChild(Tags.TAG_SEQUENCE, Tags.TAG_CTX_COMP_1).getChildren(); in getRulesAuthTable()
736 List<Asn1Node> metaDataSeqs = sequenceOf88.getChildren(Tags.TAG_CTX_8); in loadBoundProfilePackage()
746 List<Asn1Node> elementSeqs = sequenceOf86.getChildren(Tags.TAG_CTX_6); in loadBoundProfilePackage()
873 List<Asn1Node> nodes = root.getChild(Tags.TAG_CTX_COMP_0).getChildren(); in listNotifications()
914 List<Asn1Node> nodes = root.getChild(Tags.TAG_CTX_COMP_0).getChildren(); in retrieveNotificationList()
944 List<Asn1Node> nodes = root.getChild(Tags.TAG_CTX_COMP_0).getChildren(); in retrieveNotification()
1292 .getChildren(Tags.TAG_REF_AR_DO); in buildProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DGroupEntry.java54 public List<NotificationEntry> getChildren() { in getChildren() method in GroupEntry
DShadeListBuilder.java637 for (int j = 0; j < groupEntry.getChildren().size(); j++) { in stabilizeGroupingNotifs()
790 checkArgument(group.getChildren().isEmpty(), "group should have no children"); in pruneGroupAtIndexAndPromoteSummary()
946 if (!ge.getChildren().isEmpty()) { in annulAddition()
952 || entry.getParent().getChildren().contains(entry)) { in annulAddition()
978 for (NotificationEntry child : parent.getChildren()) { in assignSections()
1069 for (NotificationEntry child : parent.getChildren()) { in assignIndexes()
1078 mGroups.values().removeIf(ge -> ge.getSummary() == null && ge.getChildren().isEmpty()); in freeEmptyGroups()
1420 count += ((GroupEntry) entry).getChildren().size(); in countChildren()
DListDumper.java69 List<NotificationEntry> children = ge.getChildren(); in dumpTree()
/frameworks/base/tools/aapt/
DXMLNode.h72 const Vector<sp<XMLNode> >& getChildren() const;
73 Vector<sp<XMLNode> >& getChildren();
DXMLNode.cpp688 const Vector<sp<XMLNode> >& XMLNode::getChildren() const in getChildren() function in XMLNode
694 Vector<sp<XMLNode> >& XMLNode::getChildren() in getChildren() function in XMLNode
1269 if (parent != NULL && parent->getChildren().size() > 0) { in characterData()
1270 node = parent->getChildren()[parent->getChildren().size()-1]; in characterData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DHighPriorityProvider.java88 List<NotificationEntry> children = mGroupMembershipManager.getChildren(entry); in hasHighPriorityChild()
/frameworks/base/core/tests/coretests/src/android/widget/
DFloatingToolbarUtils.java73 .getChildren() in assertFloatingToolbarContainsItemAtIndex()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/parsing/library/
DOptionalClassRunner.java101 protected List<Runner> getChildren() { in getChildren() method in OptionalClassRunner.ClassNotFoundRunner
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleNotificationIdentifier.kt119 val childTypes = groupManager.getChildren(entry) in extractPersonTypeInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DPreparationCoordinator.java275 List<NotificationEntry> children = groupEntry.getChildren(); in inflateRequiredGroupViews()
417 for (NotificationEntry child : group.getChildren()) {
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java86 final List<UiObject2> notificationList = notificationScroller.getChildren(); in getNotification2()

12