nameless bringup

Change-Id: I9fb6ec84dcd01c5829f09414f7ff71d056d0d158
msm8974: Enable resampler use in PCM offload path

 * In the cases where we have concurrent conflicting
   sample rates, we need to resample one stream since
   the backend codec only knows about a single stream.

Change-Id: I485d9782046741cbbbabfcf8e86f26a7b3a38091
Make mixer_paths.xml device specific

 * Make mixer_paths.xml device specific because Bacon and find7 have
   different mic configurations.

 * This will allow speaker phone on find7.

Change-Id: Icdb2a5623256386b3cba1a9c939fc795e8fc1125
msm8974: Move loc_api files here

 * The QMI interface is version specific. Keep it simple and put
   it with the rest of the GPS HAL.

Change-Id: I916f3a102e9ce172d68860c5d563de0dec3ccaee
msm8974-common: Increase volume for voice paths

- Increase speakerphone mic & speaker volume
- Increase handset earpiece volume

Bugs: BACON-27, BACON-38

Change-Id: I8554c395ac52b77733d02069615e6fb5335686e0
msm8974: Improve thermal mitigation

Change-Id: I3c576bf937cdf1252d0d882d4741d096201ba2ec
msm8974: Audio tunings

 * Enable some things for future use
 * Tweak volume stepping/ramping

Change-Id: I6f830dda1f57e8edece61df88a38c048c96a2524
msm8974: Use the normal speaker output

 * These speakers are differential, not stereo.

Change-Id: I678bdc99314768fcc02a1db5f32c8809bd2d15a1
msm8974: Offload all the things!

 * Offload is very stable now, so offload all the things.

Change-Id: I41cb0df2310e9c15ad5c434858c65b26169911f4
msm8974: Update audio policy

 * Update sample rates, readd seperate low latency policy.

Change-Id: I1109c8664a42f8da51e5583e8e9d1ed1a2effe31
msm8974: Don't use the motion accelerometer

 * Use the normal sensor instead to resolve slow rotation issue

Change-Id: I2b2d95831246f2ee3a1989155675439613ea98ea
msm8974: Add debug logging services

 * Disabled by default, just adding for convenience when
   needed for debugging.

Change-Id: I56ac0247eb6520efcaa60eb8873049b0e18a5161
Revert "msm8974: Offload all the things!"

 * Yeah, there are problems with this. Some games are ending up in the
   compress path and doing seeks which freak out the DSP.

This reverts commit 6a900e271fda2bb34b9ada95215e4d2de3e974d8.

Change-Id: I9e7413c3072e91815ab9681a32eb4484c7d48eac
msm8974: [HACK] Restore combined primary audio path

 * The underrun (click/pop) seems to still be possible
   when using FAST output, and happens most often
   when playing a ringtone out of suspend.

Change-Id: Icd30aae31f0c911a142e12c09f701be383896cb1
Add proximity wake flag

Use frameworks opt-in functionality.

Depends on http://review.cyanogenmod.org/#/c/69169/

Change-Id: Ib078b65252bd5ca4da3d71d8d73f66ba7e8bf333
msm8974-common: Add Widevine proprietary libs

Change-Id: I7cb58f06ec9bfb21e5bf34df2b6677e159e87549
msm8974-common: Sort makefile targets

Change-Id: I4557d0e4a688628598239fb90ac8aa3a58fb7d13
msm8974-common: Remove unused liblisten entries

Change-Id: I084b951418d3025b1adc14f575d234b229e84bf5
msm8974: Disable multiple offload support

 * Disable multiple offload support in the stable branch until we
   fix the issue with the offload visualizer. The issue is that
   the visualizer is hardcoded for a single AFE_PCM_RX path, and
   we need to pass this up from the HAL for multiple offload.
 * Revert this when the issue is fixed, as multi-offload can improve
   power consumption in certain use cases.

Change-Id: Ife712dfe47d24db361949d3736156276f5f6e0a9
msm8974: Melt faces off

 * Add support for SRE

Change-Id: Iddf45efd600a6eaf46e213f884a8ff709131a30a