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
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0