Home
last modified time | relevance | path

Searched refs:mHandle (Results 1 – 8 of 8) sorted by relevance

/system/libhidl/base/include/hidl/
DMQDescriptor.h83 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 …]
DHidlSupport.h132 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/
DBpHwBinder.cpp91 : 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/
DHidlSupport.cpp38 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/
DNativeHandle.cpp27 : 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/
DNativeHandle.h36 return mHandle; in handle()
46 native_handle_t* mHandle; variable
/system/libhwbinder/include/hwbinder/
DBpHwBinder.h33 inline int32_t handle() const { return mHandle; } in handle()
101 const int32_t mHandle;
/system/libhidl/transport/
DHidlBinderSupport.cpp53 const size_t hidl_handle::kOffsetOfNativeHandle = offsetof(hidl_handle, mHandle);
77 const size_t hidl_memory::kOffsetOfHandle = offsetof(hidl_memory, mHandle);