Searched refs:expectedPresentTime (Results 1 – 15 of 15) 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() 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 …]
|
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 | 46 bool shouldPresentNow(nsecs_t expectedPresentTime) const override;
|
D | SurfaceFlinger.cpp | 3246 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()
|
D | BufferStateLayer.cpp | 383 return mDesiredPresentTime <= mFlinger->mScheduler->expectedPresentTime(); in framePresentTimeIsCurrent()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSync.h | 63 virtual nsecs_t expectedPresentTime() = 0; 185 nsecs_t expectedPresentTime();
|
D | Scheduler.cpp | 312 nsecs_t Scheduler::expectedPresentTime() { in expectedPresentTime() function in android::Scheduler 313 return mPrimaryDispSync->expectedPresentTime(); in expectedPresentTime()
|
D | Scheduler.h | 147 nsecs_t expectedPresentTime();
|
D | DispSync.cpp | 842 nsecs_t DispSync::expectedPresentTime() { in expectedPresentTime() function in android::impl::DispSync
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockDispSync.h | 41 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 | 2708 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 3191 void addExpectedPresentTime(nsecs_t expectedPresentTime) { in addExpectedPresentTime() argument 3192 mExpectedPresentTime = expectedPresentTime; in addExpectedPresentTime()
|