Home
last modified time | relevance | path

Searched refs:RefreshRateConfigs (Results 1 – 25 of 25) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp31 using AllRefreshRatesMapType = RefreshRateConfigs::AllRefreshRatesMapType;
32 using RefreshRate = RefreshRateConfigs::RefreshRate;
34 std::string RefreshRateConfigs::layerVoteTypeString(LayerVoteType vote) { in layerVoteTypeString()
51 const RefreshRate& RefreshRateConfigs::getRefreshRateForContent( in getRefreshRateForContent()
105 std::pair<nsecs_t, nsecs_t> RefreshRateConfigs::getDisplayFrames(nsecs_t layerPeriod, in getDisplayFrames()
117 const RefreshRate& RefreshRateConfigs::getBestRefreshRate( in getBestRefreshRate()
334 const RefreshRate* RefreshRateConfigs::getBestRefreshRate(Iter begin, Iter end) const { in getBestRefreshRate()
353 const AllRefreshRatesMapType& RefreshRateConfigs::getAllRefreshRates() const { in getAllRefreshRates()
357 const RefreshRate& RefreshRateConfigs::getMinRefreshRateByPolicy() const { in getMinRefreshRateByPolicy()
362 const RefreshRate& RefreshRateConfigs::getMinRefreshRateByPolicyLocked() const { in getMinRefreshRateByPolicyLocked()
[all …]
DScheduler.h52 virtual void changeRefreshRate(const scheduler::RefreshRateConfigs::RefreshRate&,
66 using RefreshRate = scheduler::RefreshRateConfigs::RefreshRate;
78 const scheduler::RefreshRateConfigs&, ISchedulerCallback& schedulerCallback,
177 const scheduler::RefreshRateConfigs&, ISchedulerCallback& schedulerCallback,
203 scheduler::RefreshRateConfigs::GlobalSignals* consideredSignals = nullptr)
271 const scheduler::RefreshRateConfigs& mRefreshRateConfigs;
DLayerHistory.h44 using LayerVoteType = RefreshRateConfigs::LayerVoteType;
68 using Summary = std::vector<RefreshRateConfigs::LayerRequirement>;
139 LayerHistoryV2(const scheduler::RefreshRateConfigs&);
DPhaseOffsets.h54 PhaseOffsets(const scheduler::RefreshRateConfigs&);
101 PhaseDurations(const scheduler::RefreshRateConfigs&);
DRefreshRateStats.h43 RefreshRateStats(const RefreshRateConfigs& refreshRateConfigs, TimeStats& timeStats, in RefreshRateStats()
138 const RefreshRateConfigs& mRefreshRateConfigs;
DRefreshRateConfigs.h47 class RefreshRateConfigs {
90 friend RefreshRateConfigs;
280 RefreshRateConfigs(const std::vector<std::shared_ptr<const HWC2::Display::Config>>& configs,
DLayerInfoV2.h61 static void setRefreshRateConfigs(const RefreshRateConfigs& refreshRateConfigs) { in setRefreshRateConfigs()
216 static const RefreshRateConfigs* sRefreshRateConfigs;
DPhaseOffsets.cpp40 const android::scheduler::RefreshRateConfigs& refreshRateConfigs) { in getRefreshRatesFromConfigs()
60 PhaseOffsets::PhaseOffsets(const scheduler::RefreshRateConfigs& refreshRateConfigs) in PhaseOffsets()
284 PhaseDurations::PhaseDurations(const scheduler::RefreshRateConfigs& refreshRateConfigs) in PhaseDurations()
DScheduler.cpp101 const scheduler::RefreshRateConfigs& refreshRateConfig, in Scheduler()
151 const scheduler::RefreshRateConfigs& configs, in Scheduler()
477 scheduler::RefreshRateConfigs::GlobalSignals consideredSignals; in chooseRefreshRateForContent()
593 scheduler::RefreshRateConfigs::GlobalSignals consideredSignals; in handleTimerStateChanged()
619 scheduler::RefreshRateConfigs::GlobalSignals* consideredSignals) { in calculateRefreshRateConfigIndexType()
DLayerInfoV2.cpp33 const RefreshRateConfigs* LayerInfoV2::sRefreshRateConfigs = nullptr;
238 const auto tag = "LFPS " + mName + " " + RefreshRateConfigs::layerVoteTypeString(type); in getTraceTag()
DLayerHistoryV2.cpp81 LayerHistoryV2::LayerHistoryV2(const scheduler::RefreshRateConfigs& refreshRateConfigs) in LayerHistoryV2()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp37 using RefreshRate = RefreshRateConfigs::RefreshRate;
38 using LayerVoteType = RefreshRateConfigs::LayerVoteType;
39 using LayerRequirement = RefreshRateConfigs::LayerRequirement;
46 float findClosestKnownFrameRate(const RefreshRateConfigs& refreshRateConfigs, float frameRate) { in findClosestKnownFrameRate()
50 std::vector<float> getKnownFrameRate(const RefreshRateConfigs& refreshRateConfigs) { in getKnownFrameRate()
169 std::make_unique<RefreshRateConfigs>(m60OnlyConfigDevice, in TEST_F()
175 std::make_unique<RefreshRateConfigs>(m60OnlyConfigDevice, in TEST_F()
183 std::make_unique<RefreshRateConfigs>(m60_90Device, in TEST_F()
200 std::make_unique<RefreshRateConfigs>(m60_90DeviceWithDifferentGroups, in TEST_F()
225 std::make_unique<RefreshRateConfigs>(m60_90DeviceWithDifferentResolutions, in TEST_F()
[all …]
DTestableScheduler.h31 TestableScheduler(const scheduler::RefreshRateConfigs& configs, bool useContentDetectionV2) in TestableScheduler()
42 const scheduler::RefreshRateConfigs& configs, bool useContentDetectionV2) in TestableScheduler()
DSchedulerTest.cpp61 std::unique_ptr<scheduler::RefreshRateConfigs> mRefreshRateConfigs;
81 scheduler::RefreshRateConfigs>(configs, /*currentConfig=*/HwcConfigIndexType(0)); in SchedulerTest()
DRefreshRateStatsTest.cpp53 std::make_unique<RefreshRateConfigs>(configs, /*currentConfig=*/CONFIG_ID_0); in init()
61 std::unique_ptr<RefreshRateConfigs> mRefreshRateConfigs;
DTestableSurfaceFlinger.h86 const scheduler::RefreshRateConfigs& /*refreshRateConfigs*/) override { in createPhaseConfiguration() argument
91 const scheduler::RefreshRateConfigs&, in createScheduler() argument
213 scheduler::RefreshRateConfigs>(configs, /*currentConfig=*/HwcConfigIndexType(0));
DLayerHistoryTest.cpp67 RefreshRateConfigs mConfigs{{HWC2::Display::Config::Builder(mDisplay, 0)
DLayerHistoryTestV2.cpp107 RefreshRateConfigs mConfigs{{HWC2::Display::Config::Builder(mDisplay, 0)
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerFactory.h60 class RefreshRateConfigs; variable
78 const scheduler::RefreshRateConfigs&) = 0;
80 const scheduler::RefreshRateConfigs&,
DSurfaceFlingerDefaultFactory.h34 const scheduler::RefreshRateConfigs&) override;
36 const scheduler::RefreshRateConfigs&,
DSurfaceFlingerDefaultFactory.cpp68 const scheduler::RefreshRateConfigs& refreshRateConfigs) { in createPhaseConfiguration()
77 SetVSyncEnabled setVSyncEnabled, const scheduler::RefreshRateConfigs& configs, in createScheduler()
DRefreshRateOverlay.h37 using RefreshRate = scheduler::RefreshRateConfigs::RefreshRate;
DAndroid.bp172 "Scheduler/RefreshRateConfigs.cpp",
DSurfaceFlinger.h554 using RefreshRate = scheduler::RefreshRateConfigs::RefreshRate;
585 const std::optional<scheduler::RefreshRateConfigs::Policy>& policy, bool overridePolicy)
1214 std::unique_ptr<scheduler::RefreshRateConfigs> mRefreshRateConfigs;
DSurfaceFlinger.cpp1045 const scheduler::RefreshRateConfigs::Policy policy{config, {fps, fps}}; in setActiveConfig()
2965 std::make_unique<scheduler::RefreshRateConfigs>(getHwComposer().getConfigs( in initScheduler()
4446 scheduler::RefreshRateConfigs::Policy policy = mRefreshRateConfigs->getDisplayManagerPolicy(); in dumpVSync()
4454 scheduler::RefreshRateConfigs::Policy currentPolicy = mRefreshRateConfigs->getCurrentPolicy(); in dumpVSync()
5374 using KernelIdleTimerAction = scheduler::RefreshRateConfigs::KernelIdleTimerAction; in toggleKernelIdleTimer()
5968 const std::optional<scheduler::RefreshRateConfigs::Policy>& policy, bool overridePolicy) { in setDesiredDisplayConfigSpecsInternal()
6017 if (setPolicyResult == scheduler::RefreshRateConfigs::CURRENT_POLICY_UNCHANGED) { in setDesiredDisplayConfigSpecsInternal()
6020 scheduler::RefreshRateConfigs::Policy currentPolicy = mRefreshRateConfigs->getCurrentPolicy(); in setDesiredDisplayConfigSpecsInternal()
6080 using Policy = scheduler::RefreshRateConfigs::Policy; in setDesiredDisplayConfigSpecs()
6113 scheduler::RefreshRateConfigs::Policy policy = in getDesiredDisplayConfigSpecs()
[all …]