Home
last modified time | relevance | path

Searched refs:getVsyncPeriod (Results 1 – 18 of 18) sorted by relevance

/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DDisplayMode.h127 nsecs_t getVsyncPeriod() const { return mFps.getPeriodNsecs(); } in getVsyncPeriod() function
137 getVsyncPeriod() == other->getVsyncPeriod() && mDpiX == other->mDpiX && in equalsExceptDisplayModeId()
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DRefreshRateConfigs.cpp50 const auto refreshRate = Fps::fromPeriodNsecs(mode->getVsyncPeriod()); in constructKnownFrameRates()
156 const auto displayPeriod = refreshRate.getVsyncPeriod(); in calculateLayerScoreLocked()
839 if (refreshRate1->mode->getVsyncPeriod() != in getSortedRefreshRateListLocked()
840 refreshRate2->mode->getVsyncPeriod()) { in getSortedRefreshRateListLocked()
841 return refreshRate1->mode->getVsyncPeriod() > in getSortedRefreshRateListLocked()
842 refreshRate2->mode->getVsyncPeriod(); in getSortedRefreshRateListLocked()
H A DScheduler.cpp246 nsecs_t basePeriod = refreshRateConfigs->getCurrentRefreshRate().getVsyncPeriod(); in makeGetVsyncPeriodFunction()
270 auto getVsyncPeriod = makeGetVsyncPeriodFunction(); in createConnection() local
274 std::move(getVsyncPeriod)); in createConnection()
534 return mRefreshRateConfigs->getCurrentRefreshRate().getVsyncPeriod(); in resync()
708 resyncToHardwareVsync(true /* makeAvailable */, refreshRate.getVsyncPeriod()); in kernelIdleTimerCallback()
H A DRefreshRateConfigs.h71 nsecs_t getVsyncPeriod() const { return mode->getVsyncPeriod(); } in getVsyncPeriod() function
H A DScheduler.h214 return mRefreshRateConfigs->getCurrentRefreshRate().getVsyncPeriod(); in getVsyncPeriodFromRefreshRateConfigs()
H A DEventThread.cpp126 event.modeChange.vsyncPeriod = mode->getVsyncPeriod(); in makeModeChanged()
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/
H A DVideoFrameSchedulerBase.h38 nsecs_t getVsyncPeriod();
/aosp12/frameworks/base/libs/hwui/
H A DDeviceInfo.h42 static int64_t getVsyncPeriod() { return get()->mVsyncPeriod; } in getVsyncPeriod() function
H A DJankTracker.cpp85 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in JankTracker()
/aosp12/hardware/qcom/display/msm8994/libhdmi/
H A Dhdmi.h61 uint32_t getVsyncPeriod() const { return mVsyncPeriod; }; in getVsyncPeriod() function
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DEventThreadTest.cpp169 const auto getVsyncPeriod = [](uid_t uid) { in createThread() local
176 throttleVsync, getVsyncPeriod); in createThread()
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp241 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in setupFrameInterval()
/aosp12/frameworks/av/media/libstagefright/
H A DVideoFrameSchedulerBase.cpp353 nsecs_t VideoFrameSchedulerBase::getVsyncPeriod() { in getVsyncPeriod() function in android::VideoFrameSchedulerBase
H A DMediaSync.cpp548 int64_t twoVsyncsUs = 2 * (mFrameScheduler->getVsyncPeriod() / 1000); in onDrainVideo_l()
/aosp12/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
H A DExynosDisplayDrmInterface.h236 uint64_t getVsyncPeriod() { return mVsyncPeriod; }; in getVsyncPeriod() function
/aosp12/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp1314 int64_t twoVsyncsUs = 2 * (mVideoScheduler->getVsyncPeriod() / 1000); in postDrainVideoQueue()
1345 int64_t twoVsyncsUs = 2 * (mVideoScheduler->getVsyncPeriod() / 1000); in postDrainVideoQueue()
/aosp12/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1045 const nsecs_t period = mode->getVsyncPeriod(); in getDynamicDisplayInfo()
1114 mScheduler->resyncToHardwareVsync(true, info.mode->getVsyncPeriod()); in setDesiredActiveMode()
4545 display->refreshRateConfigs().getCurrentRefreshRate().getVsyncPeriod(); in onInitializeDisplays()
4604 const auto vsyncPeriod = display->refreshRateConfigs().getCurrentRefreshRate().getVsyncPeriod(); in setPowerModeInternal()
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_utils.cpp131 ctx->dpyAttr[dpy].vsync_period = ctx->mHDMIDisplay->getVsyncPeriod(); in updateDisplayInfo()