Home
last modified time | relevance | path

Searched refs:expectedPresentTime (Results 1 – 13 of 13) 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()
200 nsecs_t expectedPresentTime = mFlinger->getExpectedPresentTime(); in getFrameNumber() local
203 expectedPresentTime = 0; in getFrameNumber()
219 if (desiredPresent < expectedPresentTime - BufferQueueConsumer::MAX_REASONABLE_NSEC || in getFrameNumber()
220 desiredPresent > expectedPresentTime) { in getFrameNumber()
279 nsecs_t expectedPresentTime = mFlinger->getExpectedPresentTime(); in updateTexImage() local
282 expectedPresentTime = 0; in updateTexImage()
[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.h47 bool shouldPresentNow(nsecs_t expectedPresentTime) const override;
DSurfaceFlinger.cpp3318 const nsecs_t expectedPresentTime = getExpectedPresentTime(); in handlePageFlip() local
3319 if (layer->shouldPresentNow(expectedPresentTime)) { in handlePageFlip()
3725 nsecs_t expectedPresentTime = getExpectedPresentTime(); in transactionIsReadyToBeApplied() local
3728 if (desiredPresentTime >= 0 && desiredPresentTime >= expectedPresentTime && in transactionIsReadyToBeApplied()
3729 desiredPresentTime < expectedPresentTime + s2ns(1)) { in transactionIsReadyToBeApplied()
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.h63 virtual nsecs_t expectedPresentTime() = 0;
187 nsecs_t expectedPresentTime();
DScheduler.cpp320 return mPrimaryDispSync->expectedPresentTime(); in getDispSyncExpectedPresentTime()
DDispSync.cpp856 nsecs_t DispSync::expectedPresentTime() { in expectedPresentTime() function in android::impl::DispSync
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockDispSync.h42 MOCK_METHOD0(expectedPresentTime, nsecs_t());
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp101 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in CompositionTest()
DDisplayTransactionTest.cpp2718 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp3254 void addExpectedPresentTime(nsecs_t expectedPresentTime) { in addExpectedPresentTime() argument
3255 mExpectedPresentTime = expectedPresentTime; in addExpectedPresentTime()