qcom-common: Update media_codecs.xml

Change-Id: I46ea61d3dcfe0e51891fa085ed1ff9d86bea728b
qcom-common: ondemand: Modify Sampling Down Factor to 2

Change needed to help improve frequency scaling
in ondemand governor. Sampling Down Factor
is set to 2 in the init.qcom.post_boot.sh

Change-Id: I1f8eb4fabce24ed7076251f2cc1ac96e8dc79dd4
qcom-common: enable hardware aac encoder and hardware hwui shader stuff

Change-Id: I52044aaaea7b1d6daed93cc75ba59fa63ae6f6a0
qcom-common: show LTE icon instead of 4G

  * This is to mimic the behavior of the Google Play Edition phones.

Change-Id: I91847194b7e98be6ffac5fbbb3ce4706cfeb8ccc
qcom-common: Disable fancy HWUI tweaks

 * Causes problems in Chrome and other apps.

Change-Id: I2d01a221256dab621d864eac3b30de2ffec4584c
qcom: fix vibrator

Change-Id: Idfe1fb799b94279ab32c4d8fd191a1920e386d54
Don't assume multiple RING events from the radio layer

Qualcomm radios appear to never send anything beyond RIL_UNSOL_CALL_RING,
so set call_ring.multiple to false

Fixes non-repeating ringtones.
Fixes CYAN-2277

Change-Id: I72680c7585b4a3d0ee0fb85733a9784a87ef4471
qcom-common: use CM PowerHAL

Change-Id: Ica6e48c29792691e2bcd1d7e61b0ac30732de0f1
qcom-common: Disable the hardware AAC encoder

 * Not only does it break CTS, but it has mega bugs when used with the
   new camcorder pause functionality.
 * Disable it, since the performance benefit is minimal.

Change-Id: I2e3d27143115ec6bcb4be9b01f39c2b532b07032
qcom-common: Update codec xml for kitkat

Change-Id: Ic1668789e7ed0e0fab729670f9099ce9a4b8cef8
qcom-common: use legacy audio

Change-Id: I8524242dea79a5bd9bb5a25d2f3b7653e3ef1c81
qcom: properly query battery capacity

  * 4.4 introduces a new daemon, healthd, that handles battery status
    - resides in: /system/core/healthd
    - BatteryMonitor.cpp iterates through all the *directories* under
      /sys/class/power_supply looking for a file called 'type'
    - if the type == Battery, it assumes this is the location for the
      battery stats for the device. Only the first directory that matches
      this criteria is used.
    - on msm8660 and d2/jf kernels, this search results in:
      /sys/class/power_supply/fuelgauge.
    - To determine capacity, healthd looks at the contents of the
      'capacity' file under this discovered base path. This results
      in /sys/class/power_supply/fuelgauge/capacity on msm8660/d2/jf
      kernels.
    - Unfortunately, this is the wrong path. The capacity file at this
      location returns a large negative number.
    - Other paths like status, voltage_now, and present are also
      incorrectly determined.
  * For comparison, in 4.3 battery statistics gathering was handled by
    frameworks/base/services/jni/com_android_server_BatteryService.cpp
    - BatteryService does a similar search for a file called 'type' with
      the contents of 'Battery'
    - But the search logic is different here: it takes the *last* path that
      matches the criteria.
    - This results in the correct /sys/class/power_supply/battery
  * This patch overrides the discovery mechanism for battery status completely.

Change-Id: I807745028bafa15f2267a37206045e96d1c40e3b
Merge "qcom-common: use legacy audio" into cm-11.0
Merge "qcom-common: Update codec xml for kitkat" into cm-11.0
Update thermald-8930ab.conf

 * CPU frequency list was completely wrong.
   Fixed in later roms by Samsung.

Change-Id: I9999da417c73ed3634fc9f0774342dc49ab7a680
qcom-common: enable cpu notify on migrate for msm8960 target

Change-Id: I4bf955bbd895b282cc51368b768bcb1d7e6b1a26
qcom-common: Remove the QCOM_HARDWARE flag

 * Move this up a level, not everyone wants this yet.

Change-Id: I93fdce4eb29eddcb002b98f7004678e3e4050e89
qcom-common: msm8974 to build barrier and add updated init files

Change-Id: I1923a06728ce96d421548cf5e27ea0eeddf972cf
qcom-common: Update cpufreq settings

 * Set defaults for 8960 in case we're not using CM PowerHAL
 * Switch 8974 to interactive

Change-Id: I18bc8b23eb79a66c2cb208d3507d78ab42481984
Something's not right in Narnia

This build barrier isn't working, serrano and jf/d2 devices are not
inheriting the thermal files AT ALL, and it would never do what it's
supposed to do anyway if the inheritance order in msm8960-common were
fixed to accomodate it, since htle explicitly calls msm8960-common

Change-Id: Id3dfd645c12778a9ed321dc633745e05c6c281c5