replicant-frameworks_native/libs/binder
Jeff Brown ec4e0063a1 Use ashmem for CursorWindows.
Bug: 5332296

The memory dealer introduces additional delays for reclaiming
the memory owned by CursorWindows because the Binder object must
be finalized.  Using ashmem instead gives CursorWindow more
direct control over the lifetime of the shared memory region.

The provider now allocates the CursorWindows and returns them
to clients with a read-only protection bit set on the ashmem
region.

Improved the encapsulation of CursorWindow.  Callers shouldn't
need to care about details like how string fields are allocated.

Removed the compile-time configuration of string and numeric
storage modes to remove some dead weight.

Change-Id: I07c2bc2a9c573d7e435dcaecd269d25ea9807acd
2011-10-11 11:03:19 -07:00
..
Android.mk PermissionCache caches permission checks 2011-06-27 17:42:15 -07:00
Binder.cpp Make static versions of libutils and libbinder. 2010-05-06 01:03:31 -07:00
BpBinder.cpp some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
CursorWindow.cpp Use ashmem for CursorWindows. 2011-10-11 11:03:19 -07:00
IInterface.cpp some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
IMemory.cpp MemoryHeapBase: Save and binderize the offset 2011-06-27 13:48:51 -07:00
IPCThreadState.cpp Resurrect verbose binder logging 2011-09-07 16:45:03 -07:00
IPermissionController.cpp Add Parcel::readExceptionCode() and Parcel::writeNoException() 2010-07-13 15:45:18 -07:00
IServiceManager.cpp Add Parcel::readExceptionCode() and Parcel::writeNoException() 2010-07-13 15:45:18 -07:00
MemoryBase.cpp move libbinder's header files under includes/binder 2009-05-20 12:55:03 -07:00
MemoryDealer.cpp Simplify the MemoryDealer implementation 2010-01-29 14:51:06 -08:00
MemoryHeapBase.cpp MemoryHeapBase: Save and binderize the offset 2011-06-27 13:48:51 -07:00
MemoryHeapPmem.cpp Clean up use of HAVE_ANDROID_OS 2011-02-16 10:56:32 -08:00
Parcel.cpp Use ashmem for CursorWindows. 2011-10-11 11:03:19 -07:00
PermissionCache.cpp PermissionCache caches permission checks 2011-06-27 17:42:15 -07:00
ProcessState.cpp Remove some #ifdef HAVE_ANDROID_OS that were needed for the simulator build 2011-07-13 19:45:44 -04:00
Static.cpp move libbinder's header files under includes/binder 2009-05-20 12:55:03 -07:00