Lines Matching refs:child1
112 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
115 addChild(parent, child1); in TEST_P()
116 addChild(child1, child2); in TEST_P()
121 EXPECT_EQ(FRAME_RATE_TREE, child1->getFrameRateForLayerTree()); in TEST_P()
127 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P()
137 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
140 addChild(parent, child1); in TEST_P()
141 addChild(child1, child2); in TEST_P()
144 child1->setFrameRate(FRAME_RATE_VOTE2.vote); in TEST_P()
148 EXPECT_EQ(FRAME_RATE_VOTE2, child1->getFrameRateForLayerTree()); in TEST_P()
154 EXPECT_EQ(FRAME_RATE_VOTE2, child1->getFrameRateForLayerTree()); in TEST_P()
157 child1->setFrameRate(FRAME_RATE_NO_VOTE.vote); in TEST_P()
160 EXPECT_EQ(FRAME_RATE_VOTE3, child1->getFrameRateForLayerTree()); in TEST_P()
166 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P()
176 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
179 addChild(parent, child1); in TEST_P()
180 addChild(child1, child2); in TEST_P()
185 EXPECT_EQ(FRAME_RATE_VOTE1, child1->getFrameRateForLayerTree()); in TEST_P()
191 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P()
201 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
204 addChild(parent, child1); in TEST_P()
205 addChild(child1, child2); in TEST_P()
208 child1->setFrameRate(FRAME_RATE_VOTE2.vote); in TEST_P()
212 EXPECT_EQ(FRAME_RATE_VOTE2, child1->getFrameRateForLayerTree()); in TEST_P()
218 EXPECT_EQ(FRAME_RATE_VOTE2, child1->getFrameRateForLayerTree()); in TEST_P()
221 child1->setFrameRate(FRAME_RATE_NO_VOTE.vote); in TEST_P()
224 EXPECT_EQ(FRAME_RATE_TREE, child1->getFrameRateForLayerTree()); in TEST_P()
230 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P()
240 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
243 addChild(parent, child1); in TEST_P()
248 EXPECT_EQ(FRAME_RATE_VOTE1, child1->getFrameRateForLayerTree()); in TEST_P()
251 addChild(child1, child2); in TEST_P()
254 EXPECT_EQ(FRAME_RATE_VOTE1, child1->getFrameRateForLayerTree()); in TEST_P()
260 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P()
270 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
273 addChild(parent, child1); in TEST_P()
274 addChild(child1, child2); in TEST_P()
279 EXPECT_EQ(FRAME_RATE_VOTE1, child1->getFrameRateForLayerTree()); in TEST_P()
282 removeChild(child1, child2); in TEST_P()
285 EXPECT_EQ(FRAME_RATE_VOTE1, child1->getFrameRateForLayerTree()); in TEST_P()
291 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P()
301 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
305 addChild(parent, child1); in TEST_P()
306 addChild(child1, child2); in TEST_P()
307 addChild(child1, child2_1); in TEST_P()
312 EXPECT_EQ(FRAME_RATE_TREE, child1->getFrameRateForLayerTree()); in TEST_P()
319 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P()
360 const auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
364 addChild(parent, child1); in TEST_P()
365 addChild(child1, childOfChild1); in TEST_P()
370 EXPECT_EQ(FRAME_RATE_TREE, child1->getFrameRateForLayerTree()); in TEST_P()
377 EXPECT_EQ(FRAME_RATE_TREE, child1->getFrameRateForLayerTree()); in TEST_P()
384 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P()