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
53 EXPECT_TRUE(child->hasParents()) << "Child node has no parent"; in TEST()
54 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
60 EXPECT_TRUE(child->hasParents()) << "Child should still have a parent"; in TEST()
61 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
65 EXPECT_FALSE(child->hasParents()) << "Child should be removed"; in TEST()
66 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
/frameworks/base/libs/hwui/
DRenderNode.h237 ANDROID_API bool hasParents() { in hasParents() function
397 if (!node->hasParents()) { in ~MarkAndSweepRemoved()