android_hardware_qcom_display/libgralloc
Jeremy Gebben 093c26a745 libgralloc: don't IonAlloc::close_device() on error
It is possible to use this object from multiple threads
and there could be a race between a failure in one thread
and another method call from a different thread which would
result in system calls being called with an invalid fd.

(cherry picked from commit 560ca6e8feb4f52c9aade34fa7cfcfed55288083)

Change-Id: Iefb94ba1ee7177ab20600bee4374daf8e818bdb9
2012-03-16 20:43:04 -05:00
..
alloc_controller.cpp display: Add support for protected heaps 2012-03-16 20:34:50 -05:00
alloc_controller.h display: Add support for pmem in the new gralloc 2011-11-20 21:42:37 -08:00
Android.mk libgralloc: libqcomui: add QCOM_HARDWARE CFLAG 2012-01-01 17:57:26 -05:00
ashmemalloc.cpp display: Standardize debug logging for all memory types 2012-03-16 20:42:12 -05:00
ashmemalloc.h gralloc: Refactor, ion support 2011-11-16 13:43:12 -08:00
framebuffer.cpp Make SurfaceFlinger respect swapinterval property 2012-03-16 20:30:54 -05:00
gpu.cpp add GRALLOC_USAGE_PRIVATE_UNSYNCHRONIZED for explicit synchronization. 2012-03-16 20:35:18 -05:00
gpu.h gralloc: Refactor, ion support 2011-11-16 13:43:12 -08:00
gr.h gralloc: Refactor, ion support 2011-11-16 13:43:12 -08:00
gralloc_priv.h add GRALLOC_USAGE_PRIVATE_UNSYNCHRONIZED for explicit synchronization. 2012-03-16 20:35:18 -05:00
gralloc.cpp display: Add support for pmem in the new gralloc 2011-11-20 21:42:37 -08:00
ionalloc.cpp libgralloc: don't IonAlloc::close_device() on error 2012-03-16 20:43:04 -05:00
ionalloc.h gralloc: Refactor, ion support 2011-11-16 13:43:12 -08:00
mapper.cpp display: Add support for protected heaps 2012-03-16 20:34:50 -05:00
memalloc.h display: Add support for pmem in the new gralloc 2011-11-20 21:42:37 -08:00
MODULE_LICENSE_APACHE2 gralloc: Refactor, ion support 2011-11-16 13:43:12 -08:00
NOTICE gralloc: Refactor, ion support 2011-11-16 13:43:12 -08:00
pmem_bestfit_alloc.cpp Dump PMEM usage in out of memory cases for debugging 2012-03-16 20:41:44 -05:00
pmem_bestfit_alloc.h display: Add support for pmem in the new gralloc 2011-11-20 21:42:37 -08:00
pmemalloc.cpp libgralloc: fix libgralloc error codes 2012-03-16 20:42:36 -05:00
pmemalloc.h display: Add support for pmem in the new gralloc 2011-11-20 21:42:37 -08:00