Add Wifi Display Support to Galaxy Nexus (1/3)

Original Author : Kensuke (s107ken@xda)
Original thread : https://github.com/kensuke/How-to-Miracast-on-AOSP/wiki/Android-4.4

Maguro bug fix : Carlos Manuel@xda (Dreams ROM Developer)

- modified wifi strings from Grouper to support p2p transfer
- enable codex support
- enable wifidisplay with config.xml

to do list : get back Sink Support(?)
should be consist of 7 patches (2 additional packages)

1. build : add Mira4U to build list
2. wpa_supplicant : enable p2p connection
3. device repo: enable wifidisplay options by default
   add audio.r_submix.default to build: update media_codex, media_profiles and audio_policy.conf to enable proper encoding.
4. frameworks/av : add back Sink support from aosp 4.3, skip error check with failures.
5. frameworks/base : accept sink connection type and extend RTSP connection timeout
6. frameworks/native : support sink rotation control
7. packages/apps/Mira4U : Update version to support KitKat, add option and Sink Daemon Activity

Change-Id: I7a10fef88d44d60fc347354cb853abc043f93435
Signed-off-by: DHOMD <DHO@dho.im>
Well the BMP180 supports temperature, let's see what we can do with it.

Conflicts:
	libsensors/sensors.cpp

Change-Id: I6bad6d69cfa7035466ed26ad3d9677d6496d2c00
Signed-off-by: DHOMD <DHO@dho.im>
Extrapulate "Fix sensor structs" to new commits

Change-Id: Idb9b2899e0bc13dd8ad2548ae9a3ac335ea80f2c
Temp sensor tweaking.

Conflicts:
	libsensors/sensors.cpp

Change-Id: Ic8746575a6547e20f946aa25744a4ea6814a5e10
Signed-off-by: DHOMD <DHO@dho.im>
Enable BLE features : Skip remote and host interleave search

Change-Id: I744881f1e03e6183dd8ec71ce8a20259dde6e89d
Signed-off-by: DHOMD <DHO@dho.im>
Enable QCOM bionic optimizations

benchmark       iterations  Normal ns/op  NEON ns/op
BM_math_sin       10000000  126           109
BM_math_cos       10000000  112           114
BM_math_pow        5000000  375           328
BM_math_sqrt      50000000  496            38
BM_math_sqrtf    100000000  136            25

Change-Id: I674fcd45df703788194ff3df5b330b5f11915aa2
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Conflicts:
	BoardConfig.mk
Signed-off-by: DHOMD <DHO@dho.im>
Revert "init.tuna.rc: enable sandboxing for rild" - see description for reason

James Dean:  Radio on the gnex been funky since those commits
Others have reverted them
Signal has been weaker and lots of dropouts
The original source that created the sandbox uses a open source ril on the tuna
We don't

This reverts commit 48ec5a7e71a05493a3f89b6b3e3e705b8b5e8c82.

Change-Id: I96888ad0601bdfcf02927abda99a05440694145f
Combine a few sensor fix commits for hopefully the best solution

Change-Id: Id711a1b85ba186cd3ad4236d1403ff07db05fdaf
Revert "Add Wifi Display Support to Galaxy Nexus (1/3)" || this can be added later

This reverts commit e0c0ee56164a72424f5688ed1f5af1638e7fd740.