Commit graph

125 commits

Author SHA1 Message Date
Rox-
dd64706a98 msm8226-common: De-commonize liblights 2015-03-08 13:37:49 +01:00
Rox-
5e1d3e69f1 msm8226-common: modifications for CmHardwareService 2015-03-08 00:22:43 +01:00
Rox-
3a58555cb3 msm8226-common: Our sound driver is not ready for this yet 2015-03-07 21:55:08 +01:00
Rox-
a9c51e82e5 msm8226-common: Add PCC calibration interface 2015-03-07 21:52:41 +01:00
Rox-
63912572fc msm8226-common: De-commonize audio configuration
S5 mini got 2 microphones
2015-02-25 17:05:33 +01:00
Rox-
169b19068c msm8226-common: Make sepolicies common 2015-02-25 16:20:53 +01:00
Robert Rozic
90e8963054 Merge pull request #1 from Jackeagle/cm-12.0
msm8226 : Enable ADB on Boot
2015-02-25 16:15:57 +01:00
Jackeagle
0922b9f5e6 msm8226 : Enable ADB on Boot
Change-Id: I9b9362d04f2443f20b3beef5d0e49b70073bde64
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
2015-02-25 09:58:45 -05:00
Rox-
8117c91b9d msm8226-common: Add missing firmware symlinks for kmini3g 2015-02-23 23:03:08 +01:00
Rox-
2a0886a894 msm8226-common: Remove deprecated camera2 overlay 2015-02-22 19:42:19 +01:00
Nikola Majkić
f1515e8569 msm8226-common: Lower audio volume
Speaker/In call speaker volume was too high, so those are correct values
2015-02-14 14:23:31 +01:00
Rox-
c096ce7cbf msm8226-common: Add property to indicate we support usb-otg 2015-02-14 13:35:26 +01:00
Nikola Majkić
2fa6d7438e msm8226-common: Update keylayout
Update from LNX.LA.3.7.3.c5-02900-8939.0 tag
2015-02-14 00:36:19 +01:00
Nikola Majkić
463e3e072d msm8226-common: audio: Enable offloaded audio effects
Updated by @Rox-
2015-02-13 19:16:46 +01:00
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