Home
last modified time | relevance | path

Searched refs:voteType (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.cpp190 const auto voteType = [&]() { in partitionLayers() local
203 if (frameRate.rate.isValid() || voteType == LayerVoteType::NoVote) { in partitionLayers()
204 const auto type = info->isVisible() ? voteType : LayerVoteType::NoVote; in partitionLayers()
DScheduler.cpp580 scheduler::LayerHistory::LayerVoteType voteType; in registerLayer() local
584 voteType = scheduler::LayerHistory::LayerVoteType::NoVote; in registerLayer()
587 voteType = scheduler::LayerHistory::LayerVoteType::Min; in registerLayer()
589 voteType = scheduler::LayerHistory::LayerVoteType::Heuristic; in registerLayer()
595 mLayerHistory->registerLayer(layer, voteType); in registerLayer()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp1677 auto getFrameRate = [&](LayerVoteType voteType, Fps fps, bool touchActive = false, in TEST_F()
1679 layers[0].vote = voteType; in TEST_F()
1735 const auto getIdleFrameRate = [&](LayerVoteType voteType, bool touchActive) -> DisplayModeId { in TEST_F() argument
1736 layers[0].vote = voteType; in TEST_F()