Commit graph

261 commits

Author SHA1 Message Date
Rox-
6093e77fd3 msm8226-common: Update CameraWrapper
*Enable video snapshoot
*Remove cancel_auto_focus hack ( not needed )
2015-02-07 17:51:36 +01:00
Rox-
58fc2c8782 audio: Raise mic recording volume 2015-02-07 17:38:42 +01:00
Rox-
879a298d05 msm8226-common: Add back encoders
*They compile again after this commit : 455758edcb
2015-02-07 17:36:59 +01:00
Rox-
6d247cf4f8 msm8226-common: Don't use SMD_TTY 2015-01-31 22:06:58 +01:00
Rox-
b486c6c9c6 msm8226-common: wlan: Use wcnss-qmi interface to set the MAC address 2015-01-31 02:25:28 +01:00
Rox-
9172f536cd gps: Improve GPS support 2015-01-24 15:53:05 +01:00
Dante Russo
32d751c2c6 Remove reduntant clearing of GpsLocation memory
GpsLocation memory will now be cleared inside the
Loc Api handler itself, so no need to do it a second
time before calling into the Loc Api handler.

Change-Id: Iec37624621d6eb4806eb8e13c807bb4e40584e39
CRs-fixed: 726800
2015-01-24 15:42:01 +01:00
Pandari Sabhapathi
c0705468a7 msm8226-common: Migrating XTRA from gpsonextra.net to cloud based izatcloud.net
*Added logic to remove xtra1.gpsonextra.net from URLs
received from modem.
*Added logic to override modem URLs with those configured
in gps.conf
*Replaced all instances of xtra{1,2,3}.gpsonextra.net domain URLs
in gps.conf with xtrapath{1,2,3}.izatcloud.net URLs.
*Replaced all commented instances of xtra.bin in gps.conf with xtra2.bin.

Change-Id: Iae01cdbc777af5baa682a6b4fc73956627498f7c

Conflicts:
	gps/loc_api/libloc_api_50001/loc_eng.cpp
2015-01-24 15:41:13 +01:00
Kevin Tang
e9478c11bb Changes for External DR enablement feature.
Change Summary:
* Structure definitions for GNSS SV Measurement and GNSS SV
  Polynomial to report it to ULP and to external DR module;
* New function additions in LocApiBase, LocAdapterBase and
  LocEngAdapter to report SV Measurement and SV Polynomial;
* definition and changes to detect "auto" platform in loc_target;
* enable SV Measurement and SV Polynomial report for "auto"
  platform;

Change-Id: I0611023197ce58f5d083588809c2f18922738357
2015-01-24 15:40:41 +01:00
Linto Paul
932151ebaa Platform:ADPES2,Chip Info:APQ8064 Automotive
Changes to include "auto" option as well for ro.baseband property.
submitting on behalf of Madhanraj Chelladurai

Change-Id: I96abaea799df34d375a6a5db7341c17b99c94675
2015-01-24 15:40:23 +01:00
Kevin Tang
8b8602393c Fix for CR 692085, error mapping incorrect in one of the cases
eLOC_CLIENT_FAILURE_INTERNAL returned from loc_api_v02 was mapped
to LOC_API_ADAPTER_ERR_FAILUR, however in loc_eng_start_handle it
is LOC_API_ADAPTER_ERR_GENERAL_FAILURE that is being checked for.
Created a new error ID LOC_API_ADAPTER_ERR_INTERNAL specifically
for this error case.

Change-Id: Ib2ad6e983d6c598ec57f1a2584166da2be95946b
CRs-Fixed: 706520
2015-01-24 15:40:03 +01:00
Kevin Tang
a381abce5d loc timer util fix to handle the race condition
loc timer util stop() routine may have race condition
with the timer thread, when timer expires at the same
time stop() routine tries to lock mutex.  The race
condition can go 2 ways:
* timer thread expires, unlocks mutex, context switch,
stop() thread acquires lock, context switch, timer
thread destroys mutex.  Destroy will fail, resulting
mutex leak.
* timer thread expires, unlocks mutex, destroys mutex,
stop() acqures lock, signal, and releases lock. Would
be super rare conditions though.

Fix is that we give 5 seconds for stop() thread to
give up the lock when destroy. After that the timer
thread will release the mutex and go on destroy.
Meanwhile the stop() thread would check the lock
return to move on with signal and unlock.

Change-Id: Iff9e34d08a1faf0828049de2fede2e7a5d15b161
CRs-Fixed: 699856
2015-01-24 15:39:44 +01:00
Kevin Tang
4b98dbfeaa fixing the SSR recovery race condition
There is a race condition where when startFix is
called right at the time when modem or griffon
subsystem is down, GPS HAL doesn't get the correct
error code, and therefore the right handling.

Mapped ENGINE_DOWN to ENGINE_OFFLINE, as they are
the same; and modified loc_eng_start_handler to
update the state upon the right error code.

There is a one problem though. General failure is
also handled as SSR. This is because of an unhandled
race condition in the kernel, so the error code
returned and propagated is not deterministic enough
for us to tell if this is SSR. Until that fix is in
place, we might have to treat general failure as SSR
although the side effect should be none. Only
semantically incorrect.

Change-Id: If93823f08428275da171bb22d73a06e38365585b
CR-Fixed: 692085
2015-01-24 15:39:27 +01:00
Rox-
2e55e14896 msm8226-common: Re-enable keystore building 2015-01-24 15:39:02 +01:00
Rox-
9cfdf45b35 audio: Remove pcm offload formats
*Removed 16 and 24 bit pcm offload formats in offload profile,since
  pcm offload is not supported on B-family
2015-01-24 15:38:52 +01:00
Rox-
efed430ff0 audio: Update audio_policy.conf
*A2DP sampling to 44.1kHz
*Add support to route voice call TX/RX audio
*Update audio_policy.conf with supported AAC profiles
*Support for multi-channel
*Add support for compressed VoIP
*Add AC3/EAC3 formats in offload profile
*Add incall music delivery support
2015-01-24 15:38:43 +01:00
Rox-
02860531b4 msm8226-common: Update audio_policy for usb audio 2015-01-10 00:39:32 +01:00
Rox-
fa90e54b1c msm8226-common: Update media_codecs from CAF 2015-01-09 20:02:28 +01:00
Rox-
37ee2b3c8a msm8226-common: Bring back custom lun path
*Suport for custom lun path should be merged soon
2015-01-09 17:17:20 +01:00
Rox-
d370e5fcf9 msm8226-common: Remove redundant lines
*audio_policy package doesn't exist anymore
*Remove deprected libOmx* decoders
*Rest of files are built by default anyway
2015-01-09 11:29:59 +01:00
Rox-
ec87105ef7 msm8226-common: Update audio policy
* Add FM device
* Add PCM offload formats
2015-01-09 00:58:15 +01:00
Rox-
d03ddabc9d msm8226-common: Remove obsolete flags and products
-Multi voice sessions are disabled by default
2015-01-08 17:59:34 +01:00
Rox-
5a0ae6f57d msm8226-common: Update media-codecs 2015-01-07 21:00:06 +01:00
Rox-
6f4d1a3785 msm8226-common: Update MMS overlay 2015-01-07 20:18:11 +01:00
Rox-
bf8f7e0ef2 msm8226-common: Re-enable FM feature 2015-01-07 12:11:01 +01:00
Rox-
69db248889 msm8226-common: Clean up BoardConfig
- We dont need legacy mmap since we are usign updated adrenoblobs
2015-01-06 18:46:56 +01:00
Rox-
bda16198a1 audio: Raise speaker volume a bit 2015-01-06 18:46:16 +01:00
Rox-
d9d8193ac1 msm8226-common: Use 44/48KHz sampling rate for A2DP 2015-01-05 13:50:47 +01:00
Rox-
e9968e4ce2 Revert "msm8226-common: Move bootanimation res to BoardConfig"
This reverts commit 8f76a67fb7.
2015-01-03 13:55:39 +01:00
Rox-
d016c5abe1 msm8226-common: Include qcom selinux policies on device specific 2015-01-02 22:52:55 +01:00
Robert Rozic
6ad973d8ff CameraWrapper: Fix build error 2015-01-02 19:23:23 +01:00
Rox-
659cee2108 RIL: Remove lollipop hack
http://review.cyanogenmod.org/#/c/83032/
2014-12-31 14:24:50 +01:00
Rox-
9376a15098 sepolicy: Move SELinux policies to device specific repos 2014-12-31 14:12:12 +01:00
Rox-
f11ed9effe msm8226-common: Move some wifi stuff to common 2014-12-30 15:00:41 +01:00
Rox-
3beac0d8b9 msm8226-common: Define custom EGL cache sizes 2014-12-30 14:48:24 +01:00
Rox-
379c3de824 cmhw: Move to device specific repos 2014-12-30 14:36:40 +01:00
Rox-
1d53bfdcb8 msm8226-common: Move symlinks to msm8226-common 2014-12-30 14:26:39 +01:00
Rox-
7a65d086dc msm8226-common: Add SELinux specific policies 2014-12-30 14:20:42 +01:00
Rox-
aa5b6ce106 CameraWrapper: Update 2014-12-28 18:53:51 +01:00
Mukul Soni
8f76a67fb7 msm8226-common: Move bootanimation res to BoardConfig
Also add qcom-common to dependencies
2014-12-28 18:39:32 +01:00
Rox-
ac7d660743 RIL: Update dual-sim RIL class
Thanks @k2wl and sekil@xda
2014-12-25 22:07:29 +01:00
Rox-
61ca04d002 msm8226-common: Don't compile qrngp and qrngd 2014-12-24 01:54:53 +01:00
Rox-
7188cae198 msm8226-common: Keylayouts update 2014-12-24 01:06:47 +01:00
Rox-
6afcacf070 audio: Use 48KHz sampling rate for A2DP 2014-12-24 00:37:25 +01:00
Rox-
c590332aef BoardConfig: Do not compile keystore for now 2014-12-23 14:13:24 +01:00
Rox-
0bba0c2e31 RIL: Fix build 2014-12-23 01:13:20 +01:00
Rox-
82caf2fe7e camera: Update camera for lollipop
TODO: Clean unused camera parameters in CameraParametersExtra.h
2014-12-22 13:38:10 +01:00
Rox-
4cf28ae153 BoardConfig: This is already set on qcom-common 2014-12-22 01:49:48 +01:00
Rox-
d86f2bf3ef RIL: Update for Lollipop 2014-12-22 01:32:44 +01:00
Rox-
e80c501630 msm8226-common: Update GPS hal 2014-12-22 00:59:33 +01:00