Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistoryV2.cpp168 const auto voteType = [&]() { in partitionLayers() local
179 if (frameRate.rate > 0 || voteType == LayerVoteType::NoVote) { in partitionLayers()
180 const auto type = layer->isVisible() ? voteType : LayerVoteType::NoVote; in partitionLayers()
DLayerHistory.cpp117 const auto voteType = [&]() { in summarize() local
127 summary.push_back({layer->getName(), voteType, frameRate.rate, /* weight */ 1.0f, in summarize()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp1273 auto getFrameRate = [&](LayerVoteType voteType, float fps, bool touchActive = false, in TEST_F()
1275 layers[0].vote = voteType; in TEST_F()
1330 const auto getIdleFrameRate = [&](LayerVoteType voteType, in TEST_F()
1332 layers[0].vote = voteType; in TEST_F()