Lines Matching refs:mFenceFd
41 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()
84 result = sync_merge(name, f2->mFenceFd, f2->mFenceFd); in merge()
91 name, f1->mFenceFd.get(), f2->mFenceFd.get(), in merge()
104 return ::dup(mFenceFd); in dup()
108 if (mFenceFd == -1) { in getSignalTime()
112 struct sync_file_info* finfo = sync_file_info(mFenceFd); in getSignalTime()
114 ALOGE("sync_file_info returned NULL for fd %d", mFenceFd.get()); in getSignalTime()
150 *fds++ = mFenceFd; in flatten()
157 if (mFenceFd != -1) { in unflatten()
178 mFenceFd.reset(*fds++); in unflatten()