replicant-frameworks_native/libs/binder
Hans Boehm c0df68bb80 Work around C11 const atomic restrictions.
Cast away the const qualifier in BBinder::findObject.  C11, unlike C++11,
does not allow loads from const atomics.  This is widely regarded as
a bug (see WG14 DR 459).  This is a hack to work around it until it's
officially fixed in the spec.

load_const_atomic was adapted from commit
1e8587a479fd8b1ce9b594298a93f517816e8f15

I don't think we want to dignify this by putting it into a header file.

Bug:17067219
Change-Id: Icbfcbda2722e6f80d2bb065a0bb3ec7634bcacb2
2014-09-11 14:49:09 -07:00
..
Android.mk binder: Turn on -Werror 2014-06-03 11:11:45 -07:00
AppOpsManager.cpp Fix AppOsManager missing mutex unlock. 2013-07-22 17:13:12 -07:00
Binder.cpp Work around C11 const atomic restrictions. 2014-09-11 14:49:09 -07:00
BpBinder.cpp binder: Turn on -Werror 2014-06-03 11:11:45 -07:00
BufferedTextOutput.cpp libutils clean-up 2013-05-07 18:28:11 -07:00
Debug.cpp binder: fix all warnings 2014-02-05 17:51:10 -08:00
IAppOpsCallback.cpp binder: rm utils/Debug.h 2014-05-29 13:10:03 -07:00
IAppOpsService.cpp binder: rm utils/Debug.h 2014-05-29 13:10:03 -07:00
IInterface.cpp
IMemory.cpp binder: fix all warnings 2014-02-05 17:51:10 -08:00
IPCThreadState.cpp Use gettid directly in binder. 2014-08-18 10:38:38 -07:00
IPermissionController.cpp binder: rm utils/Debug.h 2014-05-29 13:10:03 -07:00
IServiceManager.cpp binder: rm utils/Debug.h 2014-05-29 13:10:03 -07:00
MemoryBase.cpp Revert "Second try at adding a compatibility symbol for the MemoryBase constructor." 2013-07-09 22:15:42 +00:00
MemoryDealer.cpp binder: fix all warnings 2014-02-05 17:51:10 -08:00
MemoryHeapBase.cpp Remove references to obsolete pmem functionality. 2013-11-21 12:22:39 -08:00
Parcel.cpp Remove Parcel::writeIntPtr. 2014-06-13 10:27:33 +01:00
PermissionCache.cpp Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE 2012-01-03 22:38:27 +00:00
ProcessState.cpp Remove global variables from ProcessState. 2014-04-03 12:29:44 +00:00
Static.cpp libutils clean-up 2013-05-07 18:28:11 -07:00
TextOutput.cpp Bring back overloading to print String8/16. 2013-05-30 14:04:28 -07:00