Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DFenceTime.cpp64 FenceTime::FenceTime(nsecs_t signalTime) in FenceTime() argument
65 : mState(Fence::isValidTimestamp(signalTime) ? State::VALID : State::INVALID), in FenceTime()
67 mSignalTime(signalTime) { in FenceTime()
87 nsecs_t signalTime = mSignalTime.load(std::memory_order_relaxed); in applyTrustedSnapshot() local
88 if (signalTime != Fence::SIGNAL_TIME_PENDING) { in applyTrustedSnapshot()
92 if (CC_UNLIKELY(signalTime != src.signalTime)) { in applyTrustedSnapshot()
95 signalTime, src.signalTime); in applyTrustedSnapshot()
102 mSignalTime.store(src.signalTime, std::memory_order_relaxed); in applyTrustedSnapshot()
114 nsecs_t signalTime = mSignalTime.load(std::memory_order_relaxed); in getSignalTime() local
115 if (signalTime != Fence::SIGNAL_TIME_PENDING) { in getSignalTime()
[all …]
/frameworks/native/include/ui/
DFenceTime.h54 explicit Snapshot(nsecs_t signalTime);
73 nsecs_t signalTime{Fence::SIGNAL_TIME_INVALID};
83 explicit FenceTime(nsecs_t signalTime);
114 void signalForTest(nsecs_t signalTime);
195 void signalAllForTest(const sp<Fence>& fence, nsecs_t signalTime);
/frameworks/av/media/libstagefright/
DFrameRenderTracker.cpp122 nsecs_t signalTime = it->mFence->getSignalTime(); in checkFencesAndGetRenderedFrames() local
123 if (signalTime < 0) { // invalid fence in checkFencesAndGetRenderedFrames()
125 } else if (signalTime == INT64_MAX) { // unsignaled fence in checkFencesAndGetRenderedFrames()
130 it->mRenderTimeNs = signalTime; in checkFencesAndGetRenderedFrames()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp58 nsecs_t signalTime = mCombinedFence->getSignalTime(); in hasOutstandingBuffersLocked() local
61 __FUNCTION__, mId, mHandoutTotalBufferCount, signalTime); in hasOutstandingBuffersLocked()
62 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/libs/gui/
DFrameTimestamps.cpp92 nsecs_t signalTime = fenceTime.getCachedSignalTime(); in dumpFenceTime() local
93 if (Fence::isValidTimestamp(signalTime)) { in dumpFenceTime()
94 outString.appendFormat("%" PRId64 "\n", signalTime); in dumpFenceTime()
95 } else if (pending || signalTime == Fence::SIGNAL_TIME_PENDING) { in dumpFenceTime()
335 *dst = std::make_shared<FenceTime>(src.signalTime); in applyFenceDelta()
DSurface.cpp246 nsecs_t signalTime = src->getSignalTime(); in getFrameTimestampFence() local
247 *dst = (signalTime == Fence::SIGNAL_TIME_PENDING) ? in getFrameTimestampFence()
249 (signalTime == Fence::SIGNAL_TIME_INVALID) ? in getFrameTimestampFence()
251 signalTime; in getFrameTimestampFence()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp585 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize()
/frameworks/av/media/libstagefright/omx/1.0/
DConversion.h1204 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize()