/frameworks/base/core/jni/ |
D | android_hardware_display_DisplayManagerGlobal.cpp | 36 const nsecs_t vsyncPeriod = kNanosPerSecond / refreshRate; in android_hardware_display_DisplayManagerGlobal_signalNativeCallbacks() local 38 AChoreographer_signalRefreshRateCallbacks(vsyncPeriod); in android_hardware_display_DisplayManagerGlobal_signalNativeCallbacks()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 364 DisplayModeId modeId, nsecs_t vsyncPeriod) { in onPrimaryDisplayModeChanged() argument 368 mFeatures.cachedModeChangedParams = {handle, displayId, modeId, vsyncPeriod}; in onPrimaryDisplayModeChanged() 374 onNonPrimaryDisplayModeChanged(handle, displayId, modeId, vsyncPeriod); in onPrimaryDisplayModeChanged() 389 const auto vsyncPeriod = mRefreshRateConfigs.getRefreshRateFromModeId(modeId).getVsyncPeriod(); in dispatchCachedReportedMode() local 393 vsyncPeriod == mFeatures.cachedModeChangedParams->vsyncPeriod) { in dispatchCachedReportedMode() 398 mFeatures.cachedModeChangedParams->vsyncPeriod = vsyncPeriod; in dispatchCachedReportedMode() 402 mFeatures.cachedModeChangedParams->vsyncPeriod); in dispatchCachedReportedMode() 406 DisplayModeId modeId, nsecs_t vsyncPeriod) { in onNonPrimaryDisplayModeChanged() argument 413 thread->onModeChanged(displayId, modeId, vsyncPeriod); in onNonPrimaryDisplayModeChanged() 445 const auto vsyncPeriod = mVsyncSchedule.tracker->currentPeriod(); in getDisplayStatInfo() local [all …]
|
D | EventThread.cpp | 61 auto vsyncPeriod(VSyncRequest request) { in vsyncPeriod() function 74 return StringPrintf("VSyncRequest::Periodic{period=%d}", vsyncPeriod(request)); in toString() 122 nsecs_t vsyncPeriod) { in makeModeChanged() argument 126 event.modeChange.vsyncPeriod = vsyncPeriod; in makeModeChanged() 379 nsecs_t vsyncPeriod) { in onModeChanged() argument 382 mPendingEvents.push_back(makeModeChanged(displayId, modeId, vsyncPeriod)); in onModeChanged() 557 return event.vsync.count % vsyncPeriod(connection->vsyncRequest) == 0; in shouldConsumeEvent()
|
D | VsyncConfiguration.h | 120 VsyncConfigSet getDefaultOffsets(nsecs_t vsyncPeriod) const; 121 VsyncConfigSet getHighFpsOffsets(nsecs_t vsyncPeriod) const;
|
D | Scheduler.h | 91 nsecs_t vsyncPeriod) EXCLUDES(mFeatureStateLock); 93 nsecs_t vsyncPeriod); 301 nsecs_t vsyncPeriod; member
|
D | EventThread.h | 128 nsecs_t vsyncPeriod) = 0; 178 nsecs_t vsyncPeriod) override;
|
/frameworks/av/media/libstagefright/ |
D | VideoFrameScheduler.cpp | 52 (long long)stats.vsyncTime, (long long)stats.vsyncPeriod); in updateVsync() 54 mVsyncPeriod = stats.vsyncPeriod; in updateVsync()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VsyncConfigurationTest.cpp | 111 auto validateOffsets = [](const auto& offsets, std::chrono::nanoseconds vsyncPeriod) { in TEST_F() argument 115 EXPECT_EQ(offsets.late.sfWorkDuration, vsyncPeriod - 1'000'000ns); in TEST_F() 116 EXPECT_EQ(offsets.late.appWorkDuration, vsyncPeriod); in TEST_F() 121 EXPECT_EQ(offsets.early.sfWorkDuration, vsyncPeriod - 1'000'000ns); in TEST_F() 122 EXPECT_EQ(offsets.early.appWorkDuration, vsyncPeriod); in TEST_F() 127 EXPECT_EQ(offsets.earlyGpu.sfWorkDuration, vsyncPeriod - 1'000'000ns); in TEST_F() 128 EXPECT_EQ(offsets.earlyGpu.appWorkDuration, vsyncPeriod); in TEST_F()
|
D | TestableScheduler.h | 99 DisplayModeId modeId, nsecs_t vsyncPeriod) { in onNonPrimaryDisplayModeChanged() argument 100 return Scheduler::onNonPrimaryDisplayModeChanged(handle, displayId, modeId, vsyncPeriod); in onNonPrimaryDisplayModeChanged()
|
D | RefreshRateStatsTest.cpp | 65 DisplayModePtr createDisplayMode(DisplayModeId modeId, int32_t group, int64_t vsyncPeriod); 81 int64_t vsyncPeriod) { in createDisplayMode() argument 84 .setVsyncPeriod(static_cast<int32_t>(vsyncPeriod)) in createDisplayMode()
|
D | SchedulerTest.cpp | 202 nsecs_t vsyncPeriod = 111111; in TEST_F() local 209 vsyncPeriod)); in TEST_F()
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.cpp | 105 void DeviceInfo::onRefreshRateChanged(int64_t vsyncPeriod) { in onRefreshRateChanged() argument 106 mVsyncPeriod = vsyncPeriod; in onRefreshRateChanged()
|
D | DeviceInfo.h | 72 void onRefreshRateChanged(int64_t vsyncPeriod);
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayStatInfo.h | 26 nsecs_t vsyncPeriod{0};
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DisplayStatInfo.h | 26 nsecs_t vsyncPeriod{0};
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | SFFakeHwc_test.cpp | 146 int32_t vsyncPeriod; member 189 .WillRepeatedly(DoAll(SetArgPointee<3>(testConfigs[i].vsyncPeriod), in setExpectationsForConfigs() 233 .vsyncPeriod = 16'666'666, in SetUp() 337 .vsyncPeriod = 16'666'666, in Test_HotplugOneConfig() 394 .vsyncPeriod = 16'666'666, in Test_HotplugTwoSeparateConfigs() 399 .vsyncPeriod = 11'111'111, in Test_HotplugTwoSeparateConfigs() 502 .vsyncPeriod = 16'666'666, in Test_HotplugTwoConfigsSameGroup() 507 .vsyncPeriod = 11'111'111, in Test_HotplugTwoConfigsSameGroup() 609 .vsyncPeriod = 16'666'666, in Test_HotplugThreeConfigsMixedGroups() 614 .vsyncPeriod = 11'111'111, in Test_HotplugThreeConfigsMixedGroups() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayMode.h | 67 Builder& setVsyncPeriod(int32_t vsyncPeriod) { in setVsyncPeriod() argument 68 mDisplayMode->mFps = Fps::fromPeriodNsecs(vsyncPeriod); in setVsyncPeriod()
|
/frameworks/native/libs/nativedisplay/include-private/private/android/ |
D | choreographer.h | 30 void AChoreographer_signalRefreshRateCallbacks(int64_t vsyncPeriod);
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 196 nsecs_t vsyncPeriod; in getVsyncPeriodFromHWC() local 197 const auto status = mHwComposer.getDisplayVsyncPeriod(physicalId, &vsyncPeriod); in getVsyncPeriodFromHWC() 199 return vsyncPeriod; in getVsyncPeriodFromHWC()
|
D | SurfaceFlinger.cpp | 1198 const nsecs_t vsyncPeriod = refreshRate.getPeriodNsecs(); in setActiveModeInternal() local 1201 mUpcomingActiveMode.modeId, vsyncPeriod); in setActiveModeInternal() 1719 std::optional<hal::VsyncPeriodNanos> vsyncPeriod) { in onComposerHalVsync() argument 1740 mScheduler->addResyncSample(timestamp, vsyncPeriod, &periodFlushed); in onComposerHalVsync() 1826 const auto vsyncPeriod = mScheduler->getDisplayStatInfo(now).vsyncPeriod; in previousFrameFence() local 1827 const bool expectedPresentTimeIsTheNextVsync = mExpectedPresentTime - now <= vsyncPeriod; in previousFrameFence() 1859 : stats.vsyncTime + stats.vsyncPeriod; in calculateExpectedPresentTime() 1916 const nsecs_t frameMissedSlop = stats.vsyncPeriod / 2; in onMessageInvalidate() 1981 mFrameTimeline->setSfWakeUp(vsyncId, frameStart, Fps::fromPeriodNsecs(stats.vsyncPeriod)); in onMessageInvalidate() 2209 ? (stats.vsyncPeriod - in setCompositorTimingSnapped() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | DisplayEventStructLayout_test.cpp | 43 CHECK_OFFSET(DisplayEventReceiver::Event::ModeChange, vsyncPeriod, 8); in TEST()
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventDispatcher.h | 67 nsecs_t vsyncPeriod) = 0;
|
D | DisplayEventReceiver.h | 88 nsecs_t vsyncPeriod __attribute__((aligned(8))); member
|
/frameworks/native/libs/nativedisplay/ |
D | AChoreographer.cpp | 142 nsecs_t vsyncPeriod) override; 439 void AChoreographer_signalRefreshRateCallbacks(nsecs_t vsyncPeriod) EXCLUDES(gChoreographers.lock) { in AChoreographer_signalRefreshRateCallbacks() argument 441 gChoreographers.mLastKnownVsync.store(vsyncPeriod); in AChoreographer_signalRefreshRateCallbacks()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 130 void RenderThread::refreshRateCallback(int64_t vsyncPeriod, void* data) { in refreshRateCallback() argument 133 DeviceInfo::get()->onRefreshRateChanged(vsyncPeriod); in refreshRateCallback()
|