Home
last modified time | relevance | path

Searched refs:expectedPresentTime (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp92 bool BufferQueueLayer::shouldPresentNow(nsecs_t expectedPresentTime) const { in shouldPresentNow()
106 const bool isPlausible = addedTime < (expectedPresentTime + s2ns(1)); in shouldPresentNow()
110 mName.string(), addedTime, expectedPresentTime); in shouldPresentNow()
112 const bool isDue = addedTime < expectedPresentTime; in shouldPresentNow()
146 return mQueueItems[0].mTimestamp <= mFlinger->mScheduler->expectedPresentTime(); in framePresentTimeIsCurrent()
204 nsecs_t expectedPresentTime = mFlinger->mScheduler->expectedPresentTime(); in getFrameNumber() local
207 expectedPresentTime = 0; in getFrameNumber()
223 if (desiredPresent < expectedPresentTime - BufferQueueConsumer::MAX_REASONABLE_NSEC || in getFrameNumber()
224 desiredPresent > expectedPresentTime) { in getFrameNumber()
282 nsecs_t expectedPresentTime = mFlinger->mScheduler->expectedPresentTime(); in updateTexImage() local
[all …]
DBufferQueueLayer.h56 bool shouldPresentNow(nsecs_t expectedPresentTime) const override;
DBufferLayerConsumer.h95 status_t updateTexImage(BufferRejecter* rejecter, nsecs_t expectedPresentTime,
DBufferLayerConsumer.cpp101 status_t BufferLayerConsumer::updateTexImage(BufferRejecter* rejecter, nsecs_t expectedPresentTime, in updateTexImage() argument
118 status_t err = acquireBufferLocked(&item, expectedPresentTime, maxFrameNumber); in updateTexImage()
DBufferStateLayer.h46 bool shouldPresentNow(nsecs_t expectedPresentTime) const override;
DSurfaceFlinger.cpp3246 nsecs_t expectedPresentTime; in handlePageFlip() local
3247 expectedPresentTime = mScheduler->expectedPresentTime(); in handlePageFlip()
3248 if (layer->shouldPresentNow(expectedPresentTime)) { in handlePageFlip()
3644 nsecs_t expectedPresentTime = mScheduler->expectedPresentTime(); in transactionIsReadyToBeApplied() local
3647 if (desiredPresentTime >= 0 && desiredPresentTime >= expectedPresentTime && in transactionIsReadyToBeApplied()
3648 desiredPresentTime < expectedPresentTime + s2ns(1)) { in transactionIsReadyToBeApplied()
DBufferStateLayer.cpp383 return mDesiredPresentTime <= mFlinger->mScheduler->expectedPresentTime(); in framePresentTimeIsCurrent()
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.h63 virtual nsecs_t expectedPresentTime() = 0;
185 nsecs_t expectedPresentTime();
DScheduler.cpp312 nsecs_t Scheduler::expectedPresentTime() { in expectedPresentTime() function in android::Scheduler
313 return mPrimaryDispSync->expectedPresentTime(); in expectedPresentTime()
DScheduler.h147 nsecs_t expectedPresentTime();
DDispSync.cpp842 nsecs_t DispSync::expectedPresentTime() { in expectedPresentTime() function in android::impl::DispSync
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockDispSync.h41 MOCK_METHOD0(expectedPresentTime, nsecs_t());
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp101 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in CompositionTest()
DDisplayTransactionTest.cpp2708 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp3191 void addExpectedPresentTime(nsecs_t expectedPresentTime) { in addExpectedPresentTime() argument
3192 mExpectedPresentTime = expectedPresentTime; in addExpectedPresentTime()