Searched refs:mHandle (Results 1 – 11 of 11) sorted by relevance
/system/libhidl/base/include/hidl/ |
D | MQDescriptor.h | 53 bool isHandleValid() const { return mHandle != nullptr; } in isHandleValid() 61 return mHandle; in handle() 65 return mHandle; in handle() 73 ::android::hardware::details::hidl_pointer<native_handle_t> mHandle; 82 const size_t MQDescriptor<T, flavor>::kOffsetOfHandle = offsetof(MQDescriptor, mHandle); 101 : mHandle(nhandle), mQuantum(static_cast<uint32_t>(size)), mFlags(flavor) { in MQDescriptor() 111 : mHandle(nHandle), mQuantum(static_cast<uint32_t>(messageSize)), mFlags(flavor) { in MQDescriptor() 145 if (mHandle != nullptr) { 146 native_handle_close(mHandle); 147 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/libfmq/include/fmq/ |
D | AidlMQDescriptorShim.h | 63 bool isHandleValid() const { return mHandle != nullptr; } in isHandleValid() 70 inline const ::native_handle_t* handle() const { return mHandle; } in handle() 72 inline ::native_handle_t* handle() { return mHandle; } in handle() 79 native_handle_t* mHandle = nullptr; member 116 mHandle = native_handle_create(desc.handle.fds.size() /* num fds */, in AidlMQDescriptorShim() 118 if (mHandle == nullptr) { in AidlMQDescriptorShim() 124 mHandle->data[data_index] = dup(fd.get()); in AidlMQDescriptorShim() 128 mHandle->data[data_index] = data_int; in AidlMQDescriptorShim() 138 mHandle(nhandle), in AidlMQDescriptorShim() 146 if (mHandle != nullptr) { [all …]
|
/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/chre/platform/slpi/include/chre/target_platform/ |
D | platform_debug_dump_manager_base.h | 67 mHandle = handle; in setHandle() 87 uint32_t mHandle = 0; variable
|
/system/libhwbinder/include/hwbinder/ |
D | BpHwBinder.h | 37 inline int32_t handle() const { return mHandle; } in handle() 105 const int32_t mHandle;
|
/system/chre/platform/slpi/ |
D | platform_debug_dump_manager.cc | 64 ashCommitDebugDump(mHandle, debugStr, complete); in sendDebugDump()
|
/system/libhidl/transport/ |
D | HidlBinderSupport.cpp | 56 const size_t hidl_handle::kOffsetOfNativeHandle = offsetof(hidl_handle, mHandle); 80 const size_t hidl_memory::kOffsetOfHandle = offsetof(hidl_memory, mHandle);
|