summaryrefslogtreecommitdiff
path: root/utils/loc_log.cpp
AgeCommit message (Collapse)Author
2019-11-29Logging buffer implemented by skip listhaohuang
Use skip list to implement a log buffer, log sentences will be inserted into this buffer once the log print function is called. the buffer will be dumped when GNSS process crash/killed or send SIGUSR1 signal manually. Change-Id: I5e23cdf30c263fa59108070c9dbfd95c49c2e9b6 CRs-Fixed: 2571326
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
2018-01-11init condition with attr CLOCK_MONOTONICBaili Feng
Use MONOTONIC time to keep consistence with pthread_cond_timedwait. CRs-fixed: 2169171 Change-Id: I25f308ff343e2f9f938275a572fbff35b659e782
2017-12-05Replace wall timeBaili Feng
Replace gettimeofday with clock_gettime CRs-fixed: 2144315 Change-Id: Ie8472d2aedcd0e63b86cc5ff100ce9bb28fd670c
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-04-28Enable LOGV for gps directoryYingjie Wang
Define LOG_NDEBUG 0 to enable VERBOSE log messages in hardware/qcom/gps Change-Id: I954cad757f13d6bac99b7a06625daa0ace84a17e CRs-fixed: 2025673
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-11-09Location: reduce memory footprintValeri Atamaniouk
Reduce memory footprint by moving data sets into const data segments. Update function parameters to accept const parameters when appropriate. CRs-fixed: 928770 Change-Id: I42955cf18de2b0541cfaed89359cdcf9ae6fea8a
2015-07-16LCA additions to ULP and log_util defines.Dante Russo
1. Add two new ulp location sources (PIP and NLP) ULP_LOCATION_IS_FROM_NLP to mark locations from NLP ULP_LOCATION_IS_FROM_PIP to mark locations from PIP 2. Introduce a macro for printing exit log with error CRs-Fixed: 694343 Change-Id: Ifa11803df2ed4fc249a5c339acfeeb5d89bf55d5
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-02-20Force logging level to warning for user buildsDante Russo
User builds should not be logging at info level Change-Id: I4e43730d52b3a322e93d61112805fa85669db243 CRs-fixed: 610927
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-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-07-03hardware/qcom/gps: Porting HAL and Loc API 2.0Satheesh Jayakumar
- Wrote makefiles, config and other files - Made code changes to minimize android dependencies Change-Id: I350de6378684f5db81a36cc4c6d014c5a8189d4c
2013-05-01MSB is not falling back to standlone.Ashwin Kumar
No support for SUPl,starting MSB it wouldn.t request a PD. Disabled the MSA and MSB for this PL. This fix is needed because this PL doesnot have a modem. Change-Id: I8fa1145db07f681c0f6e733da253f06f01f7edd6 CRs-Fixed: 471589
2013-03-18Utility to identify target HWTushar Janefalkar
Earlier this identification was done in loc.cpp This change moves that to a separate utility. Also included is a change to not return a handle to the GPS interface if the target is found to be MPQ8064. This change is a re-cherry-pick from change id - I98d5619d2e6e63711a9b56f0af2b3ddd27372871 Change-Id: I058d206c37245b44f1cf74d6065e7ce46f50baf7 CRs-Fixed: 418009
2012-12-14Merge jb into jb_2.5Dante Russo
Features ULP, IPV6, DELEXT disabled Conflicts: loc_api/Android.mk loc_api/libloc_api-rpc-50001/* loc_api/libloc_api_50001/* loc_api/loc_api_v02/* loc_api/ulp/inc/ulp.h utils/* Change-Id: I846352d0addca89d4ffc3b114b774926b23e930d
2012-11-12Utility to identify target HWTushar Janefalkar
Earlier this identification was done in loc.cpp This change moves that to a separate utility. Also included is a change to not return a handle to the GPS interface if the target is found to be MPQ8064. CRs-Fixed: 418009 Change-Id: I98d5619d2e6e63711a9b56f0af2b3ddd27372871
2012-10-27chmod uga-xIliyan Malchev
find -type f -perm +111 -name \*.[ch]\* -exec chmod uga-x {} \; Bug: 7428209 Change-Id: I991e3fb62a46f4b4cd727ef4b6a4472b4015ce33 Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-07-18gps: jb porting with qcom enhanced featuresDante Russo
based from AU_LINUX_ANDROID_ICS.04.00.04.00.205 Change-Id: I0af1da1438a136e98b59110641ce5c7714da220b
2012-07-12gps: initial merge to jbDante Russo
based from AU_LINUX_ANDROID_ICS.04.00.01.00.007 with qcom enhanced features flagged out Change-Id: I2bc03fe4447047fd7c9a7d000040dadb8bb34647
2012-07-09gps: Initial implementation of msm gps halAjay Dudani
Change-Id: Icf126a0bbb9dec414144b9b405694e41777920d5