fusion3: set lteOnGsmDevice

Change-Id: I28fb82cf2d929e8093368cf53e110093824b4bc9
fusion3: cleanup audio flags

This flags aren't enabled and probably not needed since nobody complained so far.
https://github.com/Kali-/android_hardware_qcom_audio-caf/blob/cm-10.1/alsa_sound/Android.mk#L32

While merging Kali's repo with CM repo i've reenabled those flags which might cause issues for us:
https://github.com/codeworkx/android_hardware_qcom_audio-caf/blob/cm-10.1/alsa_sound/Android.mk#L32

Let's disable them.

Change-Id: Iabd36c983bf8e58308d0f5eea1d907c03d37eaad
Merge "fusion3: cleanup audio flags" into cm-10.1
fusion3: provide libril to fix radio technology int

Sony sends 18 for dual channel HSPAP which AOSP doesn't handle.
Map it to standard HSPAP.

Change-Id: I425e88e3eca8ad55b67d22599e88f200a7dff1a7
add proprietary-files.txt and scripts for it

Change-Id: Ia9f833d7d969793f82c93fba5562af72cff7cb7d
fusion3 : fix vendor includes

PS2 : remove direct inclusion of qcom-common vendor as it is done by qcom-common makefile
PS3 : this is actually PS2 :P  PS2 was a dummy. sorry
Change-Id: Iccfc01ef9d2e62321f1f303108152d8b67f32b92
Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
fusion3: fix network search (QUERY_AVAILABLE_NETWORKS)

Sony sends 5 operator info elements
Alpha long, Alpha short, Numeric, Network state, Network type

Upper layer expects 4 elements.
Alpha long, Alpha short, Numeric, Network state

Recalculate the number of elements (multiple of 4) and drop
every 5th element.

Change-Id: I94b35757826685a9b06305ca72aa940fae232d6d
fusion3: disable qcom zsl, breaks preview after snapshot

This is actually more or less a samsung thing.
Nexus 4 is also a qcom phone and doesn't need this.

Change-Id: Ida136b15b849f6d7628ccd0d917c1c2fef892280
fusion3-common: Use custom gralloc_priv to make cam HAL happy.

Camera HAL was compiled against CAF tag <need to look it up>,
which has extra members in private_handle_t.  The fd_metadata
member shifts the cam HAL's size/offset up by 4 bytes.

Since cam HAL only uses fd, size, and offset, and fd is not
shifted, move bufferType up two slots so that size/offset are
aligned.  Adreno blobs don't use any of the three items that
are moving, and everything else is compiled.

Also enable -DMR0_CAMERA_BLOB for cam blob compatibility

Change-Id: I56614aedebe749cabeda62ac658363a6f1a8311c
fusion3: disable gtod optimizations

Change-Id: Id11b8c25a5dbf5ad2497e7d82d4c08099b89ccde
fusion3: move libril to qcom common

Change-Id: I33c03ab80aa8db8a530f401435a5147e25114431
fusion3: header cleanup

msm_camera is not used
all other are no more needed

Change-Id: Ia846bbc2d910c60a33be1a0a93e44fc9b13be8d7
fusion3: enable focus mode setting on camera app

Change-Id: I6ed2632199f3d205f66bf52643015d402a15841e
fusion3: ueventd: fix typo

Change-Id: I2bb2420987f8bb8ef8492c8c7368b9864c7806b0
fusion3: get reboot reason from cmdline

Change-Id: I1731d00c850aef0f20320071f686c1c0b4a43510
fusion3: Use legacy CAF input buffersize logic for audio

Older CAF audio HALs only used getInputBufferSize for 5.1 audio,
and our CAF tag is such a HAL.  Use the legacy logic to permit
audio recording to work.

Change-Id: I61a3321d7b91d9ac47f252f0f90d15be5b82ab4e
fusion3: modify autobrightness levels for opensource dash

Change-Id: Id9cc1109af5fe59490c21dbac11361aad70007e5
fusion3: reorganize and cleanup

Change-Id: I2390618ad34d2d3877749e75095dd00316610861
fusion3: update permissions

Change-Id: I9d47a2b0ffb00b06f85857c12ff45567a6ad91c7
fusion3: remove CAF gps stuff

Change-Id: I2f7348e4e061f302b161fd4dc94ed5dbbf3d038c