summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-10-21Revert "Enable protected dynamic interface control"Harikrishnan Hariharan
This reverts commit cf4eac65570a43c797a00abb68779f4757426499. Change-Id: I259635cec8f03c2354d1b1537a1d9cc136b7bcaa CRs-Fixed: 3313257
2022-07-20Enable protected dynamic interface controlNilesh Gharde
Changes to Enable protected dynamic interface control. Added support to 1. Get the engine lock state. 2. Handle engine lock state event. 3. Store all the sessions when the engine is locked. 4. Restore all the sessions when the engine unlock event is received. Change-Id: I70e591a6dca2231fb762ef199d0d34f852198116 CRs-fixed: 3130222
2022-02-12Merge "move geoidal separation calculation to AP"qctecmdr
2021-12-09move geoidal separation calculation to APKevin Tang
add getGeoidalSeparation in LocApiBase Change-Id: If0ee3660b515adb48302d3ae033d73d5ed8f405d CRs-Fixed: 3062671
2021-10-28Fix an issue in SystemStatusNetworkInfo DataItemhaohuang
the equals function cannot work fine due to an issue in mApn string comparison. Fix this issue. Change-Id: Idbe430e2209b9a2c119532dee23d6074b1ca0b19 CRs-Fixed: 3010278
2021-10-04Increasing boot_time and real_time acceptable variationSaurabh Srivastava
Increasing acceptable delta between boot time and real time used while computing location elapsed realtime in order to accomodate older targets. CRs-Fixed: 3049971 Change-Id: I5e3fff76c9fe5d0bc7cb2abda700ea20ac75d63c
2021-09-03Fixes ubsan shift-out-of-bounds SIGABRTDante Russo
There are now global sanitizers that will be applied to all modules, so we no longer need to decalre local sanitizer options. One of the local sanitizer options caused a ubsan shift-out-of-bounds SIGABRT in several location modules in code that does not appear to have anything problematic with it. CRs-fixed: 2898374 Change-Id: Icb7e3b2cf35be7c0a945eff16cea2b3a4f30e4a8
2021-09-02Correct equals() for SystemStatusNetworkInfoYingjie Wang
Check more fields to identify NetworkInfo, i.e. NetworkHandle and Apn; Add debugging log print for xtra. Change-Id: Ie4a28b1e4feaccbb9ef7ca806248521842a47a2e CRs-fixed: 2926382
2021-01-18Reslove one overflow issue in LocApiBasehaohuang
Overflow will happen on 32 bit platform in getCurrentTime function in LocApiBase. Fix this issue. Change-Id: I6c2c1222efdcc06ec9520a3154e535f50979ef7f CRs-Fixed: 2853405
2021-01-07Merge "default internet ATL handler implementation"qctecmdr
2021-01-06default internet ATL handler implementationNilesh Gharde
default internet ATL handler, to handle ATL request for AGPS_ATL_TYPE_WWAN. This implemntaion will be common for Android based platform(LA/Kaios) Change-Id: I5b93ee14706b90450a7200567ea6f0009b54e825 CRs-fixed: 2813900
2021-01-04Fix one mul-overflow issuehaohuang
When minInterval is set to 5s or larger, mul-overflow will happen when we convert minInterval from second to nano second in getElapsedRealtimeEstimateNanos function. Change the type of time between fix parameter to int64_t. Change-Id: Ifbe180b35298b78099daf496354086d5e3403e7b CRs-Fixed: 2848319
2021-01-02Merge remote-tracking branch 'quic/location.lnx.4.0' into HEADKevin Tang
Change-Id: I26bfb7e728aa24ea4372d78c3b931dc82cb90f45 CRs-Fixed: 2847145
2020-12-28Merge "Fix case where Emergency SUPL NI should be denied"qctecmdr
2020-12-28Merge "FR 67139: re-instate GTP WWAN support"qctecmdr
2020-12-23FR 67139: re-instate GTP WWAN supportWei (GPS SD) Chen
1: Add support to enable/disable network provider in location client 2: Add support to start/stop network session in location client 3: Add needed data types Change-Id: I26f02bdd36c7aa1d8de7528b411a3fb7b197e378 CRs-fixed: 2808640
2020-12-11Fix case where Emergency SUPL NI should be deniedDante Russo
Emergency and non-emergency SUPL NI Requests should be denied under the following conditions: - Device is NOT in an Emergency Call Session - NI Request does NOT have Privacy Override - NFW is locked - Config item NI_SUPL_DENY_ON_NFW_LOCKED = 1 Also, config item NI_SUPL_DENY_ON_NFW_LOCKED is set to 1 (true) by default Change-Id: If66107fdbbefc2438e9fa2adf958f7750c08c1db CRs-fixed: 2581083
2020-12-11Add NI_SUPL_DENY_ON_NFW_LOCKED configurationDante Russo
If an NI SUPL Request that does not have Privacy Override option comes when NFW is locked and config item NI_SUPL_DENY_ON_NFW_LOCKED = 1, then deny it Change-Id: I0a769c4696751069d5a034dde8569ecfcf63b41a CRs-fixed: 2550126
2020-12-11SUPL-2.0-con-034-1/2 test case failsMike Cailean
SUPL-2.0-con-034-1/2 Fail because Emergency-NI did not check inprogress session Change-Id: I377955c455830bf3bb7cb7fe05d45c4536dabfbc CRs-fixed: 2483780
2020-12-11Process CP_MTLR in emergency in different conditionsMike Cailean
Prcess CP_MTLR based on a new configuration item Change-Id: I9351f574f0b1a4bad2b88f2627ab188ac1522e92 CRs-fixed: 2444954
2020-12-01A new class to estimate ElapsedRealTime in LocApiBasehaohuang
1, Implement a method to estimate ElapsedRealTime if Qtimer is not valid. This method uses a default initial value and AP boot time/UTC time and Modem gps time/Measurement time. 2, Move the ElapsedRealTime calculation & estimation from Hidl API layer to LocApiV02 layer. Change-Id: I523d64d00d488cca0c053f9c636c34b01214f1a9 CRs-Fixed: 2817942
2020-11-24HAL : Merge branch 'location.lnx.4.0' into location.lnx.6.0Kevin Tang
Change-Id: I27237b9c9fa57501d86d5cbfd2f2e07bc1fe2ffb CRs-Fixed: 2824338
2020-11-17add nmea tag block grouping featureHoss Zhou
Tag Block grouping is used to report more than 12 SVs in GSA. It is controlled by item NMEA_TAG_BLOCK_GROUPING_ENABLED in gps.conf and only applicable to GSA. Change-Id: Id9b89af96419c179554ce9f5c8d702f19153ed32 CRs-Fixed: 2813599
2020-11-13Report Qwes feature capabilities to LCANaresh Munagala
- Add Qwes CapabilitiesMask to LocationCapabilitiesMask. Also update type to uint64 to make it future proof. - Update capabilities based on Qwes feature type information from engine hub or modem. Change-Id: I4101255d2b4843358f773014893f61a61439af24 CRs-Fixed: 2807083
2020-11-02GPS HAL: support runtime DR engine supsend resumeWei (GPS SD) Chen
Support runtime request to put DR engine to pause/resume stae CRs-fixed: 2791432 Change-Id: I9f6c445b8df0f67e69e5962c60111913d2d95fc9
2020-10-15Framework for measuring latencyMike Cailean
Building an approach to instrumenting and tracking the processing latency distribution within the Loc Tech GNSS system CRs-fixed: 2684481 Change-Id: I469546fbb02b190e9cb82b7b94cbb63771844fd6
2020-09-29Merge "Fix the issue that updateNetworkAvailability not work"qctecmdr
2020-09-20LocApi* fixes and clean upKevin Tang
Removed setXtraData and installAGpsCert that are not used; and corrected getGnssEnergyConsumed and setMeasurementCorrections from using the wrong thread context. Change-Id: Id2a0e9dcc67edaaacf4f1a5e7e210700cd82ef6b CRs-Fixed: 2782006
2020-09-21Fix the issue that updateNetworkAvailability not workhaohuang
updateNetworkAvailability in location client API doesn't work on location.lnx.6.0. Fix this issue. Change-Id: I609f9420f4dd1caa5f3fe9ce8fa8dff8c17a4ed5 CRs-Fixed: 2781046
2020-09-13Merge "Reset cached NetworkInfo when AFW shutdown"qctecmdr
2020-09-09gps.utils changesKevin Tang
* Replaced the use of pthread in the implementation of LocThread with std::thread. * Removed the support of joinable thread from LocThread API, as it is never needed. * MsgTask no longer derives from LocRunnable, so that it can be directly deleted by ownerer. * Removed tCreator from LocThread::start() as well as LocContext::getLocContext(). * Placed utils classes under loc_utils namespace. Change-Id: Ia6b29debbf92c48aa643574b1d3789da686f5c73 CRs-Fixed: 2770806
2020-09-07Reset cached NetworkInfo when AFW shutdownYingjie Wang
Reset all the cached NetworkInfo in SystemStatus as disconnected when framework shutdown. Change-Id: I4b8fdea07bd705479a98de8f3ab606a246e153f5 CRs-fixed: 2771438
2020-08-31Fix UBSan issue in SystemStatusNetworkInfoYingjie Wang
Remove typeCount-- to avoid potential sub overflow from 0 to 0xFF. Change-Id: I1a660166f759616ce585f5c51a18df9d9a9d6bcb CRs-fixed: 2740438
2020-08-29Merge "Fix flawed logic for environment aiding feature"qctecmdr
2020-08-25Merge remote-tracking branch 'quic/location.lnx.4.0' into HEADKevin Tang
Change-Id: I38b71e771ba831f218636cb7f0a5e1f616d0fa1f CRs-Fixed: 2762827
2020-08-25Fix flawed logic for environment aiding featureMike Cailean
Environment aiding has to be injected only when SAP is PREMIUM_ENV_AIDING. The logic to determine this is flawed. CRs-fixed: 2762826 Change-Id: I4b994de4e954f30ecb663858070b93019b85ad4c
2020-08-11Support baseband C/N0 in SV info for older modemsMike Cailean
Change-Id: Icde372b4fccbc1e8755cce2ef9bae83bba3a860a CRs-fixed: 2745636
2020-08-06GPS HAL: support config multi-band of GNSS constellationWei (GPS SD) Chen
Configure multi-band of GNSS constellation and retrieve the constellation configure Change-Id: I8d37c1478c74d5742b4d59ec8ce773b5d073b576 CRs-fixed: 2723496
2020-08-05GPS HAL: generic method to support DR engine config and etcWei (GPS SD) Chen
(1) support vehicle speed and gyro scale factor and uncertainty (2) support removal of sensor calibration data from DR engine Change-Id: I411fac8d5f3218b475e4a1f05141154aa557fe7e CRs-fixed: 2733256
2020-06-24Merge "Enable new LPP Profile options for 5G"qctecmdr
2020-06-22Enable new LPP Profile options for 5GDante Russo
Change LPP Profile options from enum to bitmask to allow for more bit options to be added. Added two new bits for LPP Profile, User Plane 5G and Control Plan 5G. Change-Id: I058738e50f4bfb69f4966082890ec8b8ed8f1abc CRs-fixed: 2605663
2020-06-16Enable NMEA Print using a configuration.Santoshkumar Zalake
NMEA print can be enabled or disabled using "ENABLE_NMEA_PRINT" configuration of gps.conf. CRs-Fixed: 2689984 Change-Id: I559412ccdbe213708c27e0fe284a70b257807581
2020-06-11Merge "Remove XTRA version check."qctecmdr
2020-06-09Remove XTRA version check.Kevin Tang
Remove legacy XTRA version check as it is deprecated. Update the xtra time url. CRs-Fixed: 2684513 Change-Id: I8566d367c6a7ccebf295836b4c8d46509a428044
2020-06-04Precise Location LocationAPI changesJoaquins
Implementation of Precise Location new API in LocationAPI layer. Change-Id: I5e2cfedb41ae3b2068050847bcb3d6eb4abad250
2020-06-03Merge "Merge remote-tracking branch 'quic/location.lnx.4.0' into HEAD"qctecmdr
2020-06-02Merge remote-tracking branch 'quic/location.lnx.4.0' into HEADKevin Tang
Change-Id: I1dd436b87ba1c6b19a223807178af72f8c4ff337 CRs-Fixed: 2699984
2020-06-02Merge "Set onDemandCpi flag for all odcpi injections"qctecmdr
2020-06-02Merge "Gnss adapter: support setting min SV elevation angle"qctecmdr
2020-05-31Merge "Support robust location info report via LOC HIDL API"qctecmdr