Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.cpp66 traceType(LayerHistory::LayerVoteType::NoVote, 1); in trace()
80 if (!contentDetectionEnabled || compatibility == LayerInfo::FrameRateCompatibility::NoVote) { in getVoteType()
81 voteType = LayerHistory::LayerVoteType::NoVote; in getVoteType()
192 if (vote.type == LayerVoteType::NoVote) { in summarize()
232 trace(*info, LayerVoteType::NoVote, 0); in partitionLayers()
254 case Layer::FrameRateCompatibility::NoVote: in partitionLayers()
255 return LayerVoteType::NoVote; in partitionLayers()
261 if (frameRate.rate.isValid() || voteType == LayerVoteType::NoVote) { in partitionLayers()
262 const auto type = info->isVisible() ? voteType : LayerVoteType::NoVote; in partitionLayers()
271 trace(*info, LayerVoteType::NoVote, 0); in partitionLayers()
DLayerInfo.h85 NoVote, // Layer doesn't have any requirements for the refresh rate and enumerator
88 ftl_last = NoVote
DRefreshRateSelector.h145 NoVote, // Doesn't care about the refresh rate enumerator
167 LayerVoteType vote = LayerVoteType::NoVote;
DRefreshRateSelector.cpp462 case LayerVoteType::NoVote: in getRankedFrameRatesLocked()
554 if (layer.vote == LayerVoteType::NoVote || layer.vote == LayerVoteType::Min) { in getRankedFrameRatesLocked()
620 case LayerVoteType::NoVote: in getRankedFrameRatesLocked()
851 if (layer->vote == LayerVoteType::NoVote || layer->vote == LayerVoteType::Min) { in getFrameRateOverrides()
DLayerInfo.cpp333 return {LayerHistory::LayerVoteType::NoVote, Fps()}; in getRefreshRateVote()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSetFrameRateTest.cpp57 const FrameRate FRAME_RATE_VOTE3 = FrameRate(99_Hz, FrameRateCompatibility::NoVote);
58 const FrameRate FRAME_RATE_TREE = FrameRate(Fps(), FrameRateCompatibility::NoVote);
DRefreshRateSelectorTest.cpp1091 lr2.vote = LayerVoteType::NoVote; in TEST_P()
1098 lr2.vote = LayerVoteType::NoVote; in TEST_P()
1694 lr2.vote = LayerVoteType::NoVote; in TEST_P()
2083 EXPECT_EQ(kModeId60, getFrameRate(LayerVoteType::NoVote, 90_Hz)); in TEST_P()
2107 EXPECT_EQ(kModeId60, getFrameRate(LayerVoteType::NoVote, 90_Hz)); in TEST_P()
2140 EXPECT_EQ(kModeId90, getIdleDisplayModeId(LayerVoteType::NoVote, kTouchActive)); in TEST_P()
2157 EXPECT_EQ(kModeId60, getIdleDisplayModeId(LayerVoteType::NoVote, kTouchActive)); in TEST_P()
2326 explicitExactOrMultipleLayer.vote = LayerVoteType::NoVote; in TEST_P()
2601 layers[0].vote = LayerVoteType::NoVote; in TEST_P()
3029 EXPECT_EQ(kModeId35, getIdleDisplayModeId(LayerVoteType::NoVote, kTouchActive)); in TEST_P()
DLayerSnapshotTest.cpp314 EXPECT_EQ(getSnapshot(1)->frameRate.type, scheduler::LayerInfo::FrameRateCompatibility::NoVote); in TEST_F()
DLayerHistoryTest.cpp155 .WillOnce(Return(LayerInfo::FrameRateCompatibility::NoVote)); in TEST_F()
291 setDefaultLayerVote(layer.get(), LayerHistory::LayerVoteType::NoVote); in TEST_F()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshotBuilder.cpp682 childSnapshot.frameRate.type == FrameRateCompatibility::NoVote; in updateChildState()
692 snapshot.frameRate.type != FrameRateCompatibility::NoVote && in updateChildState()
695 scheduler::LayerInfo::FrameRate(Fps(), FrameRateCompatibility::NoVote); in updateChildState()
817 scheduler::LayerInfo::FrameRateCompatibility::NoVote)) in updateSnapshot()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1264 mDrawingState.frameRate.type == FrameRateCompatibility::NoVote) { in propagateFrameRateForLayerTree()
1282 if (!frameRate.rate.isValid() && frameRate.type != FrameRateCompatibility::NoVote && in propagateFrameRateForLayerTree()
1285 setFrameRateForLayerTreeLegacy(FrameRate(Fps(), FrameRateCompatibility::NoVote)); in propagateFrameRateForLayerTree()
1293 const auto layerVotedWithNoVote = frameRate.type == FrameRateCompatibility::NoVote; in propagateFrameRateForLayerTree()
2773 return FrameRateCompatibility::NoVote; in convertCompatibility()