/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.cpp | 31 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 …]
|
D | Scheduler.h | 52 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;
|
D | LayerHistory.h | 44 using LayerVoteType = RefreshRateConfigs::LayerVoteType; 68 using Summary = std::vector<RefreshRateConfigs::LayerRequirement>; 139 LayerHistoryV2(const scheduler::RefreshRateConfigs&);
|
D | PhaseOffsets.h | 54 PhaseOffsets(const scheduler::RefreshRateConfigs&); 101 PhaseDurations(const scheduler::RefreshRateConfigs&);
|
D | RefreshRateStats.h | 43 RefreshRateStats(const RefreshRateConfigs& refreshRateConfigs, TimeStats& timeStats, in RefreshRateStats() 138 const RefreshRateConfigs& mRefreshRateConfigs;
|
D | RefreshRateConfigs.h | 47 class RefreshRateConfigs { 90 friend RefreshRateConfigs; 280 RefreshRateConfigs(const std::vector<std::shared_ptr<const HWC2::Display::Config>>& configs,
|
D | LayerInfoV2.h | 61 static void setRefreshRateConfigs(const RefreshRateConfigs& refreshRateConfigs) { in setRefreshRateConfigs() 216 static const RefreshRateConfigs* sRefreshRateConfigs;
|
D | PhaseOffsets.cpp | 40 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()
|
D | Scheduler.cpp | 101 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()
|
D | LayerInfoV2.cpp | 33 const RefreshRateConfigs* LayerInfoV2::sRefreshRateConfigs = nullptr; 238 const auto tag = "LFPS " + mName + " " + RefreshRateConfigs::layerVoteTypeString(type); in getTraceTag()
|
D | LayerHistoryV2.cpp | 81 LayerHistoryV2::LayerHistoryV2(const scheduler::RefreshRateConfigs& refreshRateConfigs) in LayerHistoryV2()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateConfigsTest.cpp | 37 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 …]
|
D | TestableScheduler.h | 31 TestableScheduler(const scheduler::RefreshRateConfigs& configs, bool useContentDetectionV2) in TestableScheduler() 42 const scheduler::RefreshRateConfigs& configs, bool useContentDetectionV2) in TestableScheduler()
|
D | SchedulerTest.cpp | 61 std::unique_ptr<scheduler::RefreshRateConfigs> mRefreshRateConfigs; 81 scheduler::RefreshRateConfigs>(configs, /*currentConfig=*/HwcConfigIndexType(0)); in SchedulerTest()
|
D | RefreshRateStatsTest.cpp | 53 std::make_unique<RefreshRateConfigs>(configs, /*currentConfig=*/CONFIG_ID_0); in init() 61 std::unique_ptr<RefreshRateConfigs> mRefreshRateConfigs;
|
D | TestableSurfaceFlinger.h | 86 const scheduler::RefreshRateConfigs& /*refreshRateConfigs*/) override { in createPhaseConfiguration() argument 91 const scheduler::RefreshRateConfigs&, in createScheduler() argument 213 scheduler::RefreshRateConfigs>(configs, /*currentConfig=*/HwcConfigIndexType(0));
|
D | LayerHistoryTest.cpp | 67 RefreshRateConfigs mConfigs{{HWC2::Display::Config::Builder(mDisplay, 0)
|
D | LayerHistoryTestV2.cpp | 107 RefreshRateConfigs mConfigs{{HWC2::Display::Config::Builder(mDisplay, 0)
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerFactory.h | 60 class RefreshRateConfigs; variable 78 const scheduler::RefreshRateConfigs&) = 0; 80 const scheduler::RefreshRateConfigs&,
|
D | SurfaceFlingerDefaultFactory.h | 34 const scheduler::RefreshRateConfigs&) override; 36 const scheduler::RefreshRateConfigs&,
|
D | SurfaceFlingerDefaultFactory.cpp | 68 const scheduler::RefreshRateConfigs& refreshRateConfigs) { in createPhaseConfiguration() 77 SetVSyncEnabled setVSyncEnabled, const scheduler::RefreshRateConfigs& configs, in createScheduler()
|
D | RefreshRateOverlay.h | 37 using RefreshRate = scheduler::RefreshRateConfigs::RefreshRate;
|
D | Android.bp | 172 "Scheduler/RefreshRateConfigs.cpp",
|
D | SurfaceFlinger.h | 554 using RefreshRate = scheduler::RefreshRateConfigs::RefreshRate; 585 const std::optional<scheduler::RefreshRateConfigs::Policy>& policy, bool overridePolicy) 1214 std::unique_ptr<scheduler::RefreshRateConfigs> mRefreshRateConfigs;
|
D | SurfaceFlinger.cpp | 1045 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 …]
|