Home
last modified time | relevance | path

Searched refs:parent2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeTests.cpp138 auto parent2 = TestUtils::createNode(0, 0, 200, 400, in TEST() local
145 EXPECT_TRUE(parent2->isValid()); in TEST()
148 EXPECT_TRUE(parent2->nothingToDraw()); in TEST()
154 EXPECT_TRUE(parent2->isValid()); in TEST()
157 EXPECT_TRUE(parent2->nothingToDraw()); in TEST()
159 TestUtils::syncHierarchyPropertiesAndDisplayList(parent2); in TEST()
163 EXPECT_TRUE(parent2->isValid()); in TEST()
166 EXPECT_FALSE(parent2->nothingToDraw()); in TEST()
176 EXPECT_TRUE(parent2->isValid()); in TEST()
179 EXPECT_FALSE(parent2->nothingToDraw()); in TEST()
[all …]
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp62 parent2(rhs), in RandomVariableBase()
101 return op->eval(parent1->getValue(), parent2 == nullptr ? 0 : parent2->getValue()); in getValue()
139 if (mVar->parent2 != nullptr && mVar->parent2->type == RandomVariableType::CONST) { in RandomVariable()
140 mVar->parent2 = RandomVariable(mVar->parent2->value).get(); in RandomVariable()
143 if (mVar->parent2 != nullptr) mVar->parent2->children.push_back(mVar); in RandomVariable()
287 std::pair<int, int> parent2 = {*parent2In->begin(), *parent2In->rbegin()}; in eval() local
292 fillRange(childOut, std::max(child.first, parent1.first + parent2.first), in eval()
293 std::min(child.second, parent1.second + parent2.second)); in eval()
297 fillRange(parent1Out, std::max(parent1.first, child.first - parent2.second), in eval()
298 std::min(parent1.second, child.second - parent2.first)); in eval()
[all …]
DRandomGraphGeneratorUtils.h221 if (var->parent2 != nullptr) ss << " var" << var->parent2->index;
DRandomVariable.h105 std::shared_ptr<RandomVariableBase> parent2 = nullptr; member
/frameworks/native/services/surfaceflinger/tests/unittests/
DSetFrameRateTest.cpp437 auto parent2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
447 EXPECT_EQ(FRAME_RATE_NO_VOTE, parent2->getFrameRateForLayerTree()); in TEST_P()
451 reparentChildren(parent, parent2); in TEST_P()
454 EXPECT_EQ(FRAME_RATE_TREE, parent2->getFrameRateForLayerTree()); in TEST_P()
461 EXPECT_EQ(FRAME_RATE_NO_VOTE, parent2->getFrameRateForLayerTree()); in TEST_P()