platform_system_core/include/utils
Colin Cross 17b5b82d64 Fix warnings in libutils headers
system/core/include is included in the global include path using
-isystem, which hides all warnings.  Fix warnings in libutils
headers in preparation for moving from -isystem to -I.

- Fix implicit cast from int64_t to long in Condition.h.  Remove
  the __LP64__ check and always compare against LONG_MAX before
  casting.
- Fix implicit cast from size_t to ssize_t in KeyedVector.h
- Fix -Wshadow-field-in-constructor warnings in Looper.h and RefBase.h
- Move destructors for MessageHandler and LooperCallback to Looper.cpp
  and ReferenceRenamer and VirtualLightRefBase to RefBase.cpp to prevent
  vtables in every compilation unit.
- Declare template variables in Singleton.h
- Fix old-style casts in StrongPointer.h and TypeHelpers.h
- Use template metaprogramming in TypeHelpers.h to avoid warnings on
  memmove on non-trivial types.
- Add an assignment operator to key_value_pair_t to complete
  rule-of-three
- Use memcpy instead of dereferencing a reinterpret_casted pointer to
  treat the bits of a float or double as int32_t or int64_t
- Escape unicode sequences inside doxygen comments between \code and
  \endcode
- Remove WIN32 ZD definition in Compat.h, %zd works fine with mingw
- Fix WIN32 printf warnings in Filemap.cpp
- Initialize mNullValue with 0 in LruCache.h, some of the tests use a
  non-pointer type for TValue.

Test: m -j native
Bug: 31492149
Change-Id: I385a05a3ca01258e44fe3b37ef77e4aaff547b26
2016-09-22 13:03:15 -07:00
..
AndroidThreads.h Use __ANDROID__ instead of HAVE_ANDROID_OS. 2015-07-30 09:33:43 -07:00
Atomic.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
BitSet.h BitSet32 64b compatibility fix 2014-04-11 22:41:46 -07:00
BlobCache.h Adding a build id check to blob cache. 2015-05-18 13:14:32 -07:00
ByteOrder.h Use _WIN32 rather than HAVE_WINSOCK. 2015-07-29 17:45:24 -07:00
CallStack.h Rewrite libbacktrace to be all C++. 2014-01-16 16:12:29 -08:00
Compat.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
Condition.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
Debug.h libutils clean-up 2013-07-30 13:57:01 -07:00
Endian.h Fix Mac build. 2014-11-22 07:25:02 -08:00
Errors.h libutils: Add UNEXPECTED_NULL status_t 2015-11-10 11:12:43 -08:00
FileMap.h Implement C++11 move semantics for android::FileMap 2015-10-01 12:47:49 -07:00
Flattenable.h minor tweaks to FlattenableUtils 2013-08-01 12:47:58 -07:00
Functor.h include: cleanup for -Wsystem-header 2014-05-23 15:09:57 -07:00
JenkinsHash.h libutils: cleanups for -fsanitize=integer 2015-08-24 15:52:22 +00:00
KeyedVector.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
LinearTransform.h Add a linear transform library to libutils 2013-07-30 13:56:57 -07:00
List.h Fix sim build. 2013-07-30 13:56:51 -07:00
Log.h utils: Allow non android namespaces to use ALOGD_IF_SLOW 2013-07-30 13:57:00 -07:00
Looper.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
LruCache.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
Mutex.h Merge "Fix google-explicit-constructor warnings in utils." 2016-08-04 21:48:20 +00:00
NativeHandle.h Clarify ownership for NativeHandle::mHandle 2014-03-24 11:40:36 +09:00
Printer.h utils: Add ProcessCallStack to collect stack traces for all threads in a process 2013-10-25 19:24:56 -07:00
ProcessCallStack.h Move CallStack to libbacktrace. 2014-01-09 15:09:13 -08:00
PropertyMap.h Add initial support for cursor-based pointing devices. 2013-07-30 13:56:55 -07:00
RWLock.h Fix google-explicit-constructor warnings in utils. 2016-08-02 12:20:06 -07:00
RefBase.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
Singleton.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
SortedVector.h Remove has_trivial_move trait from Vector<T> 2016-09-22 10:14:05 -07:00
StopWatch.h Native input dispatch rewrite work in progress. 2013-07-30 13:56:53 -07:00
String8.h libutils: add String8 and String16 std_string utility methods 2016-02-18 17:04:23 -08:00
String16.h Merge commit '8b452b876b90dcfff1dab9012b65b5e67c4531a4' into manual_merge_8b452b8 2016-05-16 15:06:22 +01:00
StrongPointer.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
SystemClock.h libutils clean-up 2013-07-30 13:57:01 -07:00
Thread.h Merge "Fix google-explicit-constructor warnings in utils." 2016-08-04 21:48:20 +00:00
ThreadDefs.h Fix windows 64-bit builds 2016-02-25 18:43:55 -08:00
Timers.h Mark time conversion functions as constexpr 2015-04-20 15:06:01 +01:00
Tokenizer.h Support tokenizing arbitrary content. 2013-07-30 13:56:59 -07:00
Trace.h Use __ANDROID__ instead of HAVE_ANDROID_OS. 2015-07-30 09:33:43 -07:00
TypeHelpers.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
Unicode.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
Vector.h Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
VectorImpl.h Fix google-explicit-constructor warnings in utils. 2016-08-02 12:20:06 -07:00
misc.h libutils clean-up 2013-07-30 13:57:01 -07:00
threads.h split utils/threads.h into multiple headers 2013-07-30 13:56:59 -07:00