/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | PowerAdvisorTest.cpp | 42 void fakeBasicFrameTiming(nsecs_t startTime, nsecs_t vsyncPeriod); 43 void setExpectedTiming(nsecs_t startTime, nsecs_t vsyncPeriod); 75 void PowerAdvisorTest::fakeBasicFrameTiming(nsecs_t startTime, nsecs_t vsyncPeriod) { in fakeBasicFrameTiming() argument 78 mPowerAdvisor->setTargetWorkDuration(vsyncPeriod); in fakeBasicFrameTiming() 96 const nsecs_t vsyncPeriod = std::chrono::nanoseconds(1s).count() / 60; in TEST_F() local 103 fakeBasicFrameTiming(startTime, vsyncPeriod); in TEST_F() 104 setExpectedTiming(vsyncPeriod, startTime + vsyncPeriod); in TEST_F() 110 startTime += vsyncPeriod; in TEST_F() 115 fakeBasicFrameTiming(startTime, vsyncPeriod); in TEST_F() 116 setExpectedTiming(vsyncPeriod, startTime + vsyncPeriod); in TEST_F() [all …]
|
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()
|
/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/av/media/libstagefright/ |
D | VideoFrameScheduler.cpp | 53 (long long)stats.vsyncTime, (long long)stats.vsyncPeriod); in updateVsync() 55 mVsyncPeriod = stats.vsyncPeriod; in updateVsync()
|
/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/gui/aidl/android/gui/ |
D | DisplayStatInfo.aidl | 22 long 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/Scheduler/ |
D | VsyncConfiguration.h | 120 VsyncConfigSet getDefaultOffsets(nsecs_t vsyncPeriod) const; 121 VsyncConfigSet getHighFpsOffsets(nsecs_t vsyncPeriod) const;
|
D | Scheduler.cpp | 366 const auto vsyncPeriod = mVsyncSchedule->getTracker().currentPeriod(); in getDisplayStatInfo() local 367 return DisplayStatInfo{.vsyncTime = vsyncTime, .vsyncPeriod = vsyncPeriod}; in getDisplayStatInfo() 780 const auto vsyncPeriod = std::chrono::nanoseconds(mVsyncSchedule->getTracker().currentPeriod()); in getPreviousVsyncFrom() local 781 return std::chrono::steady_clock::time_point(presentTime - vsyncPeriod); in getPreviousVsyncFrom()
|
D | EventThread.cpp | 61 auto vsyncPeriod(VSyncRequest request) { in vsyncPeriod() function 74 return StringPrintf("VSyncRequest::Periodic{period=%d}", vsyncPeriod(request)); in toString() 132 event.modeChange.vsyncPeriod = mode->getVsyncPeriod(); in makeModeChanged() 582 return event.vsync.count % vsyncPeriod(connection->vsyncRequest) == 0; in shouldConsumeEvent()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayMode.h | 78 Builder& setVsyncPeriod(nsecs_t vsyncPeriod) { in setVsyncPeriod() argument 79 mDisplayMode->mFps = Fps::fromPeriodNsecs(vsyncPeriod); in setVsyncPeriod()
|
D | HWComposer.h | 97 nsecs_t vsyncPeriod = -1; member 104 << " vsyncPeriod=" << mode.vsyncPeriod << " dpi=" << mode.dpiX << "x"
|
/frameworks/native/libs/nativedisplay/include-private/private/android/ |
D | choreographer.h | 30 void AChoreographer_signalRefreshRateCallbacks(int64_t vsyncPeriod);
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventDispatcher.h | 56 nsecs_t vsyncPeriod) = 0;
|
D | DisplayEventReceiver.h | 89 nsecs_t vsyncPeriod __attribute__((aligned(8))); member
|
/frameworks/native/libs/gui/tests/ |
D | DisplayEventStructLayout_test.cpp | 63 CHECK_OFFSET(DisplayEventReceiver::Event::ModeChange, vsyncPeriod, 8); in TEST()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 261 nsecs_t vsyncPeriod; in getVsyncPeriodFromHWC() local 262 const auto status = mHwComposer.getDisplayVsyncPeriod(physicalId, &vsyncPeriod); in getVsyncPeriodFromHWC() 264 return vsyncPeriod; in getVsyncPeriodFromHWC()
|
D | SurfaceFlinger.cpp | 1857 std::optional<hal::VsyncPeriodNanos> vsyncPeriod) { in onComposerHalVsync() argument 1858 const std::string tracePeriod = [vsyncPeriod]() { in onComposerHalVsync() 1859 if (ATRACE_ENABLED() && vsyncPeriod) { in onComposerHalVsync() 1861 ss << "(" << *vsyncPeriod << ")"; in onComposerHalVsync() 1888 mScheduler->addResyncSample(timestamp, vsyncPeriod, &periodFlushed); in onComposerHalVsync() 1961 const auto vsyncPeriod = mScheduler->getDisplayStatInfo(now).vsyncPeriod; in previousFrameFence() local 1962 const bool expectedPresentTimeIsTheNextVsync = mExpectedPresentTime - now <= vsyncPeriod; in previousFrameFence() 1994 : stats.vsyncTime + stats.vsyncPeriod; in calculateExpectedPresentTime() 2038 const nsecs_t frameMissedSlop = stats.vsyncPeriod / 2; in commit() 2096 const nsecs_t vsyncPeriod = display->getActiveMode()->getVsyncPeriod(); in commit() local [all …]
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 143 void RenderThread::refreshRateCallback(int64_t vsyncPeriod, void* data) { in refreshRateCallback() argument 146 DeviceInfo::get()->onRefreshRateChanged(vsyncPeriod); in refreshRateCallback()
|
D | RenderThread.h | 218 static void refreshRateCallback(int64_t vsyncPeriod, void* data);
|
/frameworks/native/libs/nativedisplay/ |
D | AChoreographer.cpp | 156 nsecs_t vsyncPeriod) override; 491 void AChoreographer_signalRefreshRateCallbacks(nsecs_t vsyncPeriod) EXCLUDES(gChoreographers.lock) { in AChoreographer_signalRefreshRateCallbacks() argument 493 gChoreographers.mLastKnownVsync.store(vsyncPeriod); in AChoreographer_signalRefreshRateCallbacks()
|
/frameworks/native/libs/gui/ |
D | DisplayEventDispatcher.cpp | 176 ev.modeChange.modeId, ev.modeChange.vsyncPeriod); in processPendingEvents()
|