Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/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.h224 if (var->parent2 != nullptr) os << " var" << var->parent2->index;
DRandomVariable.h105 std::shared_ptr<RandomVariableBase> parent2 = nullptr; member
/packages/providers/MediaProvider/jni/
Dnode_test.cpp105 unique_node_ptr parent2 = CreateNode(nullptr, "/path2"); in TEST_F() local
111 child->Rename("subdir", parent2.get()); in TEST_F()
115 ASSERT_EQ(2, GetRefCount(parent2.get())); in TEST_F()
116 ASSERT_EQ(child.get(), parent2->LookupChildByName("subdir", false /* acquire */)); in TEST_F()
124 unique_node_ptr parent2 = CreateNode(nullptr, "/path2"); in TEST_F() local
130 child->Rename("subdir_new", parent2.get()); in TEST_F()
135 ASSERT_EQ(2, GetRefCount(parent2.get())); in TEST_F()
136 ASSERT_EQ(child.get(), parent2->LookupChildByName("subdir_new", false /* acquire */)); in TEST_F()
173 unique_node_ptr parent2 = CreateNode(nullptr, "/path2"); in TEST_F() local
183 parent1->RenameChild("subdir", "subdir", parent2.get()); in TEST_F()
[all …]
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNodeBuilderTest.java181 AccessibilityNodeInfo parent2 = mNodeBuilder.setParent(root).build(); in testFindInputFocus_succeeded() local
184 AccessibilityNodeInfo child3 = mNodeBuilder.setParent(parent2).setFocused(true).build(); in testFindInputFocus_succeeded()
185 AccessibilityNodeInfo child4 = mNodeBuilder.setParent(parent2).build(); in testFindInputFocus_succeeded()