Home
last modified time | relevance | path

Searched refs:addChild (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/
DItemGroupTest.java56 itemGroup.addChild(CHILD_1); in testGroup()
57 itemGroup.addChild(CHILD_2); in testGroup()
74 itemGroup.addChild(CHILD_1); in testRemoveChild()
75 itemGroup.addChild(CHILD_2); in testRemoveChild()
76 itemGroup.addChild(CHILD_3); in testRemoveChild()
93 itemGroup.addChild(CHILD_1); in testClear()
94 itemGroup.addChild(CHILD_2); in testClear()
109 parentGroup.addChild(CHILD_1); in testNestedGroup()
110 childGroup.addChild(CHILD_2); in testNestedGroup()
111 childGroup.addChild(CHILD_3); in testNestedGroup()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSetFrameRateTest.cpp64 void addChild(sp<Layer> layer, sp<Layer> child);
79 void SetFrameRateTest::addChild(sp<Layer> layer, sp<Layer> child) { in addChild() function in android::SetFrameRateTest
80 layer->addChild(child); in addChild()
115 addChild(parent, child1); in TEST_P()
116 addChild(child1, child2); in TEST_P()
140 addChild(parent, child1); in TEST_P()
141 addChild(child1, child2); in TEST_P()
179 addChild(parent, child1); in TEST_P()
180 addChild(child1, child2); in TEST_P()
204 addChild(parent, child1); in TEST_P()
[all …]
DGameModeTest.cpp84 rootLayer->addChild(childLayer1); in TEST_F()
85 rootLayer->addChild(childLayer2); in TEST_F()
97 rootLayer->addChild(childLayer); in TEST_F()
107 rootLayer->addChild(childLayer); in TEST_F()
121 rootLayer->addChild(childLayer1); in TEST_F()
124 rootLayer->addChild(childLayer2); in TEST_F()
DFrameRateSelectionStrategyTest.cpp57 void addChild(sp<Layer> layer, sp<Layer> child);
72 void FrameRateSelectionStrategyTest::addChild(sp<Layer> layer, sp<Layer> child) { in addChild() function in android::FrameRateSelectionStrategyTest
73 layer->addChild(child); in addChild()
113 addChild(parent, child1); in TEST_P()
114 addChild(child1, child2); in TEST_P()
137 addChild(layer1, layer2); in TEST_P()
138 addChild(layer2, layer3); in TEST_P()
178 addChild(layer1, layer2); in TEST_P()
179 addChild(layer2, layer3); in TEST_P()
DSurfaceFlinger_UpdateLayerMetadataSnapshotTest.cpp78 layerA->addChild(layerB); in TEST_F()
134 layerB->addChild(layerC); in TEST_F()
135 layerA->addChild(layerB); in TEST_F()
136 layerA->addChild(layerD); in TEST_F()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DButtonBarItemTest.java60 item.addChild(mChild1); in testFindItemById()
61 item.addChild(mChild2); in testFindItemById()
62 item.addChild(mChild3); in testFindItemById()
87 item.addChild(mChild1); in testBind()
89 item.addChild(mChild2); in testBind()
91 item.addChild(mChild3); in testBind()
119 item.addChild(invalidChild); in testAddInvalidChild()
DItemAdapterTest.java53 mItemGroup.addChild(item); in setUp()
94 mItemGroup.addChild(mItems[1]); in testAdapterNotifications()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaTest.java99 assertThrows(IllegalStateException.class, () -> parent.addChild(child, 0)); in testDisplayArea_positionChanged_throwsIfIncompatibleChild()
168 root.addChild(da1, POSITION_BOTTOM); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
169 da1.addChild(da2, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
182 root.addChild(da3, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
183 da3.addChild(da4, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
201 root.addChild(da5, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
202 da5.addChild(da6, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
227 root.addChild(da1, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder()
228 root.addChild(da2, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder()
229 da1.addChild(tda1, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder()
[all …]
DConfigurationContainerTests.java66 final TestConfigurationContainer child1 = root.addChild(); in testConfigurationInit()
75 final TestConfigurationContainer child2 = root.addChild(); in testConfigurationInit()
88 final TestConfigurationContainer child3 = root.addChild(); in testConfigurationInit()
103 final TestConfigurationContainer child = root.addChild(); in testConfigurationChangeOnAddRemove()
130 root2.addChild(child); in testConfigurationChangeOnAddRemove()
150 final TestConfigurationContainer child1 = root.addChild(); in testConfigurationChangePropagation()
156 final TestConfigurationContainer child2 = child1.addChild(); in testConfigurationChangePropagation()
216 final TestConfigurationContainer child1 = root.addChild(); in testSetAlwaysOnTop()
217 final TestConfigurationContainer child2 = root.addChild(); in testSetAlwaysOnTop()
220 final TestConfigurationContainer child3 = root.addChild(); in testSetAlwaysOnTop()
[all …]
DDimmerTests.java165 mHost.addChild(mChild, 0); in testUpdateDimsAppliesCrop()
184 mHost.addChild(mChild, 0); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild_Smooth()
203 mHost.addChild(mChild, 0); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild_Legacy()
217 mHost.addChild(mChild, 0); in testDimBelowWithChildSurfaceDestroyedWhenReset_Smooth()
237 mHost.addChild(mChild, 0); in testDimBelowWithChildSurfaceDestroyedWhenReset_Legacy()
255 mHost.addChild(mChild, 0); in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted()
275 mHost.addChild(mChild, 0); in testDimUpdateWhileDimming()
297 mHost.addChild(mChild, 0); in testRemoveDimImmediately_Smooth()
317 mHost.addChild(mChild, 0); in testRemoveDimImmediately_Legacy()
337 mHost.addChild(mChild, 0); in testDimmerWithBlurUpdatesTransaction_Legacy()
[all …]
DSyncEngineTests.java196 parentWC.addChild(childWC, POSITION_TOP); in testWaitForChildrenCallback()
197 parentWC.addChild(childWC2, POSITION_TOP); in testWaitForChildrenCallback()
230 parentWC.addChild(childWC, POSITION_TOP); in testWaitForParentCallback()
260 parentWC.addChild(topChildWC, POSITION_TOP); in testFillsParent()
261 parentWC.addChild(botChildWC, POSITION_BOTTOM); in testFillsParent()
292 parentWC.addChild(topChildWC, POSITION_TOP); in testReparentOut()
293 parentWC.addChild(botChildWC, POSITION_BOTTOM); in testReparentOut()
327 parentWC.addChild(topChildWC, POSITION_TOP); in testReparentIn()
328 nonMemberParentWC.addChild(botChildWC, POSITION_BOTTOM); in testReparentIn()
377 rootWC.addChild(parentWC, POSITION_TOP); in testRemoval()
[all …]
DDisplayAreaGroupTest.java60 parentDA.addChild(mDisplayAreaGroup, parentDA.mChildren.indexOf(defaultTda) + 1); in setUp()
63 mDisplayAreaGroup.addChild(mTaskDisplayArea, POSITION_TOP); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccPortTest.java725 .addChild(Asn1Node.newBuilder(0xBF23)) in testLoadBoundProfilePackage()
726 .addChild(Asn1Node.newBuilder(0xA0) in testLoadBoundProfilePackage()
728 .addChild(Asn1Node.newBuilder(0xA1) in testLoadBoundProfilePackage()
730 .addChild(Asn1Node.newBuilder(0xA2)) in testLoadBoundProfilePackage()
731 .addChild(Asn1Node.newBuilder(0xA3) in testLoadBoundProfilePackage()
772 .addChild(Asn1Node.newBuilder(0xBF23)) in testLoadBoundProfilePackage_ErrorAtEnd()
773 .addChild(Asn1Node.newBuilder(0xA0) in testLoadBoundProfilePackage_ErrorAtEnd()
775 .addChild(Asn1Node.newBuilder(0xA1) in testLoadBoundProfilePackage_ErrorAtEnd()
777 .addChild(Asn1Node.newBuilder(0xA2)) in testLoadBoundProfilePackage_ErrorAtEnd()
778 .addChild(Asn1Node.newBuilder(0xA3) in testLoadBoundProfilePackage_ErrorAtEnd()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1NodeTest.java64 .addChild(Asn1Node.newBuilder(0x35).addChild(Asn1Node.newBuilder(0x36))) in testChildren()
65 .addChild(Asn1Node.newBuilder(0x35)) in testChildren()
66 .addChild(Asn1Node.newBuilder(0x37)) in testChildren()
92 .addChild(Asn1Node.newBuilder(0x34)) in testNonExitingChildren()
93 .addChild(Asn1Node.newBuilder(0x35).addChild(Asn1Node.newBuilder(0x36))) in testNonExitingChildren()
128 .addChild( in testBuilderAndGetters()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DDisplayListLayersActivity.java44 addChild(root, new LayerView(this, 0xffff0000, LAYER_TYPE_HARDWARE, "hardware"), in onCreate()
46 addChild(root, new LayerView(this, 0xff0000ff, LAYER_TYPE_SOFTWARE, "software"), in onCreate()
48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT); in onCreate()
71 private void addChild(LinearLayout root, View child, int width, int height) { in addChild() method in DisplayListLayersActivity
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemInflater.java25 void addChild(ItemHierarchy child); in addChild() method
36 ((ItemParent) parent).addChild(child); in onAddChildItem()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDismissibilityCoordinatorTest.kt198 val group = GroupEntryBuilder().setSummary(summary).addChild(entry).build() in testNonDismissableEntryInGroup()
218 val group = GroupEntryBuilder().setSummary(summary).addChild(entry).build() in testOngoingEntryInGroupWhenPhoneIsLocked()
238 val group = GroupEntryBuilder().setSummary(summary).addChild(entry).build() in testOngoingEntryInGroupWhenPhoneIsUnLocked()
253 val group = GroupEntryBuilder().addChild(entry).build() in testNonDismissableEntryInGroupWithoutSummary()
268 val group = GroupEntryBuilder().addChild(entry).build() in testOngoingEntryInGroupWithoutSummaryWhenPhoneIsLocked()
283 val group = GroupEntryBuilder().addChild(entry).build() in testOngoingEntryInGroupWithoutSummaryWhenPhoneIsUnLocked()
298 val group = GroupEntryBuilder().setSummary(summary).addChild(entry).build() in testNonDismissableSummary()
DPreparationCoordinatorTest.java412 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreFilteredOut()
413 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreFilteredOut()
432 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
433 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
457 .addChild(getNotificationEntryBuilder().setId(2).build()) in testNullGroupSummary()
458 .addChild(getNotificationEntryBuilder().setId(3).build()) in testNullGroupSummary()
468 .addChild(child0) in testNullGroupSummary()
469 .addChild(child1) in testNullGroupSummary()
490 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
491 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
[all …]
DRowAlertTimeCoordinatorTest.kt73 .addChild(child1) in testSetLastAudiblyAlerted()
74 .addChild(child2) in testSetLastAudiblyAlerted()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java65 public Builder addChild(Asn1Node child) { in addChild() method in Asn1Node.Builder
76 public Builder addChild(Builder child) { in addChild() method in Asn1Node.Builder
107 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsInteger()
122 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsString()
137 addChild(new Asn1Node(tag, value, 0, value.length)); in addChildAsBytes()
175 addChild(new Asn1Node(tag, dataBytes, 0, dataLength)); in addChildAsBits()
189 addChild(new Asn1Node(tag, value ? TRUE_BYTES : FALSE_BYTES, 0, 1)); in addChildAsBoolean()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerHierarchy.cpp102 void LayerHierarchy::addChild(LayerHierarchy* child, LayerHierarchy::Variant variant) { in addChild() function in android::surfaceflinger::frontend::LayerHierarchy
231 parent->addChild(hierarchy, type); in attachToParent()
251 hierarchy->mRelativeParent->addChild(hierarchy, LayerHierarchy::Variant::Relative); in attachToRelativeParent()
303 hierarchy->addChild(mirror, LayerHierarchy::Variant::Mirror); in onLayerAdded()
308 hierarchy->addChild(mirror, LayerHierarchy::Variant::Detached_Mirror); in onLayerAdded()
329 mOffscreenRoot.addChild(child, LayerHierarchy::Variant::Attached); in onLayerDestroyed()
332 mOffscreenRoot.addChild(child, LayerHierarchy::Variant::Attached); in onLayerDestroyed()
355 hierarchy->addChild(getHierarchyFromId(mirrorId), LayerHierarchy::Variant::Mirror); in updateMirrorLayer()
359 hierarchy->addChild(getHierarchyFromId(layer->layerIdToMirror), in updateMirrorLayer()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/
DGroupEntryBuilder.java49 ge.addChild(child); in build()
94 public GroupEntryBuilder addChild(NotificationEntry entry) { in addChild() method in GroupEntryBuilder
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java315 private void addChild(MtpObject child) { in addChild() method in MtpStorageManager.MtpObject
341 copy.addChild(childCopy); in copy()
666 parent.addChild(obj); in addObjectToCache()
981 obj.getParent().addChild(obj); in beginRenameObject()
982 oldObj.getParent().addChild(oldObj); in beginRenameObject()
1009 parent.addChild(obj); in endRenameObject()
1010 parent.addChild(oldObj); in endRenameObject()
1071 newParent.addChild(newObj); in beginMoveObject()
1078 oldObj.getParent().addChild(oldObj); in beginMoveObject()
1079 obj.getParent().addChild(obj); in beginMoveObject()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccPort.java234 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in getProfile()
271 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in disableProfile()
310 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in switchToProfile()
644 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_1) in authenticateServer()
646 .addChild(devCapsBuilder) in authenticateServer()
650 .addChild(new Asn1Decoder(serverSigned1).nextNode()) in authenticateServer()
651 .addChild(new Asn1Decoder(serverSignature1).nextNode()) in authenticateServer()
652 .addChild(new Asn1Decoder(euiccCiPkIdToBeUsed).nextNode()) in authenticateServer()
653 .addChild(new Asn1Decoder(serverCertificate).nextNode()) in authenticateServer()
654 .addChild(ctxParams1Builder) in authenticateServer()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/render/
DGroupMembershipManagerTest.kt87 GroupEntryBuilder().setKey(groupKey).setSummary(summary).addChild(entry).build() in isGroupSummary_child()
120 GroupEntryBuilder().setKey(groupKey).setSummary(summary).addChild(entry).build() in getGroupSummary_child()

12345