Home
last modified time | relevance | path

Searched refs:hasParents (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeTests.cpp41 TEST(RenderNode, hasParents) { in TEST() argument
52 EXPECT_TRUE(child->hasParents()) << "Child node has no parent"; in TEST()
53 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
59 EXPECT_TRUE(child->hasParents()) << "Child should still have a parent"; in TEST()
60 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
64 EXPECT_FALSE(child->hasParents()) << "Child should be removed"; in TEST()
65 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
/frameworks/base/libs/hwui/
DRenderNode.h207 bool hasParents() { return mParentCount; } in hasParents() function
432 if (!node->hasParents()) { in ~MarkAndSweepRemoved()