No description
Find a file
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
adb Merge "Ignore setsid error in some cases." 2016-09-22 06:28:51 +00:00
adf Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
base base: rename unique_fd::clear() to unique_fd::reset(). 2016-09-19 11:24:58 -07:00
bootstat Convert to Android.bp 2016-08-26 16:19:21 -07:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
debuggerd Fix debuggerd argument parsing. 2016-09-15 17:08:33 -07:00
fastboot Add android::base::GetExecutablePath, switch adb and fastboot over. 2016-09-01 09:24:24 -07:00
fingerprintd Merge "Fix google-explicit-constructor warnings." am: 7bdd6a8b5a 2016-04-30 05:16:35 +00:00
fs_mgr Split fstab mount into 2 phases 2016-09-06 11:39:05 -07:00
gatekeeperd Merge "Fix google-explicit-constructor warnings." am: 7bdd6a8b5a 2016-04-30 05:16:35 +00:00
healthd Merge \"Fix clang-tidy performance warnings in healthd.\" 2016-07-28 06:24:24 +00:00
include Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
init Split fstab mount into 2 phases 2016-09-06 11:39:05 -07:00
libbacktrace Replace libziparchive-host with libziparchive 2016-08-26 11:12:38 -07:00
libbinderwrapper Move libbinderwrapper's headers into libbinderwrapper. 2016-09-16 09:02:47 -07:00
libcrypto_utils libcrypto_utils: convert to Soong. 2016-08-05 18:07:36 -07:00
libcutils Merge "We should break from loop after getting connected." 2016-09-22 06:41:49 +00:00
libdiskconfig Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libion Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
liblog liblog: don't bother keeping FD around once it's mapped. 2016-09-01 19:31:08 +01:00
libmemtrack Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libmemunreachable Add missing include. 2016-09-21 16:21:52 -07:00
libnativebridge Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libnativeloader Merge \"libnativeloader: convert Android.mk to Android.bp\" 2016-07-28 10:53:40 +00:00
libnetutils Remove deprecated libnetutils DHCPv4 code 2016-09-10 09:14:51 +09:00
libpackagelistparser Convert libpackagelistparser to Android.bp 2016-07-19 22:19:37 -07:00
libpixelflinger Fix reference counting for Assembly 2016-08-16 10:12:43 -07:00
libprocessgroup resolve merge conflicts of ed3596a to stage-aosp-master 2016-08-03 13:29:04 -07:00
libsparse Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libsuspend Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libsync Merge "Convert to Android.bp" 2016-08-29 20:32:12 +00:00
libsysutils Merge "Most accept/accept4 calls in system/core don't actually want the remote address." 2016-08-23 23:03:20 +00:00
libusbhost usb-bulk-transfer: Clarify sign-iy-ness of param 2016-09-21 15:51:35 +00:00
libutils Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
libziparchive Fix warnings in libziparchive 2016-09-20 09:23:47 -07:00
lmkd Merge "Most accept/accept4 calls in system/core don't actually want the remote address." 2016-08-23 23:03:20 +00:00
logcat logcat: -d, -t or -L, along with -f, do not background 2016-08-08 10:20:22 -07:00
logd logd: clear all from non system user status request 2016-09-02 07:41:27 -07:00
logwrapper Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
reboot Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
rootdir Remove net_bt_stack group and replace it with bluetooth 2016-09-20 12:01:33 -07:00
run-as run-as: Use Minijail for privilege dropping. 2016-07-19 11:03:52 -04:00
sdcard sdcard: Fix bad merge 2016-08-31 00:04:22 +00:00
toolbox Lose sendevent to toybox. 2016-07-15 14:17:28 -07:00
trusty Merge "Fix google-explicit-constructor warnings in system/core." 2016-07-29 16:57:17 +00:00
tzdatacheck Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Use BOARD_USES_VENDORIMAGE to detect vendor image presence 2016-07-08 18:17:48 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00