/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 | 65 void addChild(sp<Layer> layer, sp<Layer> child); 80 void SetFrameRateTest::addChild(sp<Layer> layer, sp<Layer> child) { in addChild() function in android::SetFrameRateTest 81 layer.get()->addChild(child.get()); in addChild() 117 addChild(parent, child1); in TEST_P() 118 addChild(child1, child2); in TEST_P() 142 addChild(parent, child1); in TEST_P() 143 addChild(child1, child2); in TEST_P() 181 addChild(parent, child1); in TEST_P() 182 addChild(child1, child2); in TEST_P() 206 addChild(parent, child1); in TEST_P() [all …]
|
D | GameModeTest.cpp | 110 rootLayer->addChild(childLayer1); in TEST_F() 111 rootLayer->addChild(childLayer2); in TEST_F() 123 rootLayer->addChild(childLayer); in TEST_F() 133 rootLayer->addChild(childLayer); in TEST_F() 147 rootLayer->addChild(childLayer1); in TEST_F() 150 rootLayer->addChild(childLayer2); in TEST_F()
|
D | FpsReporterTest.cpp | 161 mParent->addChild(mTarget); in TEST_F() 162 mTarget->addChild(mChild); in TEST_F() 163 mChild->addChild(mGrandChild); 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 | 98 assertThrows(IllegalStateException.class, () -> parent.addChild(child, 0)); in testDisplayArea_positionChanged_throwsIfIncompatibleChild() 167 root.addChild(da1, POSITION_BOTTOM); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() 168 da1.addChild(da2, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() 181 root.addChild(da3, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() 182 da3.addChild(da4, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() 200 root.addChild(da5, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() 201 da5.addChild(da6, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() 226 root.addChild(da1, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder() 227 root.addChild(da2, POSITION_TOP); in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder() 228 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 | SyncEngineTests.java | 146 parentWC.addChild(childWC, POSITION_TOP); in testWaitForChildrenCallback() 147 parentWC.addChild(childWC2, POSITION_TOP); in testWaitForChildrenCallback() 180 parentWC.addChild(childWC, POSITION_TOP); in testWaitForParentCallback() 210 parentWC.addChild(topChildWC, POSITION_TOP); in testFillsParent() 211 parentWC.addChild(botChildWC, POSITION_BOTTOM); in testFillsParent() 242 parentWC.addChild(topChildWC, POSITION_TOP); in testReparentOut() 243 parentWC.addChild(botChildWC, POSITION_BOTTOM); in testReparentOut() 277 parentWC.addChild(topChildWC, POSITION_TOP); in testReparentIn() 278 nonMemberParentWC.addChild(botChildWC, POSITION_BOTTOM); in testReparentIn() 315 rootWC.addChild(parentWC, POSITION_TOP); in testRemoval() [all …]
|
D | DimmerTests.java | 143 mHost.addChild(child, 0); in testUpdateDimsAppliesCrop() 160 mHost.addChild(child, 0); in testDimAboveWithChildCreatesSurfaceAboveChild() 175 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild() 190 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceDestroyedWhenReset() 207 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted() 224 mHost.addChild(child, 0); in testDimUpdateWhileDimming() 245 mHost.addChild(child, 0); in testRemoveDimImmediately()
|
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 | 705 .addChild(Asn1Node.newBuilder(0xBF23)) in testLoadBoundProfilePackage() 706 .addChild(Asn1Node.newBuilder(0xA0) in testLoadBoundProfilePackage() 708 .addChild(Asn1Node.newBuilder(0xA1) in testLoadBoundProfilePackage() 710 .addChild(Asn1Node.newBuilder(0xA2)) in testLoadBoundProfilePackage() 711 .addChild(Asn1Node.newBuilder(0xA3) in testLoadBoundProfilePackage() 752 .addChild(Asn1Node.newBuilder(0xBF23)) in testLoadBoundProfilePackage_ErrorAtEnd() 753 .addChild(Asn1Node.newBuilder(0xA0) in testLoadBoundProfilePackage_ErrorAtEnd() 755 .addChild(Asn1Node.newBuilder(0xA1) in testLoadBoundProfilePackage_ErrorAtEnd() 757 .addChild(Asn1Node.newBuilder(0xA2)) in testLoadBoundProfilePackage_ErrorAtEnd() 758 .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/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 | PreparationCoordinatorTest.java | 356 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreFilteredOut() 357 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreFilteredOut() 376 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion() 377 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion() 401 .addChild(getNotificationEntryBuilder().setId(2).build()) in testNullGroupSummary() 402 .addChild(getNotificationEntryBuilder().setId(3).build()) in testNullGroupSummary() 412 .addChild(child0) in testNullGroupSummary() 413 .addChild(child1) in testNullGroupSummary() 434 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate() 435 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate() [all …]
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | GroupEntryBuilder.java | 49 ge.addChild(child); in build() 88 public GroupEntryBuilder addChild(NotificationEntry entry) { in addChild() method in GroupEntryBuilder
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccPort.java | 247 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in getProfile() 284 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in disableProfile() 323 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in switchToProfile() 648 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_1) in authenticateServer() 650 .addChild(devCapsBuilder) in authenticateServer() 654 .addChild(new Asn1Decoder(serverSigned1).nextNode()) in authenticateServer() 655 .addChild(new Asn1Decoder(serverSignature1).nextNode()) in authenticateServer() 656 .addChild(new Asn1Decoder(euiccCiPkIdToBeUsed).nextNode()) in authenticateServer() 657 .addChild(new Asn1Decoder(serverCertificate).nextNode()) in authenticateServer() 658 .addChild(ctxParams1Builder) in authenticateServer() [all …]
|
/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/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | RemoteAnimationRunnerCompat.java | 140 counterLauncher.addChild(t, leash); in toRemoteTransition() 150 counterLauncher.addChild(t, leashMap.get(launcherTask.getLeash())); in toRemoteTransition() 157 counterWallpaper.addChild(t, leashMap.get(wallpaper.getLeash())); in toRemoteTransition()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | RemoteTransitionAdapter.kt | 296 counterLauncher.addChild(t, leash) in adaptRemoteRunner() 306 counterLauncher.addChild(t, leashMap[launcherTask.leash]) in adaptRemoteRunner() 318 counterWallpaper.addChild(t, leashMap[wallpaper.leash]) in adaptRemoteRunner() 429 fun addChild(t: SurfaceControl.Transaction, child: SurfaceControl?) { in addChild() method in com.android.systemui.animation.RemoteTransitionAdapter.CounterRotator
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapterTest.java | 63 mItemGroup.addChild(item); in setUp() 119 mItemGroup.addChild(mItems[1]); in testAdapterNotifications()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | AdapterItem.java | 43 void addChild(AdapterItem child) { in addChild() method in AdapterItem
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityCacheTest.java | 806 parentNodeInfo.addChild(getMockViewWithA11yAndWindowIds(CHILD_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithTwoChildren_doesntCrash() 807 parentNodeInfo.addChild(getMockViewWithA11yAndWindowIds(OTHER_CHILD_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithTwoChildren_doesntCrash() 811 childNodeInfo.addChild(getMockViewWithA11yAndWindowIds(PARENT_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithTwoChildren_doesntCrash() 830 parentNodeInfo.addChild(getMockViewWithA11yAndWindowIds(CHILD_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithOneChild_doesntCrash() 834 childNodeInfo.addChild(getMockViewWithA11yAndWindowIds(PARENT_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithOneChild_doesntCrash() 888 childNodeInfo.addChild(getMockViewWithA11yAndWindowIds(CHILD_VIEW_ID + 1, WINDOW_ID_1)); in addSameParentNodeWithDifferentChildNode_whenOriginalChildHasChild_doesntCrash() 892 replacementParentNodeInfo.addChild( in addSameParentNodeWithDifferentChildNode_whenOriginalChildHasChild_doesntCrash() 1046 info.addChild(childView); in clearSubtreeWithNode_subtreeInCacheInvalidated() 1117 parentNodeInfo.addChild(getMockViewWithA11yAndWindowIds(CHILD_VIEW_ID, WINDOW_ID_1)); in getParentNode()
|