replicant-frameworks_native/include/utils
Mathias Agopian 4e37ddff43 Fix a crasher with RefBase debugging and vectors of wp<>
background:
we have some code to fix-up the IDs of references when
using RefBase's DEBUG_REFS when those refs are managed by
arrays wp<> or sp<> (this is because wp<> / sp<> don't have
a trivial ctor when DEBUG_REFS is enabled, and Vector
treats them as trivial for obvious performance reasons)

this is complicated by the fact that we don't want to have
to recompile everything when enabling DEBUG_REFs (i.e.: the
Vector code cannot know wheter it's enabled or not for its
template stuff).

problem:
there was a bug in the fix-up code for wp<> which was trying
to access the weakref_impl from the RefBase* however, this was
moronic since RefBase could have been destroyed if there wasn't
any more strong refs -- and this happned. Instead we need to get
the weakref_impl directly from the wp<>

Change-Id: Ie16e334204205fdbff142acb9faff8479a78450b
2013-03-19 16:41:56 -07:00
..
AndroidThreads.h rename binder services main thread to Binder_* 2013-03-07 15:34:28 -08:00
ashmem.h
Atomic.h
BasicHashtable.h Add an LRU cache plus hashing primitives 2012-10-26 16:09:22 -07:00
BitSet.h Add traits to common utils data structures. 2012-03-16 16:21:21 -07:00
BlobCache.h
BufferedTextOutput.h
ByteOrder.h
CallStack.h
Compat.h Add TEMP_FAILURE_RETRY to ZipUtils 2012-10-16 14:00:56 -07:00
Condition.h Add Thread::isRunning and Condition::signal(WakeUpType) 2013-03-11 14:34:56 -07:00
Debug.h
Endian.h
Errors.h
FileMap.h
Flattenable.h improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
Functor.h
GenerationCache.h
JenkinsHash.h Add another ifndef and a couple of methods to LruCache 2012-11-28 17:37:03 -08:00
KeyedVector.h improve Vector<> safety checks 2012-08-10 13:15:00 -07:00
LinearAllocator.h Add LinearAllocator 2012-12-05 17:34:54 -08:00
LinearTransform.h
List.h
Log.h Add a very simple helper function to log slow functions. 2012-08-10 22:03:55 -07:00
Looper.h Support looper callbacks based on smart pointers. 2012-05-31 17:16:21 -07:00
LruCache.h Add LruCache::Iterator 2012-11-28 18:26:54 -08:00
misc.h libutils cleanup: remove unused or seldom used code from misc.{cpp|h} 2012-08-05 12:41:16 -07:00
Mutex.h utils: fix warnings for unused parameters 2012-12-05 16:10:26 -08:00
PropertyMap.h
RefBase.h Fix a crasher with RefBase debugging and vectors of wp<> 2013-03-19 16:41:56 -07:00
RWLock.h utils: fix warnings for unused parameters 2012-12-05 16:10:26 -08:00
SharedBuffer.h minor SharedBuffer clean-up 2012-08-31 18:41:21 -07:00
Singleton.h Fixed clang build error for libgui 2012-08-23 14:08:57 -04:00
SortedVector.h get rid of mirrorItemAt() which isn't used anywhere 2012-08-20 15:25:19 -07:00
StopWatch.h
String8.h Add traits to common utils data structures. 2012-03-16 16:21:21 -07:00
String16.h Add traits to common utils data structures. 2012-03-16 16:21:21 -07:00
StringArray.h
StrongPointer.h
SystemClock.h Add elapsedRealtimeNano(), and use CLOCK_BOOTTIME where possible. 2012-07-19 16:06:21 -07:00
TextOutput.h
Thread.h Add Thread::isRunning and Condition::signal(WakeUpType) 2013-03-11 14:34:56 -07:00
ThreadDefs.h Scheduling group cleanup 2012-04-19 11:32:59 -07:00
threads.h
Timers.h Add elapsedRealtimeNano(), and use CLOCK_BOOTTIME where possible. 2012-07-19 16:06:21 -07:00
Tokenizer.h Support tokenizing arbitrary content. 2012-04-17 18:19:50 -07:00
Trace.h utils: clarify scoped tracing functionality 2012-11-30 19:54:00 -08:00
TypeHelpers.h Add an LRU cache plus hashing primitives 2012-10-26 16:09:22 -07:00
Unicode.h
UniquePtr.h Add UniquePtr.h to frameworks/native 2012-03-22 16:36:18 -07:00
Vector.h Add Vector::resize() 2013-03-15 12:40:39 -07:00
VectorImpl.h Add Vector::resize() 2013-03-15 12:40:39 -07:00
WorkQueue.h Add a simple work queue abstraction. 2012-03-17 14:28:38 -07:00
ZipFileCRO.h frameworks/native: move Zip* from libandroidfw to libutils 2012-03-22 18:50:03 -07:00
ZipFileRO.h frameworks/native: move Zip* from libandroidfw to libutils 2012-03-22 18:50:03 -07:00
ZipUtils.h frameworks/native: move Zip* from libandroidfw to libutils 2012-03-22 18:50:03 -07:00