Provide permission for graphics to set service.bootanim.exit prop

Change-Id: If23d14172022907fcefdcf7430904eb560d4d64c
libion: Disable for omap3

the omap3 HAL repository has its own modified libion, which is
necessary for the openmax libraries

Change-Id: Ic6f175fe456a2891d5556d937c3073215b861981
init: Allow device-specific appends to the property service permission structs

Extends device_perms.h API to allow property_perms and control_perms to be
appended on a device-specific basis, without needing to redefine the entire
struct contents.
Allow a device to define the max number of service groups in init.h

Certain proprieatary binaries (such as tcmd for instance) require
more than 12 supplementary service groups.  By definiing:
TARGET_NR_SVC_SUPP_GIDS := in BoardConfig this can now be changed
per device.

Change-Id: I8f968adc21768ca90232ded7b7e1ffa68dc7ea78
Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>
charger: allow home button to wake

On certain devices (e.g. galaxysmtd), the user expects the physical
home button to be able to wake the device as well as the power button.

Change-Id: If764f36aba3810dfa5233af8baf0a740b04889e0
Update tcp buffersize settings

Soem of these values are from CAF, some of these are
from various shipping devices, some are educated
guesses based on the properties of each connection.

In general, the higher the bandwidth-delay product
of a network, the larger the buffer needs to be.

Change-Id: Idd8cd27727b5e66bd3a46be5f9853380acbda8ba
adb: Fix missing header paths

Change-Id: I570b631ced11ab104aafe7ebfe71bae4e380d8af
Add support for exec command in init scripts.

Change-Id: Iee523fd75410718f0bd090f5fdcba50825a698c4
init: Add support for properties expansion in exec command

Add Android properties expansion to 'exec' arguments.
E.g.  exec /system/bin/log ${sys.usb.config}

CRs-Fixed: 390942
Change-Id: Ie520396d951e578bd9f591734a45d2f460b8f51d
Deprecate distinct boot paths for androidboot.emmc

Qualcomm used to require a "on emmc-fs" to distinguish multi-boot
devices, in replacement of the usual "on fs". This distinction has
been deprecated in jb, and it's breaking mako

Change-Id: I8ef5c932efcd5e7f8d6f6fce0915683d84c3ee11
Fix /cache permissions for the dexopt cache

Change-Id: Ibbecac2b5a89d7fa7fb09c5be1d2bc3db766f885
init.rc: Move CM's sysinit to the init.cm file

Its current location is broken due to a race condition, anyway...

Change-Id: Ic371455521d10fc09c81331c4c4faeab5cfb89d1
ramdiskaddr is now ramdisk_offset

Change-Id: I3bf83af5f7001f581506dc7fd9b1eb653334ad35
toolbox: new applet restart

- stop + start
- for the lazy.

Change-Id: Ie0ef0e27f5b7819a5575ece6b82c5813f4e38420
init: Bring back support for arbitrary chargermode cmdlines

This was accidentally removed while debugging the init breakage
fixed in change I8ef5c932efcd5e7f8d6f6fce0915683d84c3ee11. Put
it back

Change-Id: If35b9d5db281f8aab6de26f2bb63717d28b2db30
libion: Support for old ION API

 * Kernel 3.0 doesn't have heap_mask or SYNC ioctl, so add a board flag
   so that proprietary code that uses the old kernel API directly still
   works.

Change-Id: I4227c79a5de46c60eeebd2e16ca88dd6d580916a
rootdir: Add mediaserver to qcom_diag group

 * QCOM audio drivers need this.

Change-Id: I3cba0356e2995951208fee5e180e56b1afbc7158
Fixed improper size displaying in 'df' utility

'df' command used to display filesystem usage statistics as integer
values, in most cases rounding the actual value down. Because of
that 'df' tended to display faulty size values.
This fix to 'df' utility calculates the fractional part of the size,
then it rounds it when needed to the nearest one-digit integer value
and displays after decimal dot.

Change-Id: I9bc52635d45d3e55ce61b3b1c6b80d1267516e75
Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
liblog: add required function

Some Motorola proprietaries require a function named __android_log_loggable. This
change adds the function and solves problems with radio and other
binaries on qualcomm based Motorola phones. This code is activated with
TARGET_USES_MOTOROLA_LOG:=true

Change-Id: I722b42d34198c027f265c3cf9f220d9798814915
Revert unneeded commits

Revert "Restart oneshot services when manually restarted."

This reverts commit 6f988083e50ba58c6ebd93c9fe8d1bfa5139cde9.

Revert "Safely restart services to avoid race conditions."

This reverts commit 877fecb80b82f6f231311ce69735ac983ac3f212.