Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DFence.cpp38 mFenceFd(-1) { in Fence()
42 mFenceFd(fenceFd) { in Fence()
46 if (mFenceFd != -1) { in ~Fence()
47 close(mFenceFd); in ~Fence()
53 if (mFenceFd == -1) { in wait()
56 int err = sync_wait(mFenceFd, timeout); in wait()
62 if (mFenceFd == -1) { in waitForever()
66 int err = sync_wait(mFenceFd, warningTimeout); in waitForever()
68 ALOGE("%s: fence %d didn't signal in %u ms", logname, mFenceFd, in waitForever()
70 err = sync_wait(mFenceFd, TIMEOUT_NEVER); in waitForever()
[all …]
/frameworks/native/include/ui/
DFence.h61 bool isValid() const { return mFenceFd != -1; } in isValid()
112 int mFenceFd; variable
/frameworks/av/media/libstagefright/
DACodec.cpp465 if (mFenceFd >= 0) { in setWriteFence()
467 mIsReadFence ? "read" : "write", mFenceFd, fenceFd, dbg); in setWriteFence()
469 mFenceFd = fenceFd; in setWriteFence()
474 if (mFenceFd >= 0) { in setReadFence()
476 mIsReadFence ? "read" : "write", mFenceFd, fenceFd, dbg); in setReadFence()
478 mFenceFd = fenceFd; in setReadFence()
483 if (mFenceFd >= 0 && mIsReadFence) { in checkWriteFence()
484 ALOGD("REUSING read fence %d as write fence in %s", mFenceFd, dbg); in checkWriteFence()
489 if (mFenceFd >= 0 && !mIsReadFence) { in checkReadFence()
490 ALOGD("REUSING write fence %d as read fence in %s", mFenceFd, dbg); in checkReadFence()
[all …]
/frameworks/av/include/media/stagefright/
DACodec.h200 int mFenceFd; member