Home
last modified time | relevance | path

Searched refs:mRefreshRateConfigs (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h46 : mRefreshRateConfigs(refreshRateConfigs), in RefreshRateStats()
82 totalTime[mRefreshRateConfigs.getRefreshRateFromConfigId(config).name] = 0; in getTotalTimes()
85 totalTime[mRefreshRateConfigs.getRefreshRateFromConfigId(config).name] += time; in getTotalTimes()
118 fps = mRefreshRateConfigs.getRefreshRateFromConfigId(mCurrentConfigMode).fps; in flushTime()
137 const RefreshRateConfigs& mRefreshRateConfigs; variable
DScheduler.cpp66 mRefreshRateConfigs(refreshRateConfig) { in Scheduler()
271 mRefreshRateConfigs.getCurrentRefreshRate().second.vsyncPeriod); in resync()
330 if (mRefreshRateConfigs.refreshRateSwitchingSupported()) { in registerLayer()
331 defaultFps = mRefreshRateConfigs.getRefreshRateFromType(RefreshRateType::DEFAULT).fps; in registerLayer()
333 mRefreshRateConfigs in registerLayer()
339 defaultFps = mRefreshRateConfigs.getCurrentRefreshRate().second.fps; in registerLayer()
444 const auto refreshRate = mRefreshRateConfigs.getCurrentRefreshRate(); in resetKernelTimerCallback()
480 const auto refreshRate = mRefreshRateConfigs.getCurrentRefreshRate(); in expiredKernelTimerCallback()
520 if (!mRefreshRateConfigs.refreshRateSwitchingSupported()) { in calculateRefreshRateType()
551 auto begin = mRefreshRateConfigs.getRefreshRateMap().cbegin(); in calculateRefreshRateType()
[all …]
DScheduler.h300 const scheduler::RefreshRateConfigs& mRefreshRateConfigs; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp37 std::unique_ptr<scheduler::RefreshRateConfigs> mRefreshRateConfigs; member in android::SchedulerTest
77 mRefreshRateConfigs = in SchedulerTest()
83 mScheduler = std::make_unique<MockScheduler>(*mRefreshRateConfigs, std::move(eventThread)); in SchedulerTest()
DRefreshRateStatsTest.cpp45 mRefreshRateConfigs = std::make_unique<RefreshRateConfigs>( in init()
48 std::make_unique<RefreshRateStats>(*mRefreshRateConfigs, mTimeStats, in init()
54 std::unique_ptr<RefreshRateConfigs> mRefreshRateConfigs; member in android::scheduler::RefreshRateStatsTest
DTestableSurfaceFlinger.h344 auto& mutableRefreshRateConfigs() { return mFlinger->mRefreshRateConfigs; } in mutableRefreshRateConfigs()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp573 if (mRefreshRateConfigs->refreshRateSwitchingSupported()) { in bootFinished()
576 mRefreshRateConfigs->getRefreshRateFromType(RefreshRateType::PERFORMANCE); in bootFinished()
849 mRefreshRateConfigs->getRefreshRateTypeFromHwcConfigId(hwConfig->getId()); in getDisplayConfigs()
951 mRefreshRateConfigs->setCurrentConfig(mUpcomingActiveConfig.configId); in setActiveConfigInternal()
1457 const auto& refreshRateConfig = mRefreshRateConfigs->getRefreshRateFromType(refreshRate); in setRefreshRateTo()
3023 mRefreshRateConfigs = in initScheduler()
3029 std::make_unique<scheduler::RefreshRateStats>(*mRefreshRateConfigs, *mTimeStats, in initScheduler()
3036 *mRefreshRateConfigs); in initScheduler()
4758 mRefreshRateConfigs->getRefreshRateFromConfigId(configId).fps); in dumpVSync()
4764 mRefreshRateConfigs->refreshRateSwitchingSupported() ? "on" : "off"); in dumpVSync()
[all …]
DSurfaceFlinger.h1141 std::unique_ptr<scheduler::RefreshRateConfigs> mRefreshRateConfigs; variable