Home
last modified time | relevance | path

Searched refs:signalTime (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/ui/
DFenceTime.cpp52 FenceTime::FenceTime(nsecs_t signalTime) in FenceTime() argument
53 : mState(Fence::isValidTimestamp(signalTime) ? State::VALID : State::INVALID), in FenceTime()
55 mSignalTime(signalTime) { in FenceTime()
75 nsecs_t signalTime = mSignalTime.load(std::memory_order_relaxed); in applyTrustedSnapshot() local
76 if (signalTime != Fence::SIGNAL_TIME_PENDING) { in applyTrustedSnapshot()
80 if (CC_UNLIKELY(signalTime != src.signalTime)) { in applyTrustedSnapshot()
83 signalTime, src.signalTime); in applyTrustedSnapshot()
90 mSignalTime.store(src.signalTime, std::memory_order_relaxed); in applyTrustedSnapshot()
102 nsecs_t signalTime = mSignalTime.load(std::memory_order_relaxed); in getSignalTime() local
103 if (signalTime != Fence::SIGNAL_TIME_PENDING) { in getSignalTime()
[all …]
/frameworks/native/services/surfaceflinger/FrameTracer/
DFrameTracer.cpp85 const nsecs_t signalTime = fence->getSignalTime(); in traceFence() local
86 if (signalTime != Fence::SIGNAL_TIME_INVALID) { in traceFence()
95 if (signalTime != Fence::SIGNAL_TIME_PENDING) { in traceFence()
96 traceSpanLocked(ctx, layerId, bufferID, frameNumber, type, startTime, signalTime); in traceFence()
115 nsecs_t signalTime = Fence::SIGNAL_TIME_INVALID; in tracePendingFencesLocked() local
117 signalTime = pendingFence.fence->getSignalTime(); in tracePendingFencesLocked()
118 if (signalTime == Fence::SIGNAL_TIME_PENDING) { in tracePendingFencesLocked()
123 if (signalTime != Fence::SIGNAL_TIME_INVALID && in tracePendingFencesLocked()
124 systemTime() - signalTime < kFenceSignallingDeadline) { in tracePendingFencesLocked()
126 pendingFence.startTime, signalTime); in tracePendingFencesLocked()
/frameworks/native/libs/ui/include/ui/
DFenceTime.h55 explicit Snapshot(nsecs_t signalTime);
74 nsecs_t signalTime{Fence::SIGNAL_TIME_INVALID};
84 explicit FenceTime(nsecs_t signalTime);
115 void signalForTest(nsecs_t signalTime);
191 void signalAllForTest(const sp<Fence>& fence, nsecs_t signalTime);
/frameworks/native/libs/ui/include_vndk/ui/
DFenceTime.h55 explicit Snapshot(nsecs_t signalTime);
74 nsecs_t signalTime{Fence::SIGNAL_TIME_INVALID};
84 explicit FenceTime(nsecs_t signalTime);
115 void signalForTest(nsecs_t signalTime);
191 void signalAllForTest(const sp<Fence>& fence, nsecs_t signalTime);
/frameworks/av/media/libstagefright/
DFrameRenderTracker.cpp124 nsecs_t signalTime = it->mFence->getSignalTime(); in checkFencesAndGetRenderedFrames() local
125 if (signalTime < 0) { // invalid fence in checkFencesAndGetRenderedFrames()
127 } else if (signalTime == INT64_MAX) { // unsignaled fence in checkFencesAndGetRenderedFrames()
132 it->mRenderTimeNs = signalTime; in checkFencesAndGetRenderedFrames()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp60 nsecs_t signalTime = mCombinedFence->getSignalTime(); in hasOutstandingBuffersLocked() local
63 __FUNCTION__, mId, mHandoutTotalBufferCount, signalTime); in hasOutstandingBuffersLocked()
64 if (mHandoutTotalBufferCount > 0 || signalTime == INT64_MAX) { in hasOutstandingBuffersLocked()
DStatusTracker.cpp127 nsecs_t signalTime = mIdleFence->getSignalTime(); in getDeviceStateLocked() local
128 bool fencesDone = signalTime != INT64_MAX; in getDeviceStateLocked()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncReactor.cpp167 nsecs_t const signalTime = fence->getCachedSignalTime(); in addPresentFence() local
168 if (signalTime == Fence::SIGNAL_TIME_INVALID) { in addPresentFence()
191 if (signalTime == Fence::SIGNAL_TIME_PENDING) { in addPresentFence()
197 timestampAccepted &= mTracker->addVsyncTimestamp(signalTime); in addPresentFence()
/frameworks/native/libs/gui/
DFrameTimestamps.cpp94 nsecs_t signalTime = fenceTime.getCachedSignalTime(); in dumpFenceTime() local
95 if (Fence::isValidTimestamp(signalTime)) { in dumpFenceTime()
96 StringAppendF(&outString, "%" PRId64 "\n", signalTime); in dumpFenceTime()
97 } else if (pending || signalTime == Fence::SIGNAL_TIME_PENDING) { in dumpFenceTime()
341 *dst = std::make_shared<FenceTime>(src.signalTime); in applyFenceDelta()
DSurface.cpp269 nsecs_t signalTime = src->getSignalTime(); in getFrameTimestampFence() local
270 *dst = (signalTime == Fence::SIGNAL_TIME_PENDING) ? in getFrameTimestampFence()
272 (signalTime == Fence::SIGNAL_TIME_INVALID) ? in getFrameTimestampFence()
274 signalTime; in getFrameTimestampFence()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp406 nsecs_t signalTime = fence->getSignalTime(); in fetchFromIgbp_l() local
407 if (signalTime >= 0 && signalTime < INT64_MAX) { in fetchFromIgbp_l()
408 mRenderCallback(mProducerId, slot, signalTime); in fetchFromIgbp_l()
410 ALOGV("got fence signal time of %lld", (long long)signalTime); in fetchFromIgbp_l()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp320 const nsecs_t signalTime = systemTime() - FrameTracer::kFenceSignallingDeadline; in TEST_F() local
330 fenceFactory.signalAllForTest(Fence::NO_FENCE, signalTime); in TEST_F()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp549 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize()
DH2BGraphicBufferProducer.cpp592 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize()