Searched refs:expectedPresentTime (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | BufferQueueLayer.cpp | 92 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 …]
|
D | BufferQueueLayer.h | 56 bool shouldPresentNow(nsecs_t expectedPresentTime) const override;
|
D | BufferLayerConsumer.h | 95 status_t updateTexImage(BufferRejecter* rejecter, nsecs_t expectedPresentTime,
|
D | BufferLayerConsumer.cpp | 101 status_t BufferLayerConsumer::updateTexImage(BufferRejecter* rejecter, nsecs_t expectedPresentTime, in updateTexImage() argument 118 status_t err = acquireBufferLocked(&item, expectedPresentTime, maxFrameNumber); in updateTexImage()
|
D | BufferStateLayer.h | 47 bool shouldPresentNow(nsecs_t expectedPresentTime) const override;
|
D | SurfaceFlinger.cpp | 3318 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/ |
D | DispSync.h | 63 virtual nsecs_t expectedPresentTime() = 0; 187 nsecs_t expectedPresentTime();
|
D | Scheduler.cpp | 320 return mPrimaryDispSync->expectedPresentTime(); in getDispSyncExpectedPresentTime()
|
D | DispSync.cpp | 856 nsecs_t DispSync::expectedPresentTime() { in expectedPresentTime() function in android::impl::DispSync
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockDispSync.h | 42 MOCK_METHOD0(expectedPresentTime, nsecs_t());
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 101 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in CompositionTest()
|
D | DisplayTransactionTest.cpp | 2718 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 3254 void addExpectedPresentTime(nsecs_t expectedPresentTime) { in addExpectedPresentTime() argument 3255 mExpectedPresentTime = expectedPresentTime; in addExpectedPresentTime()
|