Searched refs:native_handle_t (Results 1 – 5 of 5) sorted by relevance
28 native_handle_t* native_handle_create(int numFds, int numInts) in native_handle_create()30 native_handle_t* h = malloc( in native_handle_create()31 sizeof(native_handle_t) + sizeof(int)*(numFds+numInts)); in native_handle_create()33 h->version = sizeof(native_handle_t); in native_handle_create()39 int native_handle_delete(native_handle_t* h) in native_handle_delete()42 if (h->version != sizeof(native_handle_t)) in native_handle_delete()49 int native_handle_close(const native_handle_t* h) in native_handle_close()51 if (h->version != sizeof(native_handle_t)) in native_handle_close()
23 typedef struct native_handle native_handle_t; typedef33 static sp<NativeHandle> create(native_handle_t* handle, bool ownsHandle);35 const native_handle_t* handle() const { in handle()43 NativeHandle(native_handle_t* handle, bool ownsHandle);46 native_handle_t* mHandle;
30 } native_handle_t; typedef40 int native_handle_close(const native_handle_t* h);50 native_handle_t* native_handle_create(int numFds, int numInts);62 int native_handle_delete(native_handle_t* h);
23 native_handle_t* handle, bool ownsHandle) { in create()27 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) in NativeHandle()
59 typedef const native_handle_t* buffer_handle_t;903 native_handle_t* sidebandHandle) in native_window_set_sideband_stream()