Home
last modified time | relevance | path

Searched refs:parent1 (Results 1 – 6 of 6) sorted by relevance

/packages/providers/MediaProvider/jni/
Dnode_test.cpp105 unique_node_ptr parent1 = CreateNode(nullptr, "/path1"); in TEST_F() local
108 unique_node_ptr child = CreateNode(parent1.get(), "subdir"); in TEST_F()
109 ASSERT_EQ(2, GetRefCount(parent1.get())); in TEST_F()
110 ASSERT_EQ(child.get(), parent1->LookupChildByName("subdir", false /* acquire */)); in TEST_F()
113 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
114 ASSERT_EQ(nullptr, parent1->LookupChildByName("subdir", false /* acquire */)); in TEST_F()
124 unique_node_ptr parent1 = CreateNode(nullptr, "/path1"); in TEST_F() local
127 unique_node_ptr child = CreateNode(parent1.get(), "subdir"); in TEST_F()
128 ASSERT_EQ(2, GetRefCount(parent1.get())); in TEST_F()
129 ASSERT_EQ(child.get(), parent1->LookupChildByName("subdir", false /* acquire */)); in TEST_F()
[all …]
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomVariable.cpp61 parent1(lhs), in RandomVariableBase()
101 return op->eval(parent1->getValue(), parent2 == nullptr ? 0 : parent2->getValue()); in getValue()
136 if (mVar->parent1->type == RandomVariableType::CONST) { in RandomVariable()
137 mVar->parent1 = RandomVariable(mVar->parent1->value).get(); in RandomVariable()
142 mVar->parent1->children.push_back(mVar); in RandomVariable()
286 std::pair<int, int> parent1 = {*parent1In->begin(), *parent1In->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 …]
DRandomVariable.h104 std::shared_ptr<RandomVariableBase> parent1 = nullptr; member
DRandomGraphGeneratorUtils.h223 os << "var" << var->parent1->index << " " << var->op->getName();
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNodeBuilderTest.java180 AccessibilityNodeInfo parent1 = mNodeBuilder.setParent(root).build(); in testFindInputFocus_succeeded() local
182 AccessibilityNodeInfo child1 = mNodeBuilder.setParent(parent1).build(); in testFindInputFocus_succeeded()
183 AccessibilityNodeInfo child2 = mNodeBuilder.setParent(parent1).build(); in testFindInputFocus_succeeded()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
DFocusParkingViewTest.java65 mParent1 = mActivity.findViewById(R.id.parent1); in setUp()