/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ |
D | ItemGroupTest.java | 56 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/ |
D | SetFrameRateTest.cpp | 64 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 …]
|
D | GameModeTest.cpp | 84 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()
|
D | FrameRateSelectionStrategyTest.cpp | 57 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()
|
D | SurfaceFlinger_UpdateLayerMetadataSnapshotTest.cpp | 78 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/ |
D | ButtonBarItemTest.java | 60 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()
|
D | ItemAdapterTest.java | 53 mItemGroup.addChild(item); in setUp() 94 mItemGroup.addChild(mItems[1]); in testAdapterNotifications()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaTest.java | 99 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 …]
|
D | ConfigurationContainerTests.java | 66 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 …]
|
D | DimmerTests.java | 165 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 …]
|
D | SyncEngineTests.java | 196 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 …]
|
D | DisplayAreaGroupTest.java | 60 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/ |
D | EuiccPortTest.java | 725 .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/ |
D | Asn1NodeTest.java | 64 .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/ |
D | DisplayListLayersActivity.java | 44 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/ |
D | ItemInflater.java | 25 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/ |
D | DismissibilityCoordinatorTest.kt | 198 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()
|
D | PreparationCoordinatorTest.java | 412 .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 …]
|
D | RowAlertTimeCoordinatorTest.kt | 73 .addChild(child1) in testSetLastAudiblyAlerted() 74 .addChild(child2) in testSetLastAudiblyAlerted()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 65 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/ |
D | LayerHierarchy.cpp | 102 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/ |
D | GroupEntryBuilder.java | 49 ge.addChild(child); in build() 94 public GroupEntryBuilder addChild(NotificationEntry entry) { in addChild() method in GroupEntryBuilder
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorageManager.java | 315 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/ |
D | EuiccPort.java | 234 .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/ |
D | GroupMembershipManagerTest.kt | 87 GroupEntryBuilder().setKey(groupKey).setSummary(summary).addChild(entry).build() in isGroupSummary_child() 120 GroupEntryBuilder().setKey(groupKey).setSummary(summary).addChild(entry).build() in getGroupSummary_child()
|