Commit graph

248 commits

Author SHA1 Message Date
Apavayan Sinha
123a587844 RIL: DS: clean up ril
Change-Id: If7b95abc55507931d95b14e19e4ff18a356233ad
2015-08-27 13:30:57 +05:30
Rox-
b567f7284e msm8226-common: Remove deprecated egl.conf
993814255f
2015-08-16 12:40:42 +02:00
dhacker29
418f9a81f1 sepolicy: Fix denials during off mode charging
Change-Id: I8ec9deb718c3c328a374089e1c25cfe919092c5f
2015-07-07 20:05:31 +02:00
Rox-
f5f109900a RIL: Update ril
a9b9133329
2015-06-28 11:04:26 +02:00
Rox-
2e2f3b4701 msm8226-common: Don't copy FFMPEG config anymore 2015-06-28 10:57:18 +02:00
Rox-
ed2dc1070a msm8226-common: Allow vold permissions for encryption 2015-06-28 10:52:56 +02:00
Rox-
883029e54b msm8226-common: RIL: DS Update 2015-06-11 14:36:14 +02:00
Rox-
e9508566e1 Revert "AmbientDisplay: Enable Ambient Display for msm8226"
This reverts commit 0d11ee2da3.
2015-05-30 17:50:47 +02:00
Rox-
ffb6ea8ca9 msm8226-common: Remove duplicate flag
*This is common for samsung qcom devices
58c4ee7d3c
2015-05-21 20:38:08 +02:00
Rox-
a491882a2d msm8226-common: RIL: Update 2015-05-18 11:28:45 +02:00
Rox-
4e61fb48f2 msm8226-common: CameraWrapper: Update 2015-05-17 14:20:35 +02:00
Patrick Lower
0d11ee2da3 AmbientDisplay: Enable Ambient Display for msm8226
* Set configuration overlays to turn on ambient display
* Added custom service that uses proximity sensor in wake-up mode to trigger display on
* If more sensor triggers are suitable to use, they can be added to the service

Change-Id: Id0849fb5c17ff569d771a19cebfc579dc93dbc48
2015-05-17 13:34:50 +02:00
Adam Lesinski
22f363b507 msm8226-common: Remove density from PRODUCT_AAPT_CONFIG
AAPT ignores densities in PRODUCT_AAPT_CONFIG.
The use of PRODUCT_AAPT_PREF_CONFIG for density is
encouraged, as AAPT is able to determine the fallback
density to use if a resource of the specified density
does not exist.

Change-Id: I4c49c00a991b2ba361f1142e19e90137df1ee2dc
2015-04-27 19:07:22 +02:00
Rox-
e61f726a8d msm8226-common: Set dlmalloc as default allocator
Use dlmalloc instead of jemalloc for mallocs
2015-04-19 11:40:52 +02:00
Rox-
31f86fcc25 msm8226-common: charger: Show battery percentage
*Show battery percentage in LPM
2015-04-07 16:25:14 +02:00
Rox-
f874404f18 overlay: Enable call recording 2015-04-07 16:25:05 +02:00
Rox-
3520819dd7 msm8226-common: Disable memcpy_base.S optimization 2015-03-18 00:22:29 +01:00
Rox-
3827b3e443 msm8226-common: sepolicy: Adress kmini3g iio dev denial 2015-03-09 20:20:49 +01:00
Rox-
ba0e71da5f Revert "msm8226 : Enable ADB on Boot"
This reverts commit 0922b9f5e6.
2015-03-09 19:07:35 +01:00
Rox-
4a5bd90d5f msm8226-common: sepolicy: Fix vibeamp denial 2015-03-09 00:32:24 +01:00
Rox-
ed4164ae3a msm8226-common: sepolicy: Address sensor denials on kmini3g 2015-03-09 00:04:48 +01:00
Rox-
6d718ff134 msm8226-common: Fix typo 2015-03-08 16:12:25 +01:00
Rox-
aa76796a09 msm8226-common: Update keylayouts for kmini3g 2015-03-08 13:39:49 +01:00
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