HomeSort by relevance Sort by last modified time
    Searched full:native_handle_t (Results 1 - 25 of 43) sorted by null

1 2

  /system/core/include/cutils/
native_handle.h 26 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/libcutils/
native_handle.c 28 native_handle_t* native_handle_create(int numFds, int numInts)
30 native_handle_t* h = malloc(
31 sizeof(native_handle_t) + sizeof(int)*(numFds+numInts));
33 h->version = sizeof(native_handle_t);
39 int native_handle_delete(native_handle_t* h)
42 if (h->version != sizeof(native_handle_t))
49 int native_handle_close(const native_handle_t* h)
51 if (h->version != sizeof(native_handle_t))
  /hardware/qcom/display/msm8960/libgenlock/
genlock.h 62 genlock_status_t genlock_create_lock(native_handle_t *buffer_handle);
71 genlock_status_t genlock_release_lock(native_handle_t *buffer_handle);
79 genlock_status_t genlock_attach_lock(native_handle_t *buffer_handle);
95 genlock_status_t genlock_lock_buffer(native_handle_t *buffer_handle,
105 genlock_status_t genlock_unlock_buffer(native_handle_t *buffer_handle);
114 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout);
123 genlock_status_t genlock_write_to_read(native_handle_t *buffer_handle,
genlock.cpp 63 genlock_status_t perform_lock_unlock_operation(native_handle_t *buffer_handle,
135 genlock_status_t genlock_create_lock(native_handle_t *buffer_handle)
190 genlock_status_t genlock_release_lock(native_handle_t *buffer_handle)
220 genlock_status_t genlock_attach_lock(native_handle_t *buffer_handle)
268 genlock_status_t genlock_lock_buffer(native_handle_t *buffer_handle,
297 genlock_status_t genlock_unlock_buffer(native_handle_t *buffer_handle)
315 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout) {
352 genlock_status_t genlock_write_to_read(native_handle_t *buffer_handle,
  /hardware/qcom/display/msm8x26/libgenlock/
genlock.h 62 genlock_status_t genlock_create_lock(native_handle_t *buffer_handle);
71 genlock_status_t genlock_release_lock(native_handle_t *buffer_handle);
79 genlock_status_t genlock_attach_lock(native_handle_t *buffer_handle);
95 genlock_status_t genlock_lock_buffer(native_handle_t *buffer_handle,
105 genlock_status_t genlock_unlock_buffer(native_handle_t *buffer_handle);
114 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout);
123 genlock_status_t genlock_write_to_read(native_handle_t *buffer_handle,
genlock.cpp 63 genlock_status_t perform_lock_unlock_operation(native_handle_t *buffer_handle,
135 genlock_status_t genlock_create_lock(native_handle_t *buffer_handle)
190 genlock_status_t genlock_release_lock(native_handle_t *buffer_handle)
220 genlock_status_t genlock_attach_lock(native_handle_t *buffer_handle)
268 genlock_status_t genlock_lock_buffer(native_handle_t *buffer_handle,
297 genlock_status_t genlock_unlock_buffer(native_handle_t *buffer_handle)
315 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout) {
352 genlock_status_t genlock_write_to_read(native_handle_t *buffer_handle,
  /hardware/qcom/display/msm8960/libgralloc/
mapper.cpp 324 native_handle_t** handle = va_arg(args, native_handle_t**);
338 *handle = (native_handle_t *)hnd;
gralloc_priv.h 133 native_handle_t nativeHandle;
  /hardware/qcom/display/msm8974/libgralloc/
mapper.cpp 327 native_handle_t** handle = va_arg(args, native_handle_t**);
341 *handle = (native_handle_t *)hnd;
gralloc_priv.h 130 native_handle_t nativeHandle;
  /hardware/qcom/display/msm8x26/libgralloc/
mapper.cpp 324 native_handle_t** handle = va_arg(args, native_handle_t**);
338 *handle = (native_handle_t *)hnd;
gralloc_priv.h 132 native_handle_t nativeHandle;
  /device/generic/goldfish/sensors/
sensors_qemu.c 135 static native_handle_t*
139 native_handle_t* handle;
229 data__data_open(struct sensors_poll_device_t *dev, native_handle_t* handle)
453 native_handle_t* hdl;
  /device/lge/mako/camera/
QCameraHWI_Record_7x27A.cpp 172 native_handle_delete(const_cast<native_handle_t *>(packet->meta_handle));
212 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle);
229 native_handle_delete(const_cast<native_handle_t *>(packet->meta_handle));
QCameraHWI_Record.cpp 216 native_handle_delete(const_cast<native_handle_t *>(packet->meta_handle));
466 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle);
  /external/chromium_org/third_party/libva/va/
va_tpi.h 45 * the gralloc native_handle_t list
  /frameworks/native/include/ui/
GraphicBuffer.h 77 uint32_t stride, native_handle_t* handle, bool keepOwnership);
  /hardware/qcom/display/msm8960/libhwcomposer/
hwc_copybit.cpp 216 buf.handle = (native_handle_t *)hnd;
314 src.handle = (native_handle_t *)layer->handle;
339 dst.handle = (native_handle_t *)fbHandle;
  /hardware/qcom/display/msm8x26/libhwcomposer/
hwc_copybit.cpp 216 buf.handle = (native_handle_t *)hnd;
314 src.handle = (native_handle_t *)layer->handle;
339 dst.handle = (native_handle_t *)fbHandle;
  /frameworks/native/libs/ui/
GraphicBuffer.cpp 64 uint32_t inStride, native_handle_t* inHandle, bool keepOwnership)
231 native_handle_t const* const h = handle;
  /hardware/qcom/display/msm8960/libcopybit/
copybit.h 137 native_handle_t* handle;
  /hardware/qcom/display/msm8974/libcopybit/
copybit.h 138 native_handle_t* handle;
  /hardware/qcom/display/msm8x26/libcopybit/
copybit.h 137 native_handle_t* handle;
  /hardware/ti/omap4xxx/hwc/
hal_public.h 46 native_handle_t base;
  /device/lge/mako/camera/QCamera/HAL/core/src/
QCameraHWI_Record.cpp 217 native_handle_delete(const_cast<native_handle_t *>(packet->meta_handle));
467 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle);

Completed in 1398 milliseconds

1 2