Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java63 mDrawableContainerState.addChild(null); in testAddChildNull()
73 assertEquals(0, mDrawableContainerState.addChild(dr0)); in testAddChild()
85 assertEquals(1, mDrawableContainerState.addChild(dr1)); in testAddChild()
96 assertEquals(2, mDrawableContainerState.addChild(dr1)); in testAddChild()
112 mDrawableContainerState.addChild(dr0); in testIsStateful()
118 mDrawableContainerState.addChild(dr1); in testIsStateful()
124 mDrawableContainerState.addChild(dr2); in testIsStateful()
130 mDrawableContainerState.addChild(dr3); in testIsStateful()
208 mDrawableContainerState.addChild(dr0); in testConstantHeightsAndWidths()
220 mDrawableContainerState.addChild(dr1); in testConstantHeightsAndWidths()
[all …]
DDrawableContainerTest.java157 mDrawableContainerState.addChild(dr0); in testGetChangingConfigurations()
160 mDrawableContainerState.addChild(dr1); in testGetChangingConfigurations()
188 mDrawableContainerState.addChild(dr0); in testGetPadding()
195 mDrawableContainerState.addChild(dr1); in testGetPadding()
387 mDrawableContainerState.addChild(dr0); in testIsStateful()
390 mDrawableContainerState.addChild(dr1); in testIsStateful()
470 mDrawableContainerState.addChild(dr0); in testGetIntrinsicWidth()
473 mDrawableContainerState.addChild(dr1); in testGetIntrinsicWidth()
503 mDrawableContainerState.addChild(dr0); in testGetIntrinsicHeight()
506 mDrawableContainerState.addChild(dr1); in testGetIntrinsicHeight()
[all …]
DDefaultFocusHighlightTest.java257 containerState.addChild(DrawableFactory.createPaintDrawable()); in testDrawableContainer()
258 containerState.addChild(DrawableFactory.createBitmapDrawable(mContext)); in testDrawableContainer()
259 containerState.addChild(DrawableFactory.createColorDrawable()); in testDrawableContainer()
275 containerState.addChild(DrawableFactory.createRippleDrawable()); in testDrawableContainer()
276 containerState.addChild( in testDrawableContainer()
289 containerState.addChild(DrawableFactory.createColorDrawable()); in testDrawableContainer()
/cts/suite/audio_quality/test/
DTaskTest.cpp71 ASSERT_TRUE(mTestCase->addChild(mTaskSetup)); in SetUp()
72 ASSERT_TRUE(mTestCase->addChild(mTaskAction)); in SetUp()
74 ASSERT_TRUE(mTaskAction->addChild(mTaskSequential)); in SetUp()
78 ASSERT_TRUE(mTaskSequential->addChild(mTaskOutput)); in SetUp()
79 ASSERT_TRUE(mTaskSequential->addChild(mTaskInput)); in SetUp()
80 ASSERT_TRUE(mTaskSequential->addChild(mTaskProcess)); in SetUp()
82 ASSERT_TRUE(mTaskSetup->addChild(mTaskSound)); in SetUp()
DTaskCaseCommon.h36 taskCase->addChild(setup); in getTaskCase()
38 taskCase->addChild(action); in getTaskCase()
DTaskProcessTest.cpp41 ASSERT_TRUE(action->addChild(mSequential)); in SetUp()
43 ASSERT_TRUE(mSequential->addChild(mProcess)); in SetUp()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DCustomDescriptionTest.java164 .addChild(R.id.first, trans) in testSanitizationBeforeTransformations()
203 .addChild(R.id.first, trans1) in validTransformation()
204 .addChild(R.id.img, trans2) in validTransformation()
227 .addChild(R.id.first, trans1) in validTransformationWithOneTemplateUpdate()
228 .addChild(R.id.img, trans2) in validTransformationWithOneTemplateUpdate()
265 .addChild(R.id.first, trans1) in validTransformationWithMultipleTemplateUpdates()
266 .addChild(R.id.img, trans2) in validTransformationWithMultipleTemplateUpdates()
369 .addChild(R.id.first, line1Transformation) in multipleBatchUpdatesTest()
417 .addChild(R.id.first, line1Transformation) in testBatchUpdatesApplyUpdateFirstThenTransformations()
441 .addChild(R.id.img, trans) in badImageTransformation()
[all …]
DCustomDescriptionUnitTest.java60 assertThrows(IllegalArgumentException.class, () -> mBuilder.addChild(42, null)); in testAddChild_null()
66 () -> mBuilder.addChild(42, mock(Transformation.class))); in testAddChild_invalidImplementation()
114 .addChild(108, mValidTransformation) in testBuild_valid()
126 () -> mBuilder.addChild(108, mValidTransformation)); in testNoMoreInteractionsAfterBuild()
DWebViewMultiScreenLoginActivityTest.java104 .addChild(R.id.username, usernameTrans)
153 .addChild(R.id.password, passwordTrans)
251 .addChild(R.id.username, usernameTrans)
252 .addChild(R.id.password, passwordTrans)
DCheckoutActivityTest.java301 .addChild(R.id.first, trans1)
302 .addChild(R.id.second, trans2)
303 .addChild(R.id.img, trans3)
380 .addChild(R.id.first, trans1)
381 .addChild(R.id.second, trans2)
DCustomDescriptionDateTest.java71 .addChild(R.id.first,
73 .addChild(R.id.second,
/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.cpp148 mainSceneGraph->addChild(transformNode); in updateSceneGraphs()
150 transformNode->addChild(meshNode); in updateSceneGraphs()
168 mainSceneGraph->addChild(transformNode); in updateSceneGraphs()
170 transformNode->addChild(meshNode); in updateSceneGraphs()
178 waterSceneGraph->addChild(transformNode); in updateSceneGraphs()
180 transformNode->addChild(meshNode); in updateSceneGraphs()
/cts/tests/openglperf2/jni/reference/scene/glowing/
DGlowingScene.cpp158 lightSceneGraph->addChild(meshNode); in updateSceneGraphs()
165 blurSceneGraph->addChild(meshNode); in updateSceneGraphs()
172 glowSceneGraph->addChild(transformNode); in updateSceneGraphs()
174 transformNode->addChild(meshNode); in updateSceneGraphs()
/cts/common/device-side/nativetesthelper/jni/
Dgtest_wrapper.cpp43 jmethodID addChild; member
99 void addChild(JNIEnv* env, jobject description, jobject childDescription) { in addChild() function
100 env->CallVoidMethod(description, gDescription.addChild, childDescription); in addChild()
184 gDescription.addChild = env->GetMethodID(gDescription.clazz, "addChild", in Java_com_android_gtestrunner_GtestRunner_nInitialize()
216 addChild(env, suite, testDescription.get()); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
/cts/suite/audio_quality/lib/src/task/
DTaskBatch.cpp38 bool TaskBatch::addChild(TaskGeneric* child) in addChild() function in TaskBatch
44 return TaskGeneric::addChild(child); in addChild()
DModelBuilder.cpp160 if (!taskSelf.get()->addChild(taskChild.get())) { in parseGeneric()
221 if (!batch.get()->addChild(testCase.get())) { in parseBatch()
/cts/hostsidetests/statsd/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java103 .addChild(FieldMatcher.newBuilder() in testCountAnomalyDetection()
266 .addChild(FieldMatcher.newBuilder() in testValueAnomalyDetection()
316 .addChild(FieldMatcher.newBuilder() in testPerfetto()
353 .addChild(FieldMatcher.newBuilder() in testGaugeAnomalyDetection()
403 .addChild(FieldMatcher.newBuilder().setField(SLICE_BY_FIELD)) in testPulledAnomalyDetection()
409 .addChild(FieldMatcher.newBuilder().setField(VALUE_FIELD)) in testPulledAnomalyDetection()
/cts/tests/openglperf2/jni/primitive/fullpipeline/
DFullPipelineRenderer.cpp162 mSceneGraph->addChild(transformNode); in setUp()
164 transformNode->addChild(meshNode); in setUp()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DValueMetricsTests.java75 .addChild(FieldMatcher.newBuilder().setField( in testValueMetric()
156 .addChild(FieldMatcher.newBuilder().setField( in testPullerAcrossBuckets()
236 .addChild(FieldMatcher.newBuilder().setField( in testMultipleEventsPerBucket()
309 .addChild(FieldMatcher.newBuilder().setField( in testPullerAcrossBucketsWithActivation()
384 .addChild(FieldMatcher.newBuilder() in testValueMetricWithConditionAndActivation()
DDurationMetricsTests.java523 dimensionsBuilder.addChild(FieldMatcher.newBuilder() in testDurationMetricWithDimension()
526 .addChild(FieldMatcher.newBuilder().setField( in testDurationMetricWithDimension()
550 .addChild(FieldMatcher.newBuilder() in testDurationMetricWithDimension()
553 .addChild(FieldMatcher.newBuilder().setField( in testDurationMetricWithDimension()
/cts/suite/audio_quality/lib/include/task/
DTaskBatch.h28 virtual bool addChild(TaskGeneric* child);
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DTestNgRunner.java177 newDesc.addChild(filteredChild); in filterDescription()
220 parent.addChild(child); in generateTestNgDescription()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DTestNgRunner.java177 newDesc.addChild(filteredChild); in filterDescription()
220 parent.addChild(child); in generateTestNgDescription()
/cts/tests/openglperf2/jni/graphics/
DSceneGraphNode.h25 void addChild(SceneGraphNode* child);
DSceneGraphNode.cpp22 void SceneGraphNode::addChild(SceneGraphNode* child) { in addChild() function in SceneGraphNode

12