i9500: Add missing overlay for noise suppression

Change-Id: I47515bac0e5255afd5904257647dcabfa1ff4b16
i9500: remove useless sip voip permission

already declared here:
https://github.com/CyanogenMod/android_vendor_cm/blob/cm-11.0/config/common.mk#L118

Change-Id: Id9645baa257ab2b1c432c086045c9db4b685beeb
i9500: Remove duplicate permissions

Those 2 permissions xml are appearing twice,
accelerometer in lines 180 and 192,
and compass in lines 181 and 193.

Change-Id: I7dc3cd74e5d5e57d698125fecfb8f3cbce1b0e04
i9500: Alphabetize permissions

Change-Id: Ie3b36f23e86954a9c9de17f48afb43bc4494bb12
i9500: consumerir: Convert transmit input from ms to pulses

According to:

 https://developer.android.com/reference/android/hardware/ConsumerIrManager.html#transmit%28int,%20int[]%29

the pattern is supposed to be in ms.  Apparently Samsung and HTC
in versions 4.4.2 and earlier of Android were treating this as
the number of pulses instead of ms.  This is what our HAL is
supporting because it mimic'ed what the vendors were doing.

However, we should switch to the correct spec of the pattern (ms)
and eventually this will cause apps to converge on the right
patterns.

Currently, this change will break half the existing apps and cause
the other half of the apps to stop being broken and to start
working.

Change-Id: Ie7be141fe8389c366ad8ccf0a32f9912eed71c7c
i9500: consumerir: Increase Buffer size

Fixes JIRA CYAN-5239

Change-Id: I0b31000e1d99ea3165cd6ca0ae5b3d6938ddb64a
Revert "voice fx: fix effect state control logic."

Since this commit was merged, the Echo effect while talking
got much worse. The echo suppression effect doesn't seems to
work at all now.

This reverts commit 602c06af383002698fdc57f72736cf28164d2067.

Change-Id: Ie7335c845797ebbd89adf9dcf13cef9f398152e5
i9500: fstab.universal5410: fix usb otg auto mount

* Also added spaces because otherwise the line wouldn't fit

Change-Id: I7bd198eac46076a92145278d01e163ace17b9b9d
i9500: fstab.universal5410: move system to top of fstab list

* As per info it should be mounted first since it contains
  the filesystem check utility.

Conflicts:
	rootdir/etc/fstab.universal5410

Change-Id: I4908a6dcb4f035148d303b4e503436159a5e5e35
i9500: re-enable in-call amr-wb switch

Change-Id: Ibc07ecae732ff37fd108aa47a12170171d591e55
i9500: Update RIL header to v9 [2/2]

Change-Id: I37e11a366f22fa5cf33787ce313d9aa1538d76f2
i9500: camera: Update HAL API versions and fix warnings

Change-Id: If4988419deca227d04dd995cd09bdeef01883c30
i9500: add ANT+ Wireless support

Change-Id: I25d257039012d33409af2320cd032545f9930f91
i9500: overlay: Opt-out of threaded camera startup

Our HAL appears to be broken and we cannot take advantage of the
faster camera startup mode.

Change-Id: Ib50e8b3f15f7845c6e4526172dbaefb81676ee3e
i9500: consumerir: Dynamically grow an appropriately sized buffer

The IR pulse sequences are written to a local buffer to be
passed to the kernel.

Previously, we doubled the fixed size buffer (from 1K to 2K)
to work around a crash that was occurring for long sequences.

Another crash has been found when using Smart IR Remote and the
POWER function of the TX P42X10E remote by Panasonic (TV category).

Rather than double the size again and wait for another counter-
example, dynamically allocate the buffer and grow it as needed
to handle any IR sequence.

Change-Id: I314a23fc04f7c9dce402f04e469a7569fe4b7d05
i9500: eS325: Fix typo

Change-Id: I71bd2137af47434ed82118bf374bc55688aa488b
i9500: audio: fixed channel count determination from channel mask

Do not use popcount() to derive channel count from channel mask.

Change-Id: I7c086405618d1404f7454c375acc58dd5bc157b8
audio: Fix ril log tag.

Change-Id: I294abb057acf33422cdfa481c99b86025a9c6665
Revert "i9500: audio: fixed channel count determination from channel mask"

Breaks the whole building process

This reverts commit a5d5b03631bc3fc68b3b885a557ff0d5e0fb4ea1.

Change-Id: I8f4a44d4755eb9187c3a494031ceb5b4a2c8ea76
Merge branch 'cm-11.0' into cm-11.0-jalte