Charger mods
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>
Permission to set service.bootanim.exit prop
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>
libion: Disable for omap3

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

Change-Id: Ic6f175fe456a2891d5556d937c3073215b861981
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
Add support for detecting charging mode
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>
Fix /cache permissions for the dexopt cache

Change-Id: Ibbecac2b5a89d7fa7fb09c5be1d2bc3db766f885
toolbox: new applet restart

- stop + start
- for the lazy.

Change-Id: Ie0ef0e27f5b7819a5575ece6b82c5813f4e38420
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
add required function in liblog for Moto devices.
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>
libnetutils: Fix up the dhcp request arguments

The interface/config-file arguments passed to the dhcpcd invocation
when a hostname isn't provided were swapped, causing requests to be made
for interface <config-file-name> instead of <interface-name>, and
failing all calls to start dhcpcd through netutils with the following error:

E/DhcpStateMachine( 3214): DHCP failed on wlan0: Timed out waiting for dhcpcd to start

because...

<3>[  582.717015] init: no such service 'dhcpcd_/system/etc/dhcpcd/dhcpcd.conf:-f wlan0 wlan0'

Change-Id: Ic2e026ae8ebebdc9a27f5d7a6274e1c5c8a2f95e
audio: Fix input enums for pre-4.2 audio blobs

Change-Id: Iec9f8d915d069168664d2cd873574db7fe5cddc7
audio: add QCOM supported audio devices

- Add ANC headset, FM, and proxy devices

Change-Id: Ib7b7495ed69ca3ab072c5512e9286da8d3538682
(cherry picked from commit fd629294bcaaa2cb70befc631f7596439d6cbe70)

audio: add support for QCOM audio formats

- Add support for EVRC, QCELP, and WMA formats

Change-Id: Id5f7845ff7bc609e947f93d8647ad3f3e57babfb
(cherry picked from commit 8b3476f14882afa74e9c3b778d9ccbd97ee329f0)

audio: add QCOM supported audio channels

Change-Id: Id29cb6949e137be8fb71d8d45e8e12bc47795f40
(cherry picked from commit 2fe37a40228c97e6f3b0575d94d4ec50b4dde1d6)

system/core: Add Qcom specific audio flags

- Support for Tunnel Mode Playback
- Reserve the LPA and VOIP_RX flags

Change-Id: Ifcbeb2a28feb86b030f48010a8a4e9cda8629e5b

Add ifdefs for QCOM enhanced features

Change-Id: Idefa831ecb4fdb881c990ba02ab4ab0ab7871986
audio: fix build break for non QCOM

Output:
error: 'AUDIO_DEVICE_IN_ANC_HEADSET' was not declared in this scope
error: 'AUDIO_DEVICE_IN_FM_RX' was not declared in this scope
error: 'AUDIO_DEVICE_IN_FM_RX_A2DP' was not declared in this scope
error: 'AUDIO_DEVICE_IN_PROXY' was not declared in this scope

Change-Id: Ie18c623303b944544b68eecca6208607d54b1c9a
FM Radio: Add support for FM Radio in Android

Creating interface and framework for using FM Radio
RX and TX from different vendors.

Change-Id: I1a71aed01bfffdddfabf1cdfbfa3707cb1ed016b
Signed-off-by: Benn Porscke <benn.porscke@stericsson.com>

Conflicts:
	include/system/audio.h
init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes

Mount a tmpfs as /storage in order to create a mountpoint, so that Dalvik
can later mark /storage as slave in zygotes.

Must mount in early-init as some devices' init.hardware.rc populate
/storage then, which the tmpfs would overwrite if mounted later.

Must use tmpfs as rootfs can't be bind mounted (otherwise "mount rootfs
/storage /storage bind" would work as an alternative).
charger: do not suspend when handling home

When using Google's suspend implementation, home press should also wake
the device from suspend

Change-Id: I51f3e45c5cb418b0b3718e7223a1336876379043
Fix audio recording for ICS audio blobs

This fixes audio recording when ICS_AUDIO_BLOB is set because
AUDIO_DEVICE_BIT_IN was not used with ICS. Add #ifdefs to use the old checks
again.

Change-Id: I33b37e74d33fed7ab0bc2af9907e07d799b0ec0e
fmradio: cleanup QCOM_HARDWARE/STE_FM defs and ifdef

Change-Id: I00b5e6536511b3bedee6105bf010ee2b5f2e36ac
init: create mountpoint for fuse

Change-Id: I8bd80bbcacc8f01ac4df17e013d3d68d2b86e02f
init: Check for symlinks with lstat() not open()

Using open() with an O_NOFOLLOW flag will result in a file falsely
being determined to be a symlink if the open fails for another
reason.

For example, a character device that isn't ready due to the
underlying hardware not being initialized yet will fail to open()

An example of this are any CG2900 device files prior to
execution of ste-cg29xx_ctrl

This uses lstat() instead of open() with O_NOFOLLOW to check
whether a file is a symlink or not.

Change-Id: Ie0d8d94b426c84c29b1b04d41a4cc15536cb307c