/frameworks/native/libs/ui/ |
D | FenceTime.cpp | 52 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 wait() local 103 if (signalTime != Fence::SIGNAL_TIME_PENDING) { in wait() [all …]
|
/frameworks/native/services/surfaceflinger/FrameTracer/ |
D | FrameTracer.cpp | 84 const nsecs_t signalTime = fence->getSignalTime(); in traceFence() local 85 if (signalTime != Fence::SIGNAL_TIME_INVALID) { in traceFence() 94 if (signalTime != Fence::SIGNAL_TIME_PENDING) { in traceFence() 95 traceSpanLocked(ctx, layerId, bufferID, frameNumber, type, startTime, signalTime); in traceFence() 114 nsecs_t signalTime = Fence::SIGNAL_TIME_INVALID; in tracePendingFencesLocked() local 116 signalTime = pendingFence.fence->getSignalTime(); in tracePendingFencesLocked() 117 if (signalTime == Fence::SIGNAL_TIME_PENDING) { in tracePendingFencesLocked() 122 if (signalTime != Fence::SIGNAL_TIME_INVALID && in tracePendingFencesLocked() 123 systemTime() - signalTime < kFenceSignallingDeadline) { in tracePendingFencesLocked() 125 pendingFence.startTime, signalTime); in tracePendingFencesLocked()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FenceTime.h | 55 explicit Snapshot(nsecs_t signalTime); 74 nsecs_t signalTime{Fence::SIGNAL_TIME_INVALID}; 84 explicit FenceTime(nsecs_t signalTime); 122 void signalForTest(nsecs_t signalTime); 198 void signalAllForTest(const sp<Fence>& fence, nsecs_t signalTime);
|
/frameworks/native/libs/ui/include/ui/ |
D | FenceTime.h | 55 explicit Snapshot(nsecs_t signalTime); 74 nsecs_t signalTime{Fence::SIGNAL_TIME_INVALID}; 84 explicit FenceTime(nsecs_t signalTime); 122 void signalForTest(nsecs_t signalTime); 198 void signalAllForTest(const sp<Fence>& fence, nsecs_t signalTime);
|
/frameworks/av/media/libstagefright/ |
D | FrameRenderTracker.cpp | 124 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/native/services/surfaceflinger/Scheduler/ |
D | VSyncReactor.cpp | 54 nsecs_t const signalTime = fence->getCachedSignalTime(); in addPresentFence() local 55 if (signalTime == Fence::SIGNAL_TIME_INVALID) { in addPresentFence() 78 if (signalTime == Fence::SIGNAL_TIME_PENDING) { in addPresentFence() 84 timestampAccepted &= mTracker.addVsyncTimestamp(signalTime); in addPresentFence()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3IOStreamBase.cpp | 62 nsecs_t signalTime = mCombinedFence->getSignalTime(); in hasOutstandingBuffersLocked() local 65 __FUNCTION__, mId, mHandoutTotalBufferCount, signalTime); in hasOutstandingBuffersLocked() 66 if (mHandoutTotalBufferCount > 0 || signalTime == INT64_MAX) { in hasOutstandingBuffersLocked()
|
D | StatusTracker.cpp | 146 nsecs_t signalTime = mIdleFence->getSignalTime(); in getDeviceStateLocked() local 147 bool fencesDone = signalTime != INT64_MAX; in getDeviceStateLocked()
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 94 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()
|
D | Surface.cpp | 271 nsecs_t signalTime = src->getSignalTime(); in getFrameTimestampFence() local 272 *dst = (signalTime == Fence::SIGNAL_TIME_PENDING) ? in getFrameTimestampFence() 274 (signalTime == Fence::SIGNAL_TIME_INVALID) ? in getFrameTimestampFence() 276 signalTime; in getFrameTimestampFence()
|
/frameworks/native/services/surfaceflinger/FrameTimeline/ |
D | FrameTimeline.cpp | 1002 void FrameTimeline::DisplayFrame::onPresent(nsecs_t signalTime, nsecs_t previousPresentTime) { in onPresent() argument 1003 mSurfaceFlingerActuals.presentTime = signalTime; in onPresent() 1009 surfaceFrame->onPresent(signalTime, mJankType, mRefreshRate, deadlineDelta, deltaToVsync); in onPresent() 1163 nsecs_t signalTime = Fence::SIGNAL_TIME_INVALID; in flushPendingPresentFences() local 1165 signalTime = pendingPresentFence.first->getSignalTime(); in flushPendingPresentFences() 1166 if (signalTime == Fence::SIGNAL_TIME_PENDING) { in flushPendingPresentFences() 1171 displayFrame->onPresent(signalTime, mPreviousPresentTime); in flushPendingPresentFences() 1173 mPreviousPresentTime = signalTime; in flushPendingPresentFences()
|
D | FrameTimeline.h | 370 void onPresent(nsecs_t signalTime, nsecs_t previousPresentTime);
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 381 nsecs_t signalTime = fence->getSignalTime(); in fetchFromIgbp_l() local 382 if (signalTime >= 0 && signalTime < INT64_MAX) { in fetchFromIgbp_l() 383 mRenderCallback(mProducerId, slot, signalTime); in fetchFromIgbp_l() 385 ALOGV("got fence signal time of %lld", (long long)signalTime); in fetchFromIgbp_l()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameTracerTest.cpp | 311 const nsecs_t signalTime = systemTime() - FrameTracer::kFenceSignallingDeadline; in TEST_F() local 319 fenceFactory.signalAllForTest(Fence::NO_FENCE, signalTime); in TEST_F()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | Conversion.cpp | 549 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize()
|
D | H2BGraphicBufferProducer.cpp | 592 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize()
|