replicant-frameworks_native/libs/binder
Brad Fitzpatrick 5273603e98 Don't propagate StrictMode over one-way Binder calls.
This was causing stack stitching problems where a one-way call with
violations followed by a two-way call without violations was getting
the previous one-way call's violation stack stitched on to the second
caller's stack.

The solution is a little more indirect than I would've liked
(preserving the binder's onTransact flags until enforceInterface) but
was seemingly necessary to work without changing the AIDL compiler.
It should also be sufficiently cheap, since no new calls to
thread-local IPCThreadState lookups were required.  The additional
work is just same-thread getter/setters on the existing
IPCThreadState.

Change-Id: I4b6db1d445c56e868e6d0d7be3ba6849f4ef23ae
2010-08-31 13:16:49 -07:00
..
Android.mk Make static versions of libutils and libbinder. 2010-05-06 01:03:31 -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
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 fix [2599939] "cannot play video" after open/close a video player a dozen of times 2010-04-19 19:09:03 -07:00
IPCThreadState.cpp Don't propagate StrictMode over one-way Binder calls. 2010-08-31 13:16:49 -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
MemoryDealer.cpp Simplify the MemoryDealer implementation 2010-01-29 14:51:06 -08:00
MemoryHeapBase.cpp libbinder: add a NO_CACHING flag to MemoryHeapBase 2009-10-30 18:35:47 -07:00
MemoryHeapPmem.cpp Simplify the MemoryDealer implementation 2010-01-29 14:51:06 -08:00
Parcel.cpp Don't propagate StrictMode over one-way Binder calls. 2010-08-31 13:16:49 -07:00
Permission.cpp new Permission class used to improve permission checks speed (by caching results) 2009-06-15 21:56:51 -07:00
ProcessState.cpp Modify the binder to request 1M - 2 pages instead of 1M. The backing store 2009-11-12 16:31:12 -08:00
Static.cpp