Lines Matching refs:mHandle
38 hidl_handle::hidl_handle() : mHandle(nullptr), mOwnsHandle(false) { in hidl_handle()
47 mHandle = handle; in hidl_handle()
69 if (other.mHandle != nullptr) { in operator =()
70 mHandle = native_handle_clone(other.mHandle); in operator =()
71 if (mHandle == nullptr) { in operator =()
76 mHandle = nullptr; in operator =()
84 mHandle = native_handle; in operator =()
92 mHandle = other.mHandle; in operator =()
94 other.mHandle = nullptr; in operator =()
102 mHandle = handle; in setTo()
107 return mHandle; in operator ->()
112 return mHandle; in operator const native_handle_t*()
117 return mHandle; in getNativeHandle()
121 if (mOwnsHandle && mHandle != nullptr) { in freeHandle()
130 static_cast<const native_handle_t*>(mHandle)); in freeHandle()
133 mHandle = nullptr; in freeHandle()