Merge tag 'android-4.4_r1' into cm-11.0

Android 4.4 Release 1.0

Conflicts:
	fs_mgr/include/fs_mgr.h
	include/private/android_filesystem_config.h
	include/system/audio.h
	init/devices.c
	init/init.c
	init/property_service.c
	libcorkscrew/arch-x86/backtrace-x86.c
	liblog/logd_write.c
	rootdir/init.rc
	sdcard/Android.mk
Revert "Revert "put back the unused virtuals in Vector<>""

This reverts commit 225c66a48cdc3acef21ee380dc134449749d3cb3

Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d
Revert "init: implement a new 'log' command, useful to debug property events"

This reverts commit 43a658562da8363fd8faa1add7acccba2b895f72.
Revert "get rid of HAL pixelformats 5551 and 4444"

This reverts commit 6bac41f1bf9b651523a2f9f119c2adb0836eb6b7.
Small 4.4 fixes
libutils: refbase: jellybean mr1 compat

Change-Id: Ideee0c3814a17b47f70fd612d27067fe19ae698d
Revert "Revert "charger: Update to match AOSP recovery API""

This reverts commit be76d13ad339e18b3c6b8a21ec6571681bc0a149.
Add libminshacrypt static lib

This is a sha-only version of libmincrypt, to provide the new
SHA_hash implementation to binaries that require libcrypto_static
Fix audio flags ifdeffing for qcom

Change-Id: I8183eaabe9ca9951f06256dfc761617f7c38b3d4
Revert "qcom-fm: audio: Add support for FM feature"

This reverts commit efa61acad6d546bac3f4886d38ff932eda4807a2.

Change-Id: I1c12a4ffb4ffdefe82b1c45fefa27ef079c71ac2
Revert "fmradio: cleanup QCOM_HARDWARE/STE_FM defs and ifdef"

This reverts commit c88de9fab033c4428f38a2be50ddb97eea66b8b9.

Change-Id: Iaf802c5af7256068a7d80cda53afca3b467748a6
Revert "FM Radio: Add support for FM Radio in Android"

This reverts commit 1e07014af2319f08c128c7702251c42e71742edb.

Change-Id: Ife5d06b4b4d65635d8c0d4d191392eb55f313243
unpackbootimg: Add support for device trees

Change-Id: I340eed99d2274a2f4cbaf5a9f27726ff3a9302e5
adb: Fix backup fallback

 * Check for existence of binary first

Change-Id: I5c1884655ae031f51cb935221ae7870b016e259d
Conditionally Revert "put back the unused virtuals in Vector<>"

These symbols are needed for MR2 camera.tegra and other blobs,
but they conflict with KK blobs so define it for devices that
need it by setting COMMON_GLOBAL_CFLAGS += -DNEEDS_VECTORIMPL_SYMBOLS

Change-Id: I59e66074526f013918a29c3afc10e52b9812778c
system/core: Add MSM specific formats, devices and channels.

- Add support for MSM formats, devices and channels

Change-Id: I0f613e25ae7e5bafa126ab582551807711ab9db6
(cherry picked from commit 3535a5eafaa700ae58d44c43c4491f3fbb90e060)
(cherry picked from commit d725c0473b0c7f51d157b8722131ed7b45f878d7)
(cherry picked from commit 8d43d24d91e7bcc8daef40c6e9f99fd8dcd23266)
audio: Fix submix output device check.

-AUDIO_DEVICE_IN_FM_RX is incorrectly matched
 with AUDIO_DEVICE_OUT_REMOTE_SUBMIX because
 method audio_is_remote_submix_device is not
 checking for AUDIO_DEVICE_BIT_IN.

-Fix is to add AUDIO_DEVICE_BIT_IN while doing
 the check for AUDIO_DEVICE_OUT_REMOTE_SUBMIX.

CRs-Fixed: 566837

Change-Id: I47ca3bd151da848a444d4bcf83a56e866f20d4f7
(cherry picked from commit f8573b76d6c03e1a9eff34e093056a810f898509)
(cherry picked from commit ae982a488c68e0cd06622e7ee7a31fddb1f4d131)
audio: remove QCOM_FM_ENABLED ifdefs

* CM is using a different ifdef here that enables these by default.

Change-Id: I07249d1c3555446238d846901481b13634967aab
Add back DurationTimer to fix camera.msm8960 load

cannot locate symbol "_ZN7android13DurationTimer5startEv"

Change-Id: I29d3283b644c773e6d798d17b2ef139a470048da
audio: Expose a few things previously under QCOM_HARDWARE

 * Allow everyone to use a few of these device types without
   setting QCOM_HARDWARE. Currently there is qute a mess due
   to the way QC is handling branches, when we figure out a
   good solution this can be reverted.

Change-Id: I75447a21ad1cf26e9683d2eac488a1b1238e5adb