gps: use jb_chocolate_rb2.1 HAL

Change-Id: I5c4f16107d1a3ae1e6173c967ba128921b8db7b7
gps: modify HAL to match Motorola libloc_api_v02.so vtable

Change-Id: I237aa74a738a1661cd115268f398273a18fdcdc8
gps: add function to enable/disable GPS engine lock

From http://review.cyanogenmod.org/29531

Engine lock is enabled on loc_eng_init, disabled on loc_eng_cleanup.

The engine lock state is non-volatile, and control of the lock is needed
to ensure that the GPS works and is responsive to requests.  Otherwise the
GPS may silently cease to work depending on its last state in stock firmware.

Change-Id: I7936ddfaa97983ad0533b809f7b2f064d1c783e0
gps: update common-proprietary-files.txt

Change-Id: I73b5688a4a85d118dcf3060db6b180af86c09fc2
GPS: Fix up setup-makefiles.sh

Change-Id: I05f15a665a51a5e33dbba690c15c6e4e087e194b
Update ASoc use cases for lpa/low latency

Change-Id: I7af1a7270e12bfb4866344368e6238a7e599f4b4
Enable tunnel audio

* Out with LPA, tunnel mode is the new hotness.
 * Tunnel mode sends compressed audio streams directly to the Hexagon
   where it's decoded and processed, rather than decoding in userspace
   and sending huge buffers of PCM data.

Change-Id: I51fd1c4532a5a25fb22612278d28129392bf99cc
Remove unused media properties

Change-Id: Id0a2df30621f9afabe8fb9ca0063f04da3a29cce
charge_only_mode: Upgrade graphics

Based on changes made by by T.Pruvot (CM Defy Team)

Change-Id: Iefe0e280664adeaa80d1e1f306432d95d0ea249c
Remove old dhcp leases on boot to prevent 'Obtaining IP Address' loop

Change-Id: Ib602b363ce3a6f0c4181efae3751cf16dea3000c
Remove lockscreen.rot_override, it's a user-configurable option now

Change-Id: I9ccba420c8b1eb359394eef7dd644ddea4f4fc1a
Revert "Disable Wifi Direct for now"

This reverts commit fc05430157703e9d042fa8172aaa8ed16eb3aba4.
Reduce size of wpa_supplicant.conf

If the file is big, WifiHW don't generate the config files.

Change-Id: Ic820b24d3e74ae93b5056be12958e9c667a1122c
Remove invalid p2p configuration, on boot

With p2p enabled, problems can occur if there's a invalid configuration
pointing to same socket as normal wpa_supplicant(wlan0). This script removes
the invalid configuration to avoid problems after upgrade.

Change-Id: I1ef88b67a25de4beb22c4133620972fda29053ac
Move ril to modules directory

Change-Id: If83c20f8d2746f4ccaf4e008754b53bfa669a791
Move gps hal to modules directory

Change-Id: Ib2f2d345be90ad43a57634b21f44aad9f3092e50
Add permissions for theme manager and auditd AID

Change-Id: Id8272aa7ad068825c042d12223c4e5549f0fbe20
gps: report session begin/end on gps start/stop

Since modem does not consistently send
SESSON_END/ENGINE_OFF event, always report
SESSION_END on stop gps and SESSION_BEGIN on
start gps so that the icon is turned on/off
correctly.

CRs-fixed: 401664
Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d
(cherry picked from commit dc7abf9a3d621b7a744e0eaeb6d9819ffff869a5)
DevicePerformanceSettingsHelper: remove killall command

Change-Id: I714559eed58e537b8e0dae91d14e1356e5e680a1
Updates for msm8960