Home
last modified time | relevance | path

Searched refs:mFenceFd (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/ui/
DFence.cpp41 mFenceFd(fenceFd) { in Fence()
45 mFenceFd(std::move(fenceFd)) { in Fence()
50 if (mFenceFd == -1) { in wait()
53 int err = sync_wait(mFenceFd, timeout); in wait()
59 if (mFenceFd == -1) { in waitForever()
63 int err = sync_wait(mFenceFd, warningTimeout); in waitForever()
65 ALOGE("%s: fence %d didn't signal in %u ms", logname, mFenceFd.get(), in waitForever()
67 err = sync_wait(mFenceFd, TIMEOUT_NEVER); in waitForever()
80 result = sync_merge(name, f1->mFenceFd, f2->mFenceFd); in merge()
82 result = sync_merge(name, f1->mFenceFd, f1->mFenceFd); in merge()
[all …]
/frameworks/av/media/libmedia/include/media/
DOMXFenceParcelable.h45 OMXFenceParcelable() : mFenceFd(-1) {} in OMXFenceParcelable()
46 OMXFenceParcelable(int fenceFd) : mFenceFd(fenceFd) {} in OMXFenceParcelable()
48 int get() const { return mFenceFd; } in get()
58 int mFenceFd; member
83 mFenceFd = fd; in readFromParcel()
89 status_t err = parcel->writeInt32(mFenceFd >= 0); in writeToParcel()
90 if (err == OK && mFenceFd >= 0) { in writeToParcel()
91 err = parcel->writeFileDescriptor(mFenceFd, true /* takeOwnership */); in writeToParcel()
/frameworks/native/libs/ui/include_vndk/ui/
DFence.h70 bool isValid() const { return mFenceFd != -1; } in isValid()
106 int get() const { return mFenceFd.get(); } in get()
149 base::unique_fd mFenceFd; variable
/frameworks/native/libs/ui/include/ui/
DFence.h70 bool isValid() const { return mFenceFd != -1; } in isValid()
106 int get() const { return mFenceFd.get(); } in get()
149 base::unique_fd mFenceFd; variable
/frameworks/av/media/libstagefright/
DACodec.cpp514 if (mFenceFd >= 0) { in setWriteFence()
516 mIsReadFence ? "read" : "write", mFenceFd, fenceFd, dbg); in setWriteFence()
518 mFenceFd = fenceFd; in setWriteFence()
523 if (mFenceFd >= 0) { in setReadFence()
525 mIsReadFence ? "read" : "write", mFenceFd, fenceFd, dbg); in setReadFence()
527 mFenceFd = fenceFd; in setReadFence()
532 if (mFenceFd >= 0 && mIsReadFence) { in checkWriteFence()
533 ALOGD("REUSING read fence %d as write fence in %s", mFenceFd, dbg); in checkWriteFence()
538 if (mFenceFd >= 0 && !mIsReadFence) { in checkReadFence()
539 ALOGD("REUSING write fence %d as read fence in %s", mFenceFd, dbg); in checkReadFence()
[all …]
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h333 l->mFenceFd = native_handle_read_fd(t); in wrapAs()
355 l->mFenceFd = fd; in convertTo()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h475 l->mFenceFd = native_handle_read_fd(t); in wrapAs()
497 l->mFenceFd = fd; in convertTo()
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h186 int mFenceFd; member