Home
last modified time | relevance | path

Searched refs:presentLatency (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/gui/tests/
DCompositorTiming_test.cpp39 EXPECT_EQ(timing.presentLatency, gui::CompositorTiming::kDefaultVsyncPeriod); in TEST()
45 const nsecs_t presentLatency = kIdealLatency + presentDelay; in TEST() local
46 const nsecs_t vsyncDeadline = compositeTime + presentLatency + kVsyncPeriod; in TEST()
49 presentLatency); in TEST()
56 EXPECT_GE(timing.presentLatency, kIdealLatency); in TEST()
57 EXPECT_EQ(timing.presentLatency % timing.interval, kIdealLatency); in TEST()
DSurface_test.cpp1084 nsecs_t presentLatency = 50'000'000) { in makeCompositorTiming() argument
1088 timing.presentLatency = presentLatency; in makeCompositorTiming()
1394 EXPECT_EQ(initialCompositorTiming.presentLatency, in TEST_F()
1531 EXPECT_EQ(initialCompositorTiming.presentLatency, in TEST_F()
1544 EXPECT_EQ(initialCompositorTiming.presentLatency, in TEST_F()
1559 EXPECT_EQ(mFrames[0].mRefreshes[1].kCompositorTiming.presentLatency, in TEST_F()
1574 EXPECT_EQ(mFrames[1].mRefreshes[1].kCompositorTiming.presentLatency, in TEST_F()
1590 EXPECT_EQ(mFrames[2].mRefreshes[1].kCompositorTiming.presentLatency, in TEST_F()
/frameworks/native/libs/gui/
DCompositorTiming.cpp26 nsecs_t presentLatency) { in CompositorTiming() argument
45 const nsecs_t extraVsyncs = (presentLatency - idealLatency + bias) / vsyncPeriod; in CompositorTiming()
51 this->presentLatency = snappedLatency; in CompositorTiming()
DITransactionCompletedListener.cpp77 err = output->writeInt64(compositorTiming.presentLatency); in writeToParcel()
112 err = input->readInt64(&(compositorTiming.presentLatency)); in readFromParcel()
/frameworks/native/services/surfaceflinger/Scheduler/src/
DPresentLatencyTracker.cpp27 Duration presentLatency = Duration::zero(); in trackPendingFrame() local
40 presentLatency = presentTime - pendingFrame.compositeTime; in trackPendingFrame()
53 return presentLatency; in trackPendingFrame()
/frameworks/native/libs/gui/include/gui/
DCompositorTiming.h29 nsecs_t presentLatency);
40 nsecs_t presentLatency = kDefaultVsyncPeriod; member
DFrameTimestamps.h124 return mCompositorTiming.presentLatency; in getCompositeToPresentLatency()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h560 std::chrono::nanoseconds presentLatency) const { in calculateMaxAcquiredBufferCount() argument
561 return SurfaceFlinger::calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in calculateMaxAcquiredBufferCount()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp3154 const Duration presentLatency = mHasReliablePresentFences in onCompositionPresented() local
3165 presentLatency.ns()); in onCompositionPresented()
9012 std::chrono::nanoseconds presentLatency) { in calculateMaxAcquiredBufferCount() argument
9013 auto pipelineDepth = presentLatency.count() / refreshRate.getPeriodNsecs(); in calculateMaxAcquiredBufferCount()
9014 if (presentLatency.count() % refreshRate.getPeriodNsecs()) { in calculateMaxAcquiredBufferCount()
9050 const auto presentLatency = vsyncConfig.appWorkDuration + vsyncConfig.sfWorkDuration; in getMaxAcquiredBufferCountForRefreshRate() local
9051 return calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in getMaxAcquiredBufferCountForRefreshRate()
DSurfaceFlinger.h1225 std::chrono::nanoseconds presentLatency);