replicant-frameworks_native/include/utils
Mathias Agopian cbe527884a fix a memory leak and memory corruption in RefBase
we would leak a weakref_impl if a RefBase was never incWeak()'ed.
there was also a dangling pointer that would cause memory corruption
and double-delete when a custom destroyer was used to delay the
execution of ~RefBase.

it turns out that the custom destroyer feature caused most of the
problems, so it's now gone. The only client was SurfaceFlinger
who now handles things on its own.

RefBase is essentially back its "gingerbread" state, but the
code was slightly cleaned-up.

Bug: 5151207, 5084978
Change-Id: Id6ef1d707f96d96366f75068f77b30e0ce2722a5
2011-08-11 22:33:02 -07:00
..
ashmem.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Asset.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
AssetDir.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
AssetManager.h Runtime resource overlay, iteration 1. 2011-04-01 14:12:10 +02:00
Atomic.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BackupHelpers.h Full local backup infrastructure 2011-05-10 17:52:51 -07:00
BitSet.h Refactor input reader to add stylus support. 2011-07-31 15:38:09 -07:00
BlobCache.h Use rand() for MinGW 2011-06-15 20:55:49 -07:00
BufferedTextOutput.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ByteOrder.h Implement the C++ class to write the backed up file data. 2009-05-15 10:37:10 -04:00
CallStack.h dump callstack on Surface use error 2010-12-10 15:37:48 -08:00
Compat.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Debug.h Support for marshalling pointers / intptr_t in Parcel. 2009-08-17 15:31:25 -07:00
Endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Errors.h fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
FileMap.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Flattenable.h remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). 2010-02-21 23:27:25 -08:00
Functor.h Modify the GL renderer's functor to pass the clip to WebView 2011-03-16 15:31:33 -07:00
GenerationCache.h Add TextLayout Cache 2011-03-02 13:29:20 -08:00
KeyedVector.h fix KeyedVector::replaceValueAt, which wouldn't even compile if used. 2009-04-10 20:27:25 -07:00
LinearTransform.h Add a linear transform library to libutils 2011-06-28 17:43:30 -07:00
List.h Fix sim build. 2009-07-07 10:01:12 -07:00
Log.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Looper.h Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
misc.h get rid of utils.h 2009-05-31 19:13:00 -07:00
ObbFile.h OBB: use PBKDF2 for key generation. 2010-10-13 18:25:33 -07:00
PropertyMap.h Add initial support for cursor-based pointing devices. 2010-12-29 13:19:53 -08:00
RefBase.h fix a memory leak and memory corruption in RefBase 2011-08-11 22:33:02 -07:00
ResourceTypes.h am a8d7ea06: am 220cd77d: Merge "Enforce public resource restriction on bag parents." into honeycomb-mr2 2011-06-09 16:06:07 -07:00
SharedBuffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Singleton.h Purge Skia objects from GL caches as needed. 2010-09-08 18:04:33 -07:00
SortedVector.h SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
StopWatch.h Native input dispatch rewrite work in progress. 2010-06-13 17:42:16 -07:00
StreamingZipInflater.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
String8.h Bug 4016329 do full string comparisons 2011-03-14 17:59:51 -07:00
String16.h Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
StringArray.h rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file. 2009-06-05 01:26:23 -07:00
StrongPointer.h Fix sp<> conversion operator / constructor 2011-02-25 16:20:52 -08:00
SystemClock.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
TextOutput.h some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
threads.h Fix typos and use new HAL_PRIORITY_URGENT_DISPLAY constant 2011-08-09 18:57:37 -07:00
Timers.h Refactor how timeouts are calculated. (DO NOT MERGE) 2011-05-23 17:20:42 -07:00
Tokenizer.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00
TypeHelpers.h Fix some issues with RefBase debugging. 2011-02-23 22:21:41 -08:00
Unicode.h Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
Vector.h SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
VectorImpl.h Even more native input dispatch work in progress. 2010-06-17 13:27:16 -07:00
ZipFileCRO.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
ZipFileRO.h Move extract native libraries to JNI code 2011-07-26 10:14:58 -07:00
ZipUtils.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00