logwrapper: reduce verbosity and fix usage

 - no info on normal process exit
 - basename as tag, not fullpath
 - fix bad "-x" parameter, its "-d", checked in code

Change-Id: Ife72729eaee2a366bd4226f3fbe3ba074219c974

Conflicts:

	logwrapper/logwrapper.c
libnl2: Add the missing callback handler functions

This is required to build newer iw nl80211 wireless tools (v3+)

Based on a commit by TI-OpenLink (nl_socket_set_cb only)
which doesn't look like correct, so fix it and complete those
to be compatible with opensource upstream...

headers of these missing functions are in external/libnl-headers/netlink/socket.h

Change-Id: If2bd6f998aa2712e8aeb581a6d8ce88ebf48b05d
init: make chmod/mkdir/chown not follow symlinks

This change brings init's do_chmod, mkdir, and do_chown into line
with open's O_NOFOLLOW semantics, causing them to fail when the
last element of their target path is a symlink.

Change-Id: If00e1a25cfe17ef6f738af4bf0541abd0c1b084b

Conflicts:

	init/builtins.c
init: Fix chown and chmod for write-only files

Change-Id: I570b631ced11ab104aafe7ebfe71bae4e380d8af
dont build charger on simulator
init: fix a compilation warning

Change-Id: I1392fc822788d0e5f3bb0c9b4febe51a041c4651
NetLinkEvent: Handle properly the RTM_DELLINK message

Change-Id: I52804036ccf15efda780367f1c57254883cd4350
type definition for future compat.

Change-Id: Ifaba69d556ecc2a881293a2217515ea7dc5bb1a9

Conflicts:

	include/system/audio_policy.h
Forward compatibility

Change-Id: I51a5eb98fb3fa3e09f2eb75de128068572081046

Conflicts:

	include/system/graphics.h
Added rules to build 64-bit libraries: lib64cutils.a and lib64log.a

Both libraries are needed to build four shared libraries in 64-bit
for 64-bit emulator with "-gpu on"
  lib64OpenglRender.so
  lib64EGL_translator.so
  lib64GLES_CM_translator.so
  lib64GLES_V2_translator.so

Change-Id: If57f72d4661a74f1d5e537568881f39132e0b43d

Conflicts:

	liblog/Android.mk
Prevent bit shifting if num bits is negative

Causes OpenGL Software Renderer to generate incorrect window
coordinates on MIPS & possibly x86

Change-Id: I3c51b6a5a4e6af75e9b31d9d47e4e4d894825888
Signed-off-by: Bhanu Chetlapalli <bhanu@mips.com>
adb: usb_windows: fix adb connection lost issue

Windows adb connection could be lost if the target
side kernel enables the kmemleak.

The root cause is that kmemleak downgrades USB
performance, and lead to Windows adb host application
timeout because usb_write()/usb_read()'s timeout time is
very short. That issue is not reproducible in Linux
host because its usb_write() timeout is 5s and usb_read()
is blocked until return:
                usb_write()         usb_read()
Linux           5000ms              blocked until return
Windows         500+len*8 ms        500+len*8 ms

To fix that issue, extend the Windows adb host usb_write
timeout time to 5 seconds and usb_read() as a blocked routine:
                usb_write()         usb_read()
Windows         5000ms              blocked until return

Change-Id: If54e2b4c396a5a06318c0ee0b3326a00e7661fbc
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Signed-off-by: Jin Can Zhuang <jin.can.zhuang@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
libpixelflinger: Include NEON optimized assembly

TARGET_ARCH_VERSION is no longer used, instead we use ARCH_ARM_HAVE_NEON.
Also, include <machine/cpu-features.h> to get ARM optimized routines compiled.

See https://android-review.googlesource.com/22208/

Change-Id: I6629ec06607a665b9bc5ea4291d159214f57caa7
libpixelflinger: Add ARM NEON optimized scanline_t32cb16

This can dramatically improve the performance of boot animation.

See https://android-review.googlesource.com/16358/

Change-Id: I9a5aaa09b91d7a5ed892f6518a53e8fa4af88ee5
property service: allow wifi user to set "wifi." properties

Change-Id: I7d65dd62c94986cf343a9c38b721cdc6db6c5df9