Searched defs:native_handle_t (Results 1 - 6 of 6) sorted by relevance

/system/core/include/cutils/
H A Dnative_handle.h28 alignas(native_handle_t) char (name)[ \
29 sizeof(native_handle_t) + sizeof(int) * ((maxFds) + (maxInts))]
33 int version; /* sizeof(native_handle_t) */
44 } native_handle_t; typedef in typeref:struct:native_handle
46 typedef const native_handle_t* buffer_handle_t;
51 * closes the file descriptors contained in this native_handle_t
56 int native_handle_close(const native_handle_t* h);
61 * Initializes a native_handle_t from storage. storage must be declared with
65 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
70 * creates a native_handle_t an
[all...]
/system/core/include/utils/
H A DNativeHandle.h23 typedef struct native_handle native_handle_t; typedef in typeref:struct:native_handle
29 // Create a refcounted wrapper around a native_handle_t, and declare
33 static sp<NativeHandle> create(native_handle_t* handle, bool ownsHandle);
35 const native_handle_t* handle() const {
43 NativeHandle(native_handle_t* handle, bool ownsHandle);
46 native_handle_t* mHandle;
/system/core/libcutils/include/cutils/
H A Dnative_handle.h28 alignas(native_handle_t) char (name)[ \
29 sizeof(native_handle_t) + sizeof(int) * ((maxFds) + (maxInts))]
33 int version; /* sizeof(native_handle_t) */
44 } native_handle_t; typedef in typeref:struct:native_handle
46 typedef const native_handle_t* buffer_handle_t;
51 * closes the file descriptors contained in this native_handle_t
56 int native_handle_close(const native_handle_t* h);
61 * Initializes a native_handle_t from storage. storage must be declared with
65 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
70 * creates a native_handle_t an
[all...]
/system/core/libcutils/include_vndk/cutils/
H A Dnative_handle.h28 alignas(native_handle_t) char (name)[ \
29 sizeof(native_handle_t) + sizeof(int) * ((maxFds) + (maxInts))]
33 int version; /* sizeof(native_handle_t) */
44 } native_handle_t; typedef in typeref:struct:native_handle
46 typedef const native_handle_t* buffer_handle_t;
51 * closes the file descriptors contained in this native_handle_t
56 int native_handle_close(const native_handle_t* h);
61 * Initializes a native_handle_t from storage. storage must be declared with
65 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
70 * creates a native_handle_t an
[all...]
/system/core/libutils/include/utils/
H A DNativeHandle.h23 typedef struct native_handle native_handle_t; typedef in typeref:struct:native_handle
29 // Create a refcounted wrapper around a native_handle_t, and declare
33 static sp<NativeHandle> create(native_handle_t* handle, bool ownsHandle);
35 const native_handle_t* handle() const {
43 NativeHandle(native_handle_t* handle, bool ownsHandle);
46 native_handle_t* mHandle;
/system/libhidl/base/
H A DHidlSupport.cpp47 hidl_handle::hidl_handle(const native_handle_t *handle) {
83 hidl_handle &hidl_handle::operator=(const native_handle_t *native_handle) {
101 void hidl_handle::setTo(native_handle_t* handle, bool shouldOwn) {
107 const native_handle_t* hidl_handle::operator->() const {
111 // implicit conversion to const native_handle_t*
112 hidl_handle::operator const native_handle_t *() const {
117 const native_handle_t *hidl_handle::getNativeHandle() const {
130 native_handle_t *handle = const_cast<native_handle_t*>(
131 static_cast<const native_handle_t*>(mHandl
[all...]

Completed in 219 milliseconds