Home
last modified time | relevance | path

Searched refs:fenceTime (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/ui/
DFenceTime.cpp338 std::shared_ptr<FenceTime> fenceTime(new FenceTime(fence, true)); in createFenceTimeForTest() local
339 mMap[fence.get()].push_back(fenceTime); in createFenceTimeForTest()
340 return fenceTime; in createFenceTimeForTest()
351 std::shared_ptr<FenceTime> fenceTime = weakFenceTime.lock(); in signalAllForTest() local
352 if (!fenceTime) { in signalAllForTest()
355 ALOGE_IF(!fenceTime->isValid(), in signalAllForTest()
357 fenceTime->signalForTest(signalTime); in signalAllForTest()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp210 auto fenceTime = fenceFactory.createFenceTimeForTest(Fence::NO_FENCE); in TEST_F() local
216 mFrameTracer->traceFence(layerId, bufferID, frameNumber, fenceTime, type); in TEST_F()
226 auto fenceTime = fenceFactory.createFenceTimeForTest(Fence::NO_FENCE); in TEST_F() local
230 mFrameTracer->traceFence(layerId, bufferID, frameNumber, fenceTime, type); in TEST_F()
/frameworks/native/libs/gui/
DFrameTimestamps.cpp92 const FenceTime& fenceTime) { in dumpFenceTime() argument
94 nsecs_t signalTime = fenceTime.getCachedSignalTime(); in dumpFenceTime()
99 } else if (&fenceTime == FenceTime::NO_FENCE.get()){ in dumpFenceTime()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp567 void Scheduler::addPresentFence(const std::shared_ptr<FenceTime>& fenceTime) { in addPresentFence() argument
568 if (mVsyncSchedule.controller->addPresentFence(fenceTime)) { in addPresentFence()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1834 const std::shared_ptr<FenceTime>& fence = previousFrameFence().fenceTime; in previousFramePending()
1847 const std::shared_ptr<FenceTime>& fence = previousFrameFence().fenceTime; in previousFramePresentTime()
2097 refreshArgs.previousPresentFence = mPreviousPresentFences[0].fenceTime; in onMessageRefresh()
2257 mPreviousPresentFences[0].fenceTime = in postComposition()
2260 getBE().mDisplayTimeline.push(mPreviousPresentFences[0].fenceTime); in postComposition()
2267 mFrameTimeline->setSfPresent(/* sfPresentTime */ now, mPreviousPresentFences[0].fenceTime, in postComposition()
2276 mPreviousPresentFences[0].fenceTime); in postComposition()
2286 mPreviousPresentFences[0].fenceTime, compositorTiming); in postComposition()
2356 mPreviousPresentFences[0].fenceTime->isValid()) { in postComposition()
2357 mScheduler->addPresentFence(mPreviousPresentFences[0].fenceTime); in postComposition()
[all …]
DSurfaceFlinger.h1057 std::shared_ptr<FenceTime> fenceTime = FenceTime::NO_FENCE; member