platform_system_core/include
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
..
android liblog: add __android_log_close() 2016-08-23 15:25:03 -07:00
backtrace Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
cutils Hide warning in cutils/trace.h 2016-09-21 17:45:31 -07:00
log Hide gnu extension warnings in log/log.h 2016-09-16 11:13:20 -07:00
nativebridge LibNativeBridge: Version 2 2015-05-31 16:58:24 -07:00
private Remove net_bt_stack group and replace it with bluetooth 2016-09-20 12:01:33 -07:00
system Fix warnings in system/ headers 2016-09-21 17:46:59 -07:00
sysutils Revert "Sigh, more vendors linking against hidden APIs." 2015-03-20 23:51:36 +00:00
utils Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
ziparchive Fix warnings in libziparchive 2016-09-20 09:23:47 -07:00