summaryrefslogtreecommitdiff
path: root/utils/loc_target.cpp
AgeCommit message (Collapse)Author
2018-07-23Deprecate reading of ro.lean propertyDante Russo
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-04-20Merge location.lnx.3.0 into location.lnx.4.0Bhavna Sharma
CRs-Fixed: 2228694 Change-Id: I114d830bec57040d700a0cebac2d0415c9b9f893
2018-04-04Merge location.lnx.3.0-180201 to location.lnx.3.9Dante Russo
Catchup merge from tag location.lnx.3.0-18201 CRs-fixed: 2212182 Change-Id: I47f5f9eb06cb6a6ee6be337a2dc43e0d2386113b
2018-03-02remove unused variables for compilationDante Russo
remove unsed variables and fix few compiler issues CRs-fixed: 2175735 Change-Id: I635a7503326928f43070aa2224bc3c3d6e1ff929
2018-02-25Reset MSA/MSB capabilities for APQ targets.Harikrishnan Hariharan
- Capabilities MSA/MSB should be reset even if defined in gps.conf for APQ/QSC targets. Since WWAN modem will not be available, we need to trigger Standalone fixes only. If MSB capability is set,then default position mode is MSB. - Handle the new string "qcs" for baseband for Gen9 APQ targets. - Make sure that ContextBase::readConfig avoid repeat initialize for config reading. Change-Id: Ic0a1e57dd76a88bf4d037cd374ceded84cc0f904 CRs-Fixed: 2193207
2018-01-16LE clean upKevin Tang
separated utils, core, ds and loc-api-v02 from loc-hal into their own independent packages; simplified loc-pla; moved pla to the root of project; removed loc-stub. Change-Id: I373f02f9306646addf55ae90d71c4ba8e3741d09 CRs-Fixed: 2172544
2017-06-20Fixed loc_get_target() and removed 1530 supportKevin Tang
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-03-20Merge "Updating ro.baseband target property value"Linux Build Service Account
2017-03-15Updating ro.baseband target property valueSaurabh Srivastava
Updating target derivation logic based on ro.baseband property. There are new values which must be considered in the target derivation logic. Change-Id: I2e81ab00c107247dcb8f1a919136bb61b482e73c CRs-Fixed: 1105916
2017-03-15Update the device node to check for MDM systemsHarikrishnan Hariharan
To identify the target as MDM, we need to check for "/target" node mdm targets instead of "/dev/mdm". Change-Id: Ibb53acfd06a0a586f2cdca784f475d0a45718581 CRs-Fixed: 1101185
2017-02-14Decouple libhardware usage on LE for gnss modelsBaili Feng
Remove all usage of gps.h and fused_location.h from all gnss models except gps/fpl hal librarys Change-Id: I90ba233c6bbe5c31a4cacceeb981833719c871f2 CRs-Fixed: 1067953
2016-07-29Adding new target APQ-NoWGR handlingSaurabh Srivastava
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-04-27gps: include support to check hardware type propertyMadhanraj Chelladurai
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-03-15Revert "Revert "Merging m_master changes to oe_master"."Deven Patel
This reverts commit a29688ff347be4972133eb11ccecaf03b0d3445e Change-Id: Iab525a58ddb6a00e119afe19f4f51b07b7f428f2
2016-03-07Revert "Merging m_master changes to oe_master".Deven Patel
This reverts commit 1aeb6bad84c0afd0e032c3d4d7e33959501e18f1 Change-Id: Iec0a96e7cdfe55ef5836c92a2ae1cce407f6cd5e
2016-02-04Merging m_master changes to oe_masterKevin Tang
Merging LA m_master changes to oe_master merge head - 89f41a9b1602ce82ea6272f2a3be8595fb4b6058 Change-Id: I9010487f1d6f3d2e30a568b441bc5f9b719a0fb1
2015-07-15Fix implicit declaration errors in gps hal.Dante Russo
Including string.h and stdlib.h to fix compiler errors Change-Id: I4e79c71b9e5691e51850adcc52f52b36f8e3d088
2015-03-19Add utility to identify lean targetsTushar Janefalkar
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-01-26Revert "Added Detection Logic For QMI_PDS Target."Tushar Janefalkar
This reverts commit fb9c641bb869301c9b3728608870673693ff593f. CRs-Fixed: 760272 Change-Id: I90a9bcd77447dc5b3d799bd0ad1bdbfae85cef15
2014-12-15Enable "auto" target for APQ8960 Automotive ADP platformKevin Tang
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-05loc-pla: Create Platform Library Abstraction layerDongmei Wang
Defined PLA functions to enable gps libraries to call platform-dependent library calls transparantly. Removed fake files and replaced the fake function with defined PLA functions. CRs-fixed: 605817 Change-Id: I677f658001329a10ef9b49bd963631a83fb4c85f
2014-12-04loc-hal:porting from ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.040Dongmei Wang
It contains the following changes: - porting from AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.040 - updated package loc-api files according to the merge - rename loc-api to loc-hal - dynamically load liblbs_core.so.1 file for LE platforms - print a warning message when loading the lbs_core library fails CRs-fixed: 605821 Change-Id: I54e1a9c742d1734ffa29e6864901119e0ee600c8
2014-10-10Added Detection Logic For QMI_PDS Target.Kevin Tang
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-02-13Merge "apq8084: qca1530 detection property changed"Linux Build Service Account
2014-02-12Merge "apq8084: qca1530 detection timeout reduced"Linux Build Service Account
2014-02-11apq8084: qca1530 detection property changedValeri Atamaniouk
Changed QCA1530 SoC detection property from persistent to non-pesistent. New property is 'sys.qca1530'. CRs-Fixed: 614154 Change-Id: I61ed4191e6413bb6eab71c61d9ed070a5815c178
2014-02-10Add new utilitiesTushar Janefalkar
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-10apq8084: qca1530 detection timeout reducedValeri Atamaniouk
Reduced QCA1530 detection timeout as system server activitity manager gives only 20 seconds for the subsystem initialization. CRs-Fixed: 613611 Change-Id: Ib095db3f2b35765a4b9d7b0e79132e44c173d6cb
2013-10-25apq8084: qca1530 configuration handling is added.Valeri Atamaniouk
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-09-10Fix ATL handlingDante Russo
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-08-15Replace sysdev pathSatya Durga Srinivasu Prabhala
sysdev gets deprecated in 3.10 Kernel. Hence, replacing sysdev path with relevant path/s. Change-Id: I8fbb1959ba4dfba34fdac6d271e59fd25237f899
2013-08-02A mechanism to detect APQ chip setTushar Janefalkar
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-06-11Merge branch jb_mr1 into jb_2.6Dante Russo
Merged from from label AU_LINUX_ANDROID_JB_MR1.04.02.02.049.306 Change-Id: Ie2f7fd3d25f8f28f5d1b6e733974bb5f75999ee8