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
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
Static.cpp