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);
172 : mHandle(nhandle), in MQDescriptor()
187 : mHandle(nHandle), mQuantum(messageSize), mFlags(flavor) { in MQDescriptor()
221 if (mHandle != nullptr) {
222 native_handle_close(mHandle);
223 native_handle_delete(mHandle);
[all …]
DHidlSupport.h126 details::hidl_pointer<const native_handle_t> mHandle __attribute__ ((aligned(8))); member
217 hidl_memory() : mHandle(nullptr), mSize(0), mName("") { in hidl_memory()
225 : mHandle(std::move(handle)), mSize(size), mName(name) {} in hidl_memory()
234 : mHandle(handle), in hidl_memory()
247 mHandle = other.mHandle;
263 mHandle = std::move(other.mHandle);
277 return mHandle; in handle()
297 hidl_handle mHandle __attribute__ ((aligned(8)));
/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()
136 ALOGV("Requesting death notification: %p handle %d\n", this, mHandle); in linkToDeath()
139 self->requestDeathNotification(mHandle, this); in linkToDeath()
171 ALOGV("Clearing death notification: %p handle %d\n", this, mHandle); in unlinkToDeath()
173 self->clearDeathNotification(mHandle, this); in unlinkToDeath()
188 this, mHandle, mObitsSent ? "true" : "false"); in sendObituary()
196 ALOGV("Clearing sent death notification: %p handle %d\n", this, mHandle); in sendObituary()
198 self->clearDeathNotification(mHandle, this); in sendObituary()
[all …]
/system/libhidl/base/
DHidlSupport.cpp49 mHandle = handle; in hidl_handle()
71 if (other.mHandle != nullptr) { in operator =()
72 mHandle = native_handle_clone(other.mHandle); in operator =()
73 if (mHandle == nullptr) { in operator =()
78 mHandle = nullptr; in operator =()
86 mHandle = native_handle; in operator =()
94 mHandle = other.mHandle; in operator =()
96 other.mHandle = nullptr; in operator =()
104 mHandle = handle; in setTo()
109 return mHandle; in operator ->()
[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()
102 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);