Searched refs:mHandle (Results 1 – 8 of 8) sorted by relevance
/system/libhidl/base/include/hidl/ |
D | MQDescriptor.h | 83 bool isHandleValid() const { return mHandle != nullptr; } in isHandleValid() 95 return mHandle; in handle() 99 return mHandle; in handle() 142 ::android::hardware::details::hidl_pointer<native_handle_t> mHandle; 151 const size_t MQDescriptor<T, flavor>::kOffsetOfHandle = offsetof(MQDescriptor, mHandle); 170 : mHandle(nhandle), mQuantum(static_cast<uint32_t>(size)), mFlags(flavor) { in MQDescriptor() 183 : mHandle(nHandle), mQuantum(static_cast<uint32_t>(messageSize)), mFlags(flavor) { in MQDescriptor() 217 if (mHandle != nullptr) { 218 native_handle_close(mHandle); 219 native_handle_delete(mHandle); [all …]
|
D | HidlSupport.h | 132 details::hidl_pointer<const native_handle_t> mHandle; member 225 hidl_memory() : mHandle(nullptr), mSize(0), mName("") { in hidl_memory() 233 : mHandle(std::move(handle)), mSize(size), mName(name) {} in hidl_memory() 242 : mHandle(handle), in hidl_memory() 255 mHandle = other.mHandle; 271 mHandle = std::move(other.mHandle); 285 return mHandle; in handle() 305 hidl_handle mHandle;
|
/system/libhwbinder/ |
D | BpHwBinder.cpp | 91 : mHandle(handle) in BpHwBinder() 96 ALOGV("Creating BpHwBinder %p handle %d\n", this, mHandle); in BpHwBinder() 108 mHandle, code, data, reply, flags); in transact() 141 ALOGV("Requesting death notification: %p handle %d\n", this, mHandle); in linkToDeath() 144 self->requestDeathNotification(mHandle, this); in linkToDeath() 176 ALOGV("Clearing death notification: %p handle %d\n", this, mHandle); in unlinkToDeath() 178 self->clearDeathNotification(mHandle, this); in unlinkToDeath() 193 this, mHandle, mObitsSent ? "true" : "false"); in sendObituary() 201 ALOGV("Clearing sent death notification: %p handle %d\n", this, mHandle); in sendObituary() 203 self->clearDeathNotification(mHandle, this); in sendObituary() [all …]
|
/system/libhidl/base/ |
D | HidlSupport.cpp | 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() [all …]
|
/system/core/libutils/ |
D | NativeHandle.cpp | 27 : mHandle(handle), mOwnsHandle(ownsHandle) { in NativeHandle() 33 native_handle_close(mHandle); in ~NativeHandle() 34 native_handle_delete(mHandle); in ~NativeHandle()
|
/system/core/libutils/include/utils/ |
D | NativeHandle.h | 36 return mHandle; in handle() 46 native_handle_t* mHandle; variable
|
/system/libhwbinder/include/hwbinder/ |
D | BpHwBinder.h | 33 inline int32_t handle() const { return mHandle; } in handle() 101 const int32_t mHandle;
|
/system/libhidl/transport/ |
D | HidlBinderSupport.cpp | 53 const size_t hidl_handle::kOffsetOfNativeHandle = offsetof(hidl_handle, mHandle); 77 const size_t hidl_memory::kOffsetOfHandle = offsetof(hidl_memory, mHandle);
|