Home
last modified time | relevance | path

Searched refs:NoVote (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.cpp65 traceType(LayerHistory::LayerVoteType::NoVote, 1); in trace()
151 if (vote.type == LayerVoteType::NoVote) { in summarize()
188 trace(*info, LayerVoteType::NoVote, 0); in partitionLayers()
208 case Layer::FrameRateCompatibility::NoVote: in partitionLayers()
209 return LayerVoteType::NoVote; in partitionLayers()
215 if (frameRate.rate.isValid() || voteType == LayerVoteType::NoVote) { in partitionLayers()
216 const auto type = info->isVisible() ? voteType : LayerVoteType::NoVote; in partitionLayers()
225 trace(*info, LayerVoteType::NoVote, 0); in partitionLayers()
DLayerInfo.h82 NoVote, // Layer doesn't have any requirements for the refresh rate and enumerator
85 ftl_last = NoVote
DRefreshRateConfigs.h138 NoVote, // Doesn't care about the refresh rate enumerator
160 LayerVoteType vote = LayerVoteType::NoVote;
DRefreshRateConfigs.cpp293 case LayerVoteType::NoVote: in getBestRefreshRateLocked()
382 if (layer.vote == LayerVoteType::NoVote || layer.vote == LayerVoteType::Min) { in getBestRefreshRateLocked()
446 case LayerVoteType::NoVote: in getBestRefreshRateLocked()
633 if (layer->vote == LayerVoteType::NoVote || layer->vote == LayerVoteType::Min) { in getFrameRateOverrides()
DScheduler.cpp506 voteType = scheduler::LayerHistory::LayerVoteType::NoVote; in registerLayer()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSetFrameRateTest.cpp59 const FrameRate FRAME_RATE_VOTE3 = FrameRate(99_Hz, FrameRateCompatibility::NoVote);
60 const FrameRate FRAME_RATE_TREE = FrameRate(Fps(), FrameRateCompatibility::NoVote);
DRefreshRateConfigsTest.cpp934 lr2.vote = LayerVoteType::NoVote; in TEST_F()
941 lr2.vote = LayerVoteType::NoVote; in TEST_F()
1517 EXPECT_EQ(kModeId60, getFrameRate(LayerVoteType::NoVote, 90_Hz)); in TEST_F()
1540 EXPECT_EQ(kModeId60, getFrameRate(LayerVoteType::NoVote, 90_Hz)); in TEST_F()
1571 EXPECT_EQ(kModeId90, getIdleFrameRate(LayerVoteType::NoVote, kTouchActive)); in TEST_F()
1588 EXPECT_EQ(kModeId60, getIdleFrameRate(LayerVoteType::NoVote, kTouchActive)); in TEST_F()
1764 explicitExactOrMultipleLayer.vote = LayerVoteType::NoVote; in TEST_F()
1986 layers[0].vote = LayerVoteType::NoVote; in TEST_F()
DLayerHistoryTest.cpp230 setDefaultLayerVote(layer.get(), LayerHistory::LayerVoteType::NoVote); in TEST_F()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1158 mDrawingState.frameRate.type == FrameRateCompatibility::NoVote) { in propagateFrameRateForLayerTree()
1176 if (!frameRate.rate.isValid() && frameRate.type != FrameRateCompatibility::NoVote && in propagateFrameRateForLayerTree()
1179 setFrameRateForLayerTree(FrameRate(Fps(), FrameRateCompatibility::NoVote)); in propagateFrameRateForLayerTree()
1187 const auto layerVotedWithNoVote = frameRate.type == FrameRateCompatibility::NoVote; in propagateFrameRateForLayerTree()
2614 return FrameRateCompatibility::NoVote; in convertCompatibility()