Home
last modified time | relevance | path

Searched refs:fence_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbufferhub_rpc.h160 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_);
/frameworks/av/media/codec2/tests/aidl/
DGraphicsTracker_test.cpp127 sp<Fence> fence_; member
129 Frame() : buffer_{nullptr}, fence_{nullptr} {} in Frame()
131 : buffer_(buffer), fence_(fence) {} in Frame()
220 android::status_t ret = frame->fence_->wait(-1); in queueBuffer()
222 mTracker->deallocate(bid, frame->fence_); in queueBuffer()