Home
last modified time | relevance | path

Searched refs:lastExpectedPresentTimestamp (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h750 .lastExpectedPresentTimestamp.ns() == expectedPresentTime; in verifyLastExpectedPresentTime()
754 TimePoint lastExpectedPresentTimestamp, in setNotifyExpectedPresentData() argument
757 displayData.lastExpectedPresentTimestamp = lastExpectedPresentTimestamp; in setNotifyExpectedPresentData()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp315 bool isFrameIntervalOnCadence(TimePoint expectedPresentTime, TimePoint lastExpectedPresentTimestamp, in isFrameIntervalOnCadence() argument
322 expectedPresentTime.ns() - lastExpectedPresentTimestamp.ns(); in isFrameIntervalOnCadence()
333 lastExpectedPresentTimestamp.ns() + calculatedPeriodsOutNs; in isFrameIntervalOnCadence()
340 TimePoint lastExpectedPresentTimestamp, in isExpectedPresentWithinTimeout() argument
354 if (expectedPresentTime.ns() < lastExpectedPresentTimestamp.ns() + timeoutOpt->ns()) { in isExpectedPresentWithinTimeout()
360 (lastExpectedPresentTimestamp.ns() + timeoutOpt->ns())) < threshold.ns(); in isExpectedPresentWithinTimeout()
4358 const auto lastExpectedPresentTimestamp = data.lastExpectedPresentTimestamp; in notifyExpectedPresentIfRequired() local
4361 data.lastExpectedPresentTimestamp = expectedPresentTime; in notifyExpectedPresentIfRequired()
4369 isFrameIntervalOnCadence(expectedPresentTime, lastExpectedPresentTimestamp, in notifyExpectedPresentIfRequired()
4373 isExpectedPresentWithinTimeout(expectedPresentTime, lastExpectedPresentTimestamp, in notifyExpectedPresentIfRequired()
[all …]
DSurfaceFlinger.h1548 TimePoint lastExpectedPresentTimestamp{};