Lines Matching refs:mFenceFd
38 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()
83 result = sync_merge(name.string(), f1->mFenceFd, f2->mFenceFd); in merge()
85 result = sync_merge(name.string(), f1->mFenceFd, f1->mFenceFd); in merge()
87 result = sync_merge(name.string(), f2->mFenceFd, f2->mFenceFd); in merge()
94 name.string(), f1->mFenceFd, f2->mFenceFd, in merge()
102 return ::dup(mFenceFd); in dup()
106 if (mFenceFd == -1) { in getSignalTime()
110 struct sync_fence_info_data* finfo = sync_fence_info(mFenceFd); in getSignalTime()
112 ALOGE("sync_fence_info returned NULL for fd %d", mFenceFd); in getSignalTime()
148 *fds++ = mFenceFd; in flatten()
155 if (mFenceFd != -1) { in unflatten()
176 mFenceFd = *fds++; in unflatten()