hammerhead: Enable QCOM bionic optimization

Change-Id: I47cfe28c2d04c1ff5903958624583d70e84ca979
hammerhead: Audio update

* Enable the compander for increased dynamic range on
  headphones and speaker output
* Increase headphone gain
* Build tinymix

Change-Id: I78c317d91fe633907873b412d0f1e3e3b9da8ad1
hammerhead: Add SELinux policy for healthd

This adresses denials such as:

avc:  denied  { read write } for  pid=144 comm="healthd" name="rtc0"
dev="tmpfs" ino=6565 scontext=u:r:healthd:s0 tcontext=u:object_r:rtc:s0
tclass=chr_f
avc:  denied  { open } for  pid=143 comm="healthd" name="/" dev="tmpfs"
ino=5405 scontext=u:r:healthd:s0 tcontext=u:object_r:device:s0 tclass=dirile

Change-Id: Ib201cfcf3c21c9480276c0356a063701d5120810
hammerhead: Fix bluetooth UART device perms

Change-Id: I19b636709b7172e66372faaa28e2b3c4c224621f
hammerhead: Update SELinux policy

Address various denials.

Change-Id: I73a3adeb7678244bc5760812ac3d36e2d561fa96
hammerhead: Update GPS parameters

 * Switch to IZat cloud servers, enable GLONASS

Change-Id: Ia587d776e281bd0febef7ae7e549c7e0f22e2db9
hammerhead: Update permissions for mpdecision

* Allow communication with thermald socket
* Remove global access to /data
  (thanks for the free review, Nick)
* Allow mediaserver to communicate with mpdecision socket

Change-Id: Ib9fd494e7e7a1634b305996b99993e04033cf3ec
hammerhead: Cleanup SELinux policy

This addresses reviews in:

http://review.cyanogenmod.org/#/c/78600/
http://review.cyanogenmod.org/#/c/77883/

Change-Id: I0813085b20e16c2d62c72a8a43ae5f00200bdd77
hammerhead: Include FFMPEG codec configuration

Change-Id: I6f9197353a1843d07777a5803d17a7bfb7c240c6
Use standard syntax to initialize fields.

Clang compiler gives warning to old gnu syntax.

BUG: 18193625
Change-Id: I7f43284f14353d68119173e2115893bcefd0d7e7
Remove lge/hammerhead no-op.

Change-Id: Idc25eff9db1a380fd789132aa2a46f6e82e36a30
Use __typeof__ for C++11 compatibility.

Bug: 18466763
Change-Id: I13caa2d79a35db64ad3d9ed87fb0dc835c3e96dd
Hammerhead camera: Fix unused variables

For build-system CFLAGS clean-up, fix unused variables.

This only cleans the parts of this project using -Werror.

Change-Id: I26ee6aa9c08c3f7ff5a28e4995bbcc4748910e94
hammerhead: Add sepolicy for hardware tunables

Change-Id: Icd4588175c1fca628fa3027d6cefd53fab7c90e7
hammerhead: Update IPC router security configuration

Change-Id: Ia89a4920e07d5790cbd3dde9780349dc42f241e6
hammerhead: Make SYSTEM owner of cpu online files

This is required for the Settings app to online cpus
before writing to cpufreq files.

Change-Id: I63530bfcf095a0fbc432a908272bc89bb1ad89eb