Home
last modified time | relevance | path

Searched refs:node2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DDamageAccumulatorTests.cpp91 RenderNode node2; in TEST() local
92 node2.animatorProperties().setLeftTopRightBottom(50, 50, 100, 100); in TEST()
93 node2.animatorProperties().updateMatrix(); in TEST()
94 da.pushTransform(&node2); in TEST()
112 RenderNode node2; in TEST() local
113 node2.animatorProperties().setLeftTopRightBottom(50, 50, 100, 100); in TEST()
114 node2.animatorProperties().setClipToBounds(false); in TEST()
115 node2.animatorProperties().setRotationX(1.0f); in TEST()
116 node2.animatorProperties().setRotationY(1.0f); in TEST()
117 node2.animatorProperties().setRotation(20.0f); in TEST()
[all …]
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp551 RandomVariableNode node1 = mVar, node2 = other.get(); in setEqual() local
552 NN_FUZZER_LOG << "Set equality of var" << node1->index << " and var" << node2->index; in setEqual()
555 if (node1 == node2 || (node1->op == Singleton<UnaryEqual>::get() && node1->parent1 == node2) || in setEqual()
556 (node2->op == Singleton<UnaryEqual>::get() && node2->parent1 == node1)) { in setEqual()
564 if (RandomVariableNetwork::get()->isSubordinate(node1, node2)) { in setEqual()
565 NN_FUZZER_LOG << " Make var" << node2->index << " a child of var" << node1->index; in setEqual()
566 node2->type = RandomVariableType::OP; in setEqual()
567 node2->parent1 = node1; in setEqual()
568 node2->op = Singleton<UnaryEqual>::get(); in setEqual()
569 node1->children.push_back(node2); in setEqual()
[all …]
DRandomVariable.h245 bool isSubordinate(const RandomVariableNode& node1, const RandomVariableNode& node2);
/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp41 AttributionNodeInternal node2; in TEST() local
42 node2.set_uid(2000); in TEST()
43 node2.set_tag("tag2"); in TEST()
44 nodes.push_back(node2); in TEST()
227 AttributionNodeInternal node2; in TEST() local
228 node2.set_uid(2000); in TEST()
229 node2.set_tag("tag2"); in TEST()
230 nodes.push_back(node2); in TEST()