Searched refs:getFrameRateForLayerTree (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SetFrameRateTest.cpp | 103 EXPECT_EQ(FRAME_RATE_VOTE1, layer->getFrameRateForLayerTree()); in TEST_P() 120 EXPECT_EQ(FRAME_RATE_TREE, parent->getFrameRateForLayerTree()); in TEST_P() 121 EXPECT_EQ(FRAME_RATE_TREE, child1->getFrameRateForLayerTree()); in TEST_P() 122 EXPECT_EQ(FRAME_RATE_VOTE1, child2->getFrameRateForLayerTree()); in TEST_P() 126 EXPECT_EQ(FRAME_RATE_NO_VOTE, parent->getFrameRateForLayerTree()); in TEST_P() 127 EXPECT_EQ(FRAME_RATE_NO_VOTE, child1->getFrameRateForLayerTree()); in TEST_P() 128 EXPECT_EQ(FRAME_RATE_NO_VOTE, child2->getFrameRateForLayerTree()); in TEST_P() 147 EXPECT_EQ(FRAME_RATE_VOTE3, parent->getFrameRateForLayerTree()); in TEST_P() 148 EXPECT_EQ(FRAME_RATE_VOTE2, child1->getFrameRateForLayerTree()); in TEST_P() 149 EXPECT_EQ(FRAME_RATE_VOTE1, child2->getFrameRateForLayerTree()); in TEST_P() [all …]
|
D | FrameRateSelectionStrategyTest.cpp | 101 EXPECT_EQ(FRAME_RATE_VOTE1, layer->getFrameRateForLayerTree()); in TEST_P() 119 EXPECT_EQ(FRAME_RATE_TREE, parent->getFrameRateForLayerTree()); in TEST_P() 122 EXPECT_EQ(FRAME_RATE_TREE, child1->getFrameRateForLayerTree()); in TEST_P() 125 EXPECT_EQ(FRAME_RATE_VOTE1, child2->getFrameRateForLayerTree()); in TEST_P() 147 EXPECT_EQ(FRAME_RATE_VOTE1, layer1->getFrameRateForLayerTree()); in TEST_P() 150 EXPECT_EQ(FRAME_RATE_VOTE1, layer2->getFrameRateForLayerTree()); in TEST_P() 153 EXPECT_EQ(FRAME_RATE_VOTE1, layer3->getFrameRateForLayerTree()); in TEST_P() 160 EXPECT_EQ(FRAME_RATE_VOTE1, layer1->getFrameRateForLayerTree()); in TEST_P() 163 EXPECT_EQ(FRAME_RATE_VOTE2, layer2->getFrameRateForLayerTree()); in TEST_P() 166 EXPECT_EQ(FRAME_RATE_VOTE2, layer3->getFrameRateForLayerTree()); in TEST_P() [all …]
|
D | LayerHistoryTest.cpp | 163 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 190 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 218 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 292 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 318 EXPECT_CALL(*layer, getFrameRateForLayerTree()) in TEST_F() 354 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 381 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 403 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 431 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 460 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockLayer.h | 44 MOCK_CONST_METHOD0(getFrameRateForLayerTree, FrameRate());
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 506 virtual FrameRate getFrameRateForLayerTree() const; 923 .setFrameRateVote = getFrameRateForLayerTree(), in getLayerProps()
|
D | Layer.cpp | 1518 Layer::FrameRate Layer::getFrameRateForLayerTree() const { in getFrameRateForLayerTree() function in android::Layer 1618 const auto frameRate = getFrameRateForLayerTree(); in miniDumpLegacy() 4100 const auto vote = frameRateToSetFrameRateVotePayload(getFrameRateForLayerTree()); in onCompositionPresented()
|
D | SurfaceFlinger.cpp | 5346 .setFrameRateVote = layer->getFrameRateForLayerTree(), in applyTransactionState()
|