Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java62 mDrawableContainerState.addChild(null); in testAddChildNull()
72 assertEquals(0, mDrawableContainerState.addChild(dr0)); in testAddChild()
84 assertEquals(1, mDrawableContainerState.addChild(dr1)); in testAddChild()
95 assertEquals(2, mDrawableContainerState.addChild(dr1)); in testAddChild()
111 mDrawableContainerState.addChild(dr0); in testIsStateful()
117 mDrawableContainerState.addChild(dr1); in testIsStateful()
123 mDrawableContainerState.addChild(dr2); in testIsStateful()
129 mDrawableContainerState.addChild(dr3); in testIsStateful()
207 mDrawableContainerState.addChild(dr0); in testConstantHeightsAndWidths()
219 mDrawableContainerState.addChild(dr1); in testConstantHeightsAndWidths()
[all …]
DDrawableContainerTest.java153 mDrawableContainerState.addChild(dr0); in testGetChangingConfigurations()
156 mDrawableContainerState.addChild(dr1); in testGetChangingConfigurations()
184 mDrawableContainerState.addChild(dr0); in testGetPadding()
191 mDrawableContainerState.addChild(dr1); in testGetPadding()
375 mDrawableContainerState.addChild(dr0); in testIsStateful()
378 mDrawableContainerState.addChild(dr1); in testIsStateful()
458 mDrawableContainerState.addChild(dr0); in testGetIntrinsicWidth()
461 mDrawableContainerState.addChild(dr1); in testGetIntrinsicWidth()
491 mDrawableContainerState.addChild(dr0); in testGetIntrinsicHeight()
494 mDrawableContainerState.addChild(dr1); in testGetIntrinsicHeight()
[all …]
DDefaultFocusHighlightTest.java256 containerState.addChild(DrawableFactory.createPaintDrawable()); in testDrawableContainer()
257 containerState.addChild(DrawableFactory.createBitmapDrawable(mContext)); in testDrawableContainer()
258 containerState.addChild(DrawableFactory.createColorDrawable()); in testDrawableContainer()
274 containerState.addChild(DrawableFactory.createRippleDrawable()); in testDrawableContainer()
275 containerState.addChild( in testDrawableContainer()
288 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()
DTaskSequentialTest.cpp32 action->addChild(mSequential); in SetUp()
/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/autofillservice/src/android/autofillservice/cts/
DCustomDescriptionTest.java117 .addChild(R.id.first, trans1) in validTransformation()
118 .addChild(R.id.img, trans2) in validTransformation()
141 .addChild(R.id.first, trans1) in validTransformationWithOneTemplateUpdate()
142 .addChild(R.id.img, trans2) in validTransformationWithOneTemplateUpdate()
179 .addChild(R.id.first, trans1) in validTransformationWithMultipleTemplateUpdates()
180 .addChild(R.id.img, trans2) in validTransformationWithMultipleTemplateUpdates()
283 .addChild(R.id.first, line1Transformation) in multipleBatchUpdatesTest()
331 .addChild(R.id.first, line1Transformation) in testBatchUpdatesApplyUpdateFirstThenTransformations()
355 .addChild(R.id.img, trans) in badImageTransformation()
371 .addChild(R.id.img, trans) in unusedImageTransformation()
[all …]
DCustomDescriptionUnitTest.java51 assertThrows(IllegalArgumentException.class, () -> mBuilder.addChild(42, null)); in testAddChild_null()
57 () -> mBuilder.addChild(42, mock(Transformation.class))); in testAddChild_invalidTransformation()
DCustomDescriptionDateTest.java67 .addChild(R.id.first, in testCustomSave()
69 .addChild(R.id.second, in testCustomSave()
DCheckoutActivityTest.java289 .addChild(R.id.first, trans1) in customizedSaveUi()
290 .addChild(R.id.second, trans2) in customizedSaveUi()
291 .addChild(R.id.img, trans3) in customizedSaveUi()
361 .addChild(R.id.first, trans1) in testCustomizedSaveUiWhenListResolutionFails()
362 .addChild(R.id.second, trans2) in testCustomizedSaveUiWhenListResolutionFails()
/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()
/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.cpp28 jmethodID addChild; member
60 static void addChild(JNIEnv* env, jobject description, jobject childDescription) { in addChild() function
61 env->CallVoidMethod(description, gDescription.addChild, childDescription); in addChild()
140 gDescription.addChild = env->GetMethodID(gDescription.clazz, "addChild", in Java_com_android_gtestrunner_GtestRunner_nInitialize()
171 addChild(env, suite, testDescription.get()); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
/cts/suite/audio_quality/lib/include/task/
DTaskBatch.h28 virtual bool addChild(TaskGeneric* child);
DTaskGeneric.h79 virtual bool addChild(TaskGeneric* child);
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DDurationMetricsTests.java132 dimensionsBuilder.addChild(FieldMatcher.newBuilder()
135 .addChild(FieldMatcher.newBuilder().setField(
159 .addChild(FieldMatcher.newBuilder()
162 .addChild(FieldMatcher.newBuilder().setField(
DValueMetricsTests.java83 .addChild(FieldMatcher.newBuilder().setField( in testValueMetric()
162 .addChild(FieldMatcher.newBuilder().setField( in testPullerAcrossBuckets()
240 .addChild(FieldMatcher.newBuilder().setField( in testMultipleEventsPerBucket()
/cts/tests/openglperf2/jni/graphics/
DSceneGraphNode.h25 void addChild(SceneGraphNode* child);
DSceneGraphNode.cpp22 void SceneGraphNode::addChild(SceneGraphNode* child) { in addChild() function in SceneGraphNode
/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/atom/
DHostAtomTests.java350 .addChild(FieldMatcher.newBuilder() in testRemainingBatteryCapacity()
379 .addChild(FieldMatcher.newBuilder() in testFullBatteryCapacity()
408 .addChild(FieldMatcher.newBuilder() in testTemperature()
410 .addChild(FieldMatcher.newBuilder() in testTemperature()
446 .addChild(FieldMatcher.newBuilder() in testKernelWakelock()
476 .addChild(FieldMatcher.newBuilder() in testCpuTimePerFreq()
503 .addChild(FieldMatcher.newBuilder() in testSubsystemSleepState()
/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/hostsidetests/statsd/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java86 .addChild(FieldMatcher.newBuilder() in testCountAnomalyDetection()
249 .addChild(FieldMatcher.newBuilder() in testValueAnomalyDetection()
298 .addChild(FieldMatcher.newBuilder() in testPerfetto()
335 .addChild(FieldMatcher.newBuilder() in testGaugeAnomalyDetection()

12