media_codecs: enable wma/wmv hardware decoders

* CyanogenMod issue with this was resolved with
  http://review.cyanogenmod.org/#/c/74782/ and
  http://review.cyanogenmod.org/#/c/74783/
* Seems to work fine so no idea why ZTE disabled these
* We'll still fall back to FFMPEG software decoders in
  case these fail

Change-Id: I7a8dd8207861149fe249ff2cbc0561ee041f4d4e
media_profiles: Update VideoEditor(MovieStudio) capability

--update encoding levels for H264 for VideoEditor.

Change-Id: I46f835ecb1e3feeeea0165a90c1c119d00c17785
CRs-Fixed: 581582
mixer_paths: add BT SCO WB mixer control

Addition of "bt-sco-wb-samplerate" path name to
avoid false error message in the debug logs.

Change-Id: I711db88d8b2edc2a3bc41e2c97a0c69613b3cf40
CRs-Fixed: 625916
mixer_paths: Add incall music delivery mixer controls

Define mixer controls for In call music uplink-1 and
uplink-2.

CRs-Fixed: 626562
Change-Id: I7ee0bf4a68a2c4af128af2ccf81ef56b03e807bc
ramdisk: remove no_sleep option for mpdecision

Remove the --no_sleep option for mpdecision to enable SPC when
multiple cores are online.

CRs-Fixed: 629407
Change-Id: Idf6fd3e05bd4233524baef4d36f50b05934b533f
ramdisk: Remove restart of ril-daemon

Issue: Default rild was not launching some times
Fix: This is a timing issue, fixed this by removing
stop and start of default ril-daemon in init.class_main.sh

Change-Id: I736994ddeaade729f7cb5ffd6f418a7c7c2c977e
CRs-Fixed: 635725
init.qcom.post_boot: remove lpm_resources sysfs entries

Recently lpm_resources implementation has changed and moved
to lpm_levels. Hence remove the unnecessary sysfs entries of
lpm_resources and add lpm_levels sysfs entries.

Change-Id: I3a5c2c979e25ae2efcc85e0fb16daf018ef65a35
init.qcom.post_boot: lock two cores online for 8974 pro and 8084

MSM8974 pro and APQ8084 targets require two cores to be online
when the display is on to improve user experience.
Set ro.qualcomm.perf.cores_online property to a value of 2 to
enable this feature for said targets.

CRs-fixed: 609826
Change-Id: I054fee2c247b00bca3a129f86b488b2f77104ec7
init.qcom.post_boot: Setting minimum freq for 8x10/8x26 to 787200Hz

Changing the min_freq to max nominal will make apps enter IPC
more often and hence saving power for active use cases.

Change-Id: I8eec5a67dcf5016b9053788281ed870db9beeb81
init.qcom.post_boot: enabling differable timer for ksm

power savings are observed for less load use cases by
making ksm timer deferrable.

Change-Id: I734cd89035f9b7ab25ba131c601505910c496d27
media_codecs: add all ffmpeg decoders

* CM issue with conflicting hw/sw decoders was resolved

Change-Id: Ib46c7bdcce6f11254ad8f69328d207d60908d9ac
ramdisk: automatically enable dual-sim features on V811W

* V881W is identified with hwversion wmfA.6 passed from the
  bootloader

Change-Id: I52285cd634d109450e6dfd61fab6e70a8814dcfe
overlay: disable tty

Change-Id: Ied818e753b4abc17ddb6a5dd009f931dd006ed91
ramdisk: remove akm compass permission

* No known variant actually has a compass
* akm service was already removed - binary never
  existed
* Move to init.target.rc while at it

Change-Id: Ieab2dbd63ee9857548ce3096568aff2ac07c2e7f
fix boot jars classpath

From CAF. Doesn't seem to be necessary in CM build system(?)
but put it here just in case.

Change-Id: Iaba9e057f8ba470daccc5e7381aff904558dcac0
fix inheriting makefiles

* full_base_telephony.mk needs to be inherited before extending
  PRODUCT_BOOT_JARS
* languages_full.mk is already inherited from makefiles
  inherited from full_base_telephony.mk
* AndroidProducts.mk is not needed in CM build system

Change-Id: Iac1116211f43f39169b8446924ffc0230361fc6a
don't build time service client

* already using blobs

Change-Id: Iee4188983187d71ffc6ff80d781243e0deb6ecaf
remove hardware disk encryption support

* unlikely to work (only if someone bothered to test :P)
* bring back restart qcom-c_main-sh service on decrypt -
  missed from commit eeb8368e80bd7113a3f30df3a950e920557f0536

Change-Id: Ie7dab7981b4b49ab006f83f8e448ec1f71756e62