Searched refs:fence_ (Results 1 – 5 of 5) sorted by relevance
11 : fence_(dup(fence.get())) {} in ParcelableUniqueFd()16 status_t ret = parcel->writeBool(fence_.get() >= 0); in writeToParcel()19 if (fence_.get() >= 0) in writeToParcel()20 ret = parcel->writeUniqueFileDescriptor(fence_); in writeToParcel()31 ret = parcel->readUniqueFileDescriptor(&fence_); in readFromParcel()
20 fence_.reset(dup(fence.get())); in set_fence()22 base::unique_fd fence() const { return base::unique_fd(dup(fence_.get())); } in fence()28 base::unique_fd fence_;
160 explicit FenceHandle(int fence) : fence_{fence} {} in FenceHandle()161 explicit FenceHandle(FileHandleType&& fence) : fence_{std::move(fence)} {} in FenceHandle()165 explicit operator bool() const { return fence_.IsValid(); }167 const FileHandleType& get() const { fence_; } in get()168 FileHandleType&& take() { return std::move(fence_); } in take()170 int get_fd() const { return fence_.Get(); } in get_fd()171 void close() { fence_.Close(); } in close()174 return FenceHandle<pdx::BorrowedHandle>(fence_.Borrow()); in borrow()178 FileHandleType fence_;180 PDX_SERIALIZABLE_MEMBERS(FenceHandle<FileHandleType>, fence_);
98 fence_ = new Fence(fence.release()); in SetClientTarget()192 .fence = fence_.get() ? fence_ : new Fence(-1), in GetFrame()
171 sp<Fence> fence_; variable