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

/system/core/include/cutils/
H A Dnative_handle.h26 int version; /* sizeof(native_handle_t) */
30 } native_handle_t; typedef in typeref:struct:native_handle
35 * closes the file descriptors contained in this native_handle_t
40 int native_handle_close(const native_handle_t* h);
46 * creates a native_handle_t and initializes it. must be destroyed with
50 native_handle_t* native_handle_create(int numFds, int numInts);
55 * frees a native_handle_t allocated with native_handle_create().
56 * This ONLY frees the memory allocated for the native_handle_t, but doesn't
62 int native_handle_delete(native_handle_t* h);
/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;

Completed in 1443 milliseconds