Revert "init: Never allow two same-service processes to exist simultaneously."

This reverts commit abe57d0b4e994e31eb31ec98dfa6d4b74e29502e.

Revert "Restart oneshot services when manually restarted."

This reverts commit e889a4746b6f3cd1c6749312c255b14eedc5f778.

Revert "Safely restart services to avoid race conditions."

This reverts commit 9d1a567eb0d6ac8d0040228e7c41668c8e3eb37e.
camera: Add new commands to compatibility block

Change-Id: I2952963661abf17f55eca811a8d4e8fc87933df0
Set ANDROID_PROPERTY_WORKSPACE in exec.

Change-Id: Ib827bf14b4463ca6277b79256bcc4cd70f63fc31
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
unpackbootimg: remove host LOCAL_MODULE_TAG

Change-Id: I199d680dc5ab8bf50f5be65c29095bf3adade695
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: Allow building of init that is compatible with second init boot

When using second init init has already set up /dev /proc, etc
this will prevent duplicate mount points for those
Define BOARD_USE_NO_DEVFS_SETUP := true to use

Change-Id: I5620664b32e08f39da7ef7c7f9c3824d01f930d6
Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>
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
rootdir: Set perms on interactive governor's min_sample_time

Change-Id: I75e9f424af731bdf1ca222eee2f4f18b20a6552b
rootdir: set perms on ondemand governor's up_threshold

Change-Id: I0a042a81be677821fa4099a3e19281d390dd27c3
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
Set permissions on io_is_busy node for interactive governor

Change-Id: I9dce40b0680fdb594f415aade22dbd92ebffa43c
qcom-fm: audio: Add support for FM feature

-Define audio stream for FM
-Define audio source for FM RX and FM RX A2DP

Change-Id: If24e4c32916f6614e3367b4c9f2cd828562e0347

Conflicts:
	include/system/audio.h
add 8K 16K 32K 64K and 128K pagesizes in bootimage

Ported from jellybean (was Change-Id: I4bc74ad6b0a473de68c906422bcd7eac00c89793)

http://review.cyanogenmod.org/33216

Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I0ee608b74a1daefe536b9247f99368f3e043f93d
Fix the QCOM_BSP ifdef

We only want this when the full BSP is enabled.

Change-Id: I7bb7b0d274d1221c5bb566d4ac24419e1e134519