Home
last modified time | relevance | path

Searched refs:native_handle_t (Results 1 – 5 of 5) sorted by relevance

/system/core/libcutils/
Dnative_handle.c28 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()
/system/core/include/utils/
DNativeHandle.h23 typedef struct native_handle native_handle_t; typedef
33 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;
/system/core/include/cutils/
Dnative_handle.h30 } native_handle_t; typedef
40 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);
/system/core/libutils/
DNativeHandle.cpp23 native_handle_t* handle, bool ownsHandle) { in create()
27 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) in NativeHandle()
/system/core/include/system/
Dwindow.h59 typedef const native_handle_t* buffer_handle_t;
903 native_handle_t* sidebandHandle) in native_window_set_sideband_stream()