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
Binder.cpp
BpBinder.cpp
CursorWindow.cpp Use ashmem for CursorWindows. 2011-10-11 11:03:19 -07:00
IInterface.cpp
IMemory.cpp
IPCThreadState.cpp Resurrect verbose binder logging 2011-09-07 16:45:03 -07:00
IPermissionController.cpp
IServiceManager.cpp
MemoryBase.cpp
MemoryDealer.cpp
MemoryHeapBase.cpp
MemoryHeapPmem.cpp
Parcel.cpp Use ashmem for CursorWindows. 2011-10-11 11:03:19 -07:00
PermissionCache.cpp
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