Commit graph

15 commits

Author SHA1 Message Date
Prashant Kumar
d66fc2cdb4 Reversing the Added API to read the device SOC ID
Change-Id: I96bd498fdd9509a1d52063ec26732a99365415d5
CRs-Fixed: 2531660
2019-09-20 10:01:48 +05:30
Ashish Dhiman
4d2c7279b5 Add API to read the device SOC ID.
CRs-Fixed: 2385448
Change-Id: Ia154c908e610e2e475171d9a45822bae84210d5b
2019-09-19 03:28:41 -07:00
Dante Russo
06d93da4a1 Deprecate reading of ro.lean property
ro.lean property is no longer used, so remove
reading logic of this property. If ro.lean is
added in the future, it will need vendor prefix.
Change-Id: I6b5e891f6d59c0809f9136541bbfb6696cbf4d5a
CRs-fixed: 2282702
2018-07-23 17:58:04 -07:00
Kevin Tang
a2cafde5bd Fixed loc_get_target() and removed 1530 support
it is a stale feature, been disconnected for years.

Also tightend up loc_get_target(), as it currently
doesn't get produce a result, but also return -1,
which would cause the next call and every call going
through the entire function every time it is called.

Change-Id: I348d99f690eb8973730112d5edeb870b2be2c6c8
CRs-Fixed: 2062169
2017-06-20 15:21:45 -07:00
Saurabh Srivastava
c01fcd784c Adding new target APQ-NoWGR handling
Adding handling for new ro.baseband value provided by target team
If the target does not have WGR (GPS Receiver), we return NULL
GPS and FLP interfaces.

CRs-Fixed: 1033674
Change-Id: I1561518c4f4b0c52ab934feb2fa43e9078c91d86
2016-07-29 11:45:28 +05:30
Madhanraj Chelladurai
edc2a648b3 gps: include support to check hardware type property
automotive platform introduced a new android property called
ro.hardware.type to detect automotive platform for the
purpose of having automotive specific features.

Added changes in loc_target to detect auto platform.

Change-Id: Ib886b96b2e95dafc151bead041e5fc3d6740c468
CRs-Fixed: 992647
2016-04-27 23:43:17 -07:00
Tushar Janefalkar
7d367d0e62 Add utility to identify lean targets
This utility reads ro.lean system property
and returns a 1 if the property is set to true
and returns 0 otherwise.

Change-Id: I52a8396ee085d44b90d8416131f27b0b1a46575e
CRs-fixed: 801990
2015-03-19 17:33:06 -07:00
Tushar Janefalkar
b38580ee75 Revert "Added Detection Logic For QMI_PDS Target."
This reverts commit fb9c641bb8.

CRs-Fixed: 760272
Change-Id: I90a9bcd77447dc5b3d799bd0ad1bdbfae85cef15
2015-01-26 16:23:43 -08:00
Kevin Tang
f014665a52 Enable "auto" target for APQ8960 Automotive ADP platform
APQ8960 Automotive platforms use "auto" as a target name
for ro.baseband property. Appropriate GPS driver changes
were,
   1. define GNSS_AUTO enum constant
   2. Enable GNSS drivers for "auto" target.

Change-Id: I463db7ac1c3e2dd6101e457ad723bb16adf5aacb
CRs-Fixed: 771597
2014-12-15 21:21:16 -08:00
Kevin Tang
fb9c641bb8 Added Detection Logic For QMI_PDS Target.
Added run time detection of PDS enabled fusion target
to loc_target(), to support fusion platforms that has
PDS service enabled.

Change-Id: Ic53df027540f00eec9259776351b6bbc9afa0521
CRs-Fixed: 699757
2014-10-10 10:36:46 -07:00
Tushar Janefalkar
4460543e7d Add new utilities
This change makes modifications
to existing utilities and adds
a couple of new utilites to help
with the launcher

Change-Id: Ib65ffe8e60c7e4a824c5c362765df5dcba872424
CRs-fixed: 600179
2014-02-10 10:15:54 -08:00
Valeri Atamaniouk
3b4d23e9cc apq8084: qca1530 configuration handling is added.
Provide function for qca1530 detection. Rename 'get_target' to
'loc_get_target'. Fix loc_get_target state detection to avoid double
detection. Fix few minor code defects.

Change-Id: I3daaff99598771742572aab407475474fad41e93
2013-10-25 06:47:17 +03:00
Dante Russo
530086a52d Fix ATL handling
Always register for ATL events reguardless of hw target
or MSA/MSB capabilities. For APQ target, do not handle
certain types of ATL events that it doen't support.
For APQ target, use only position mode of Standalone.

CRs-fixed: 533932
Change-Id: Icd626e3e7155d5c2ba871a343430e441924ce93c
2013-09-10 15:57:08 -07:00
Tushar Janefalkar
e5e62728a2 A mechanism to detect APQ chip set
The current changes to default the operation mode
to Standalone by the CHIP ID. A new method is used
for solving this issue.

CRs-Fixed: 510462
Change-Id: I58fd85e2c28bf824edeaef62660c62c34761bd37
2013-08-02 19:01:02 -07:00
Dante Russo
85f672fa71 Merge branch jb_mr1 into jb_2.6
Merged from from label
AU_LINUX_ANDROID_JB_MR1.04.02.02.049.306

Change-Id: Ie2f7fd3d25f8f28f5d1b6e733974bb5f75999ee8
2013-06-11 14:58:24 -07:00