Increase CMD_ARGS_MAX in FrameworkListener

This increases the maximum number of arguments for a framework command
from 16 to 32. 16 arguments are already used by NetworkManagementService
.startTethering().

Change-Id: I0b369889f7f790f43f9c89da0c4e133a342debd7
Use #define value of 1 to indicate presence of headers.

strace tests the value of HAVE_TERMIO_H and HAVE_SYS_UIO_H using

Change-Id: If899845503547410cf17d005733d1c0c6741e939
Merge "Increase CMD_ARGS_MAX in FrameworkListener" into ics
Merge "Use #define value of 1 to indicate presence of headers." into ics
Merge branch 'ics' of git://github.com/CyanogenMod/android_system_core into ics
Add init.d support here instead of in device specific rc file

Change-Id: I14b5211e1e423540d3edb37a6351f9073d93b1fb
init: Add an emmc-specific configuration file

 * Load init.emmc.rc if emmc_boot is set
 * This makes startup much cleaner for devices with a mess of vendor RC
   configurations.

Change-Id: Ifa6d0ca104c11e037740690da0ff6284c2f4a3ca
Merge branch 'ics' of git://github.com/CyanogenMod/android_system_core into ics
Add required permissions and files for data

 - Add /data/radio
 - Set gateway property after DNS
 - Allow radio users to set properties associated with
   all rmnet interfaces. Not just rmnet0

Change-Id: Ia60fcb8f90aa73ffd40e839b93356ee50a9e5072
init: Increase maximum number of Android properties to 372

(cherry picked from commit 2af5dedb813b5f2fb1355ccf6e4a5de2378665d6)

Change-Id: Ic4b45a10196b24ba2e4798fef45a125f9f3dbf15
Merge branch 'ics' of git://github.com/CyanogenMod/android_system_core into ics
init: Properly detect hardware revision

 * get_hardware_name was returning early if the hardware type was set on
   the command line, and not proceeding to parse it from /proc/cpuinfo
 * Fix it so that it always parses ro.revision :)

Change-Id: Ib5d31d536066fc6829db756cb6e5f003a05bf440
toolbox: implement rm -f flag

this prevent compatibility errors in scripts (file "-f" not found)
The force flag will not return an error if the file doesnt exist.

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: I3267963284ee247629da5ab299e900c6e4a4ac68
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
Merge branch 'ics' of git://github.com/CyanogenMod/android_system_core into ics
init: Add option to disable the initlogo

 * It looks like crap on some hardware due to different framebuffer
   formats. Just disable it if the option is set.

Change-Id: Iad8ca25072fd16ca984050c6605bc1646821bee1
Merge branch 'ics' of git://github.com/CyanogenMod/android_system_core into ics
system/core: Support for audio routing to WiFi Display device

Change-Id: I4569425b6a10987df225c6d66d2addd07327f881

Conflicts:

	include/system/audio.h
init: Fix the charging mode mess

 * Clean this mess up so that it actually works, even for lpm.rc only.
 * Add option from arcee to override the custom charging mode parameter.

Change-Id: I025e61714f42bb1409aac1a68d01b12d9fed1237
charger: Add support for non-standard charging interfaces

 * Certain devices may have multiple battery devices or broken uevent
   reporting when a power supply is disconnected.
 * Add a new BOARD_BATTERY_DEVICE_NAME to force which device to monitor.

Change-Id: I3045bf17a4d962cc5f0e6a951472916412ac0d0d