Home
last modified time | relevance | path

Searched refs:getChildren (Results 1 – 25 of 38) 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.cpp42 std::vector<std::reference_wrapper<const XMLElement>> getChildren(const XMLNode& node, in getChildren() function
256 for (auto& xmlApply : getChildren(xmlStream, "apply")) { in parseStream()
303 for (auto& xmlConfig : getChildren(doc, "audio_effects_conf")) { in parseWithPath()
306 for (auto& xmlLibraries : getChildren(xmlConfig, "libraries")) { in parseWithPath()
307 for (auto& xmlLibrary : getChildren(xmlLibraries, "library")) { in parseWithPath()
313 for (auto& xmlEffects : getChildren(xmlConfig, "effects")) { in parseWithPath()
314 for (auto& xmlEffect : getChildren(xmlEffects)) { in parseWithPath()
320 for (auto& xmlPreprocess : getChildren(xmlConfig, "preprocess")) { in parseWithPath()
321 for (auto& xmlStream : getChildren(xmlPreprocess, "stream")) { in parseWithPath()
327 for (auto& xmlPostprocess : getChildren(xmlConfig, "postprocess")) { in parseWithPath()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DGroupMembershipManagerImpl.java73 return !isGroupSummary(entry) && entry.getParent().getChildren().size() == 1; in isOnlyChildInGroup()
78 public List<NotificationEntry> getChildren(@NonNull ListEntry entry) { in getChildren() method in GroupMembershipManagerImpl
80 return ((GroupEntry) entry).getChildren(); in getChildren()
88 return parent.getChildren(); in getChildren()
DGroupMembershipManager.java73 List<NotificationEntry> getChildren(@NonNull 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.java416 final NotificationEntry child0 = group.getChildren().get(0); in testPartiallyInflatedGroupsAreFilteredOut()
437 final NotificationEntry child0 = group.getChildren().get(0); in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
438 final NotificationEntry child1 = group.getChildren().get(1); in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
461 final NotificationEntry child0 = group.getChildren().get(0); in testNullGroupSummary()
462 final NotificationEntry child1 = group.getChildren().get(1); in testNullGroupSummary()
495 final NotificationEntry child0 = group.getChildren().get(0); in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
496 final NotificationEntry child1 = group.getChildren().get(1); in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
526 final NotificationEntry child0 = group.getChildren().get(0); in testCompletedInflatedGroupsAreReleased()
527 final NotificationEntry child1 = group.getChildren().get(1); in testCompletedInflatedGroupsAreReleased()
559 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/src/com/android/systemui/statusbar/notification/collection/provider/
DHighPriorityProvider.java126 return groupEntry.getChildren().stream().anyMatch( in isNotificationEntryWithAtLeastOneImportantChild()
138 List<NotificationEntry> children = mGroupMembershipManager.getChildren(entry); in hasHighPriorityChild()
/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java791 assertEquals(-90, rootLayout.getChildren().get(0).getTop()); in testScrollingAndMeasure()
792 assertEquals(-30, rootLayout.getChildren().get(0).getLeft()); in testScrollingAndMeasure()
793 assertEquals(90, rootLayout.getChildren().get(0).getBottom()); in testScrollingAndMeasure()
794 assertEquals(150, rootLayout.getChildren().get(0).getRight()); in testScrollingAndMeasure()
797 assertEquals(-450, rootLayout.getChildren().get(5).getChildren().get(0).getTop()); in testScrollingAndMeasure()
798 assertEquals(90, rootLayout.getChildren().get(5).getChildren().get(0).getLeft()); in testScrollingAndMeasure()
799 assertEquals(-270, rootLayout.getChildren().get(5).getChildren().get(0).getBottom()); in testScrollingAndMeasure()
800 assertEquals(690, rootLayout.getChildren().get(5).getChildren().get(0).getRight()); in testScrollingAndMeasure()
1346 for (ViewInfo child : vInfo.getChildren()) { in paintBorders()
1540 ViewInfo buttonInfo = rootInfo.getChildren().get(0); in testTranslation()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java219 when(mGroupMembershipManager.getChildren(summary)).thenReturn( in testIsHighPriority_checkChildrenToCalculatePriority_legacy()
259 when(mGroupMembershipManager.getChildren(parentEntry)).thenReturn( in testIsHighPriority_checkChildrenToCalculatePriority()
279 when(mGroupMembershipManager.getChildren(parentEntry)).thenReturn( in testIsHighPriority_childEntryRankingUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DGroupEntry.java54 public List<NotificationEntry> getChildren() { in getChildren() method in GroupEntry
DShadeListBuilder.java645 for (int j = 0; j < groupEntry.getChildren().size(); j++) { in stabilizeGroupingNotifs()
798 checkArgument(group.getChildren().isEmpty(), "group should have no children"); in pruneGroupAtIndexAndPromoteSummary()
954 if (!ge.getChildren().isEmpty()) { in annulAddition()
960 || entry.getParent().getChildren().contains(entry)) { in annulAddition()
986 for (NotificationEntry child : parent.getChildren()) { in assignSections()
1077 for (NotificationEntry child : parent.getChildren()) { in assignIndexes()
1086 mGroups.values().removeIf(ge -> ge.getSummary() == null && ge.getChildren().isEmpty()); in freeEmptyGroups()
1429 count += ((GroupEntry) entry).getChildren().size(); in countChildren()
DListDumper.java69 List<NotificationEntry> children = ge.getChildren(); in dumpTree()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccPort.java197 .getChild(Tags.TAG_CTX_COMP_0).getChildren(Tags.TAG_PROFILE_INFO); in getAllProfiles()
243 .getChild(Tags.TAG_CTX_COMP_0).getChildren(Tags.TAG_PROFILE_INFO); in getProfile()
538 List<Asn1Node> nodes = root.getChildren(Tags.TAG_CTX_COMP_0); in getRulesAuthTable()
545 node.getChild(Tags.TAG_SEQUENCE, Tags.TAG_CTX_COMP_1).getChildren(); in getRulesAuthTable()
733 List<Asn1Node> metaDataSeqs = sequenceOf88.getChildren(Tags.TAG_CTX_8); in loadBoundProfilePackage()
743 List<Asn1Node> elementSeqs = sequenceOf86.getChildren(Tags.TAG_CTX_6); in loadBoundProfilePackage()
870 List<Asn1Node> nodes = root.getChild(Tags.TAG_CTX_COMP_0).getChildren(); in listNotifications()
911 List<Asn1Node> nodes = root.getChild(Tags.TAG_CTX_COMP_0).getChildren(); in retrieveNotificationList()
941 List<Asn1Node> nodes = root.getChild(Tags.TAG_CTX_COMP_0).getChildren(); in retrieveNotification()
1289 .getChildren(Tags.TAG_REF_AR_DO); in buildProfile()
/frameworks/base/tools/aapt/
DXMLNode.h72 const Vector<sp<XMLNode> >& getChildren() const;
73 Vector<sp<XMLNode> >& getChildren();
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DAccessibilityTest.java115 contentRootViewInfo.getChildren().forEach(child -> { in customHierarchyParserTest()
117 assertEquals(0, child.getChildren().size()); in customHierarchyParserTest()
/frameworks/base/core/tests/coretests/src/android/widget/
DFloatingToolbarUtils.java73 .getChildren() in assertFloatingToolbarContainsItemAtIndex()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/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.java281 List<NotificationEntry> children = groupEntry.getChildren(); in inflateRequiredGroupViews()
433 for (NotificationEntry child : group.getChildren()) {
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java87 final List<UiObject2> notificationList = notificationScroller.getChildren(); in getNotification2()

12