summaryrefslogtreecommitdiff
path: root/location
AgeCommit message (Collapse)Author
2020-01-08Location integration API: misc fixWei Chen
1: Socket name for location integration api client to share same prefix as location client API, so HAL daemon can notify both when restarted 2: Add 2 seconds timeout for datagram socket send operation 3: Make the location api destroy more robust when callback gets updated Change-Id: If4764afc29d9e3650dd847766d412c6b4e15b2d5 CRs-fixed: 2579959
2020-01-07FR 53788: DGNSS info for SPE position and SV measurement reportWei Chen
Populating DGNSS info from SPE position and SV measurement report to be avaialble for engine plugin Change-Id: Ieeaeaef69c806410aee0abab79f896d5773da90b CRs-fixed: 2485192
2019-11-26Merge "FR 57252: GPS hal changes to allow configuration for LE target"qctecmdr
2019-11-22FR 57252: GPS hal changes to allow configuration for LE targetWei Chen
(1) runtime enable/disable TUNC (2) runtime enable/disable PACE (3) runtime enable/disable constellations (4) delete all aiding data (5) config lever arm Change-Id: I6cffd08e4c6fa45ff8d62bfef2da1156f3b61956 CRs-fixed: 2497326
2019-11-20SUPL Version for 5G and LPP Rel 15Nilesh Gharde
Change-Id: Id00ea3bfb72c88c7c68425aa8c8829579ebd6237 CRs-fixed: 2570450
2019-11-06GPS HAL: send platform power state event to modemWei Chen
Send platform power state event, suspend/resume/shutdown to modem Change-Id: I19960f5fb4935de9e4f5513abd95aed6241a2fd9 CRs-fixed: 2527622
2019-10-31GnssSv struct: make it in sync between 3.0.c5, 4.0 and 5.0Wei Chen
Make GnssSv struct in sync between 3.0.c5, 4.0 and 5.0 to allow 3.0.C5 hal daemon to work with 4.0/5.0 location client API app Change-Id: I421fc3a36055fa278ef42bca4816d07f18c75d68 CRs-fixed: 2541020
2019-10-07Enable Android sanitizersMike Cailean
Change-Id: I6724d0e171e42f779e8eed6aea126f3f69496f6d CRs-fixed: 2534375
2019-09-25Use 'subdir-objects' option in HAL configure optionsHarikrishnan Hariharan
If a source file is in a subdirectory, but the 'subdir-objects' automake option hasn't been enabled. For now, the corresponding output object file(s) will be placed in the top-level directory. However, this behaviour will change in future Automake versions, they will unconditionally cause object files to be placed in the same subdirectory of the corresponding sources. So to avoid future incompatibilities, enable the 'subdir-objects' option in location module configure options. Change-Id: If9e94c0f6fcd9922ee7f0f9d1909d5d6579a5715 CRs-Fixed: 2533108
2019-09-13Merge "Selectively send deleteAll command to engines"qctecmdr
2019-09-10Selectively send deleteAll command to enginesBhavna Sharma
Modify GNSS interface API's to accept positioning engine mask to perform deleteAll command on CRs-Fixed: 2477966 Change-Id: I54a32d76de98ba6bfa88d7fd1925c44b3079af08
2019-09-06change some of the comments that contain prohibited wordsKevin Tang
Change-Id: Iaa8009e245edbcbc5adbe2348de4a014271c0ef9 CRs-Fixed: 2504418
2019-09-05Merge "Adding one level of context swith for Geofence_add"qctecmdr
2019-09-04Adding one level of context swith for Geofence_addNilesh Gharde
Added one more context switch for geofence add command. To even out total number of the context switch as it is for remove/modify/pause command. This will prevent out of order execution of sent msg tasks. Change-Id: Icf1f39ee3526e2e45cfe3e84945f71524941069b CRs-Fixed: 2516790
2019-08-23GPS hw: report ppe/spe report with combined reportWei Chen
When DRE/PPE are also running in the system, in addition to reporitng the combined final output, add the support to report the unmodified SPE/PPE report received from the engine Change-Id: Icb636824da32b175030dfcd2b270ac8b500ff75b CRs-fixed: 2487580
2019-06-20B2A-Q "in use" bit is not correctly setMike Cailean
Change-Id: I101deb7dd449c64cc9924152d252f70fe332c2de CRs-fixed: 2472108
2019-06-19GnssAdapter: add support for ppe fix type and calibration infoWei Chen
(1) Add support to report out calibration confidence in position report (2) Update gps quality of GGA, mode indicator for GMC and VTG NMEA sentences Change-Id: Ia1aa5283deffed6638172b90a41b481c2d199229 CRs-fixed: 2438838
2019-06-17Merge "GnssLocationInfoNotification: move basic location info to top"qctecmdr
2019-06-12GnssLocationInfoNotification: move basic location info to topWei Chen
Move basic location info to top so if a new field is added to GnssLocationInfoNotification, it will not impact the basic location info. Change-Id: I362ee0f6f09c10e3df64ed6993b73a256690c38d CRs-fixed: 2468348
2019-06-10SV used in fix satellites are not updated for B2A-QMike Cailean
Change-Id: If9d6f4ff694572f22b95b3ccb6015ebcb6310ffa CRs-fixed: 2468528
2019-06-05Merge "Update SystemStatus with battery info in HealthHAL"qctecmdr
2019-06-05Update SystemStatus with battery info in HealthHALYingjie Wang
Change-Id: Ibc2157f1834eb65da48f9375e497628411a185c9 CRs-fixed: 2433570
2019-06-03Downgrade locApiStopTracking print error to debugDante Russo
On cleanup, the locApiStopTracking is called regardless if a session is active or not, where this error would be printed. This is an expected case, so it should not be an error print. Change-Id: Ieb10d159ad61a212821ef897d50d635354557cca CRs-fixed: 2461760
2019-05-09Merge "Set yearOfHw to 2019 if Location Privacy feature is supported"qctecmdr
2019-05-09Adding NAVIC supportSaurabh Srivastava
NAVIC constellation support added. Change-Id: I30a61f53089177d4e02b617dc9b785c13e2ef6ee CRs-Fixed: 2399619
2019-05-09Merge "GPS: add numSVUsedInFix in location api"qctecmdr
2019-05-06Set yearOfHw to 2019 if Location Privacy featureMike Cailean
is supported Change-Id: If5ee31603491c83652082ce295abfcf9c9fec511 CRs-fixed: 2446241
2019-05-01Gnss interface: add position injection for extended infoWei Chen
Add position injection interface with extended info, e.g.: GnssLocationInfoNotification Change-Id: I6ba8f1111d1511c7071fe358687a478b26e8f9a4 CRs-fixed: 2417450
2019-04-30GPS: add numSVUsedInFix in location apiWei Chen
Add a count in location API for number of SV used in fix Change-Id: I3b396170948fa6c93a88d0fdcf17e28eff5ed5dc CRs-fixed: 2425599
2019-04-17Merge "Streamline measurements processing"qctecmdr
2019-04-16Clean up several functions as a result of aMike Cailean
better approach in GARDEn app for Privacy Change-Id: Ia030385d5ee26305ea041258cc3fb664735983be CRs-fixed: 2424763
2019-04-10fix CFI issuesHoss Zhou
Change-Id: I5b94804c381f1d26196ddf6dee97adbee36dc128 CRs-Fixed: 2353650
2019-04-08Streamline measurements processingMike Cailean
Consolidate the translation from QMI LOC into one place in order to minimize traffic Change-Id: I73c2f25e94544a2b69d4227c63548ef11b6a4d91 CRs-fixed: 2430668
2019-03-31Merge "Add HAL support for network handle"qctecmdr
2019-03-27Batching and Geofence moved to GNSS HALDante Russo
Addition of BatchingAdapter and GeofenceAdapter. Deprecated Background LOC QMI Client and renamed LocDualContext renamed to LocContext. Moved some common Adapter functions into LocAdapterBase. Added Distance Based Tracking logic into GnssAdapter. Addition of flp.conf Deprecated GEOFENCE capabilities configuration in gps.conf CRs-fixed: 2342200 Change-Id: I6b6257c4cf296e5a8c56bc0b149e4de77cf6cdf9
2019-03-26Add HAL support for network handleKevin Tang
Add HAL support for modifications to the network status information passed in. Change-Id: I99defc6a419d9f21ce74469a1aa016cc7fade4a5 CRs-Fixed: 2397433
2019-03-21Improved Location NI PrivacyMike Cailean
Changes to be made starting in Android Q in the way that Location requests made by Location clients other than the Android FrameWork (e.g. Network Initiated AGNSS clients, modem-based clients such as MDT) are handled CRs-fixed: 2397454 Change-Id: Ibb5b9429a1ec1e14ee59d89763d8a78607997615
2019-03-18clear magic number for GPS_LOCKHoss Zhou
Change-Id: I3c1b5a18ab16382a436098f8af541bf7f125783e CRs-fixed: 2370451
2019-03-14Merge remote-tracking branch 'quic/location.lnx.4.0' into HEADKevin Tang
CRs-fixed: 2414738 Change-Id: Ic8d1cd5bb37d1ad26c2749e46be279942e28ac05
2019-02-21Measurement changes in GNSS HIDL2.0Mike Cailean
CRs-fixed: 2385560 Change-Id: I5f4548e6df0cb8ac3f2762020dfdbb49a9022854
2019-02-21SUPL over WiFi changes in GNSS HIDL2.0Mike Cailean
Change-Id: I20a2071fd748dea16cd55aa120bc307ebc0645a9 CRs-fixed: 2342192
2019-02-19Merge "New structures and handling of new data in the pipe"qctecmdr Service
2019-02-13FR47367: Location client API for External APWei Chen
(1) In location data struct, change size_t to uint32_t as size_t is machine dependent and can not be sent as part of payload to the other processor. (2) Change LocIpc ifdef to match with the file name Change-Id: Ia3f029641106a547e18904be1e3fb56ec09de569 CRs-fixed: 2367517
2019-02-06New structures and handling of new data in the pipeBhavna Sharma
1. KlobucharIonoModel 2. Additional parameters for Glonass 3. Add gps system time to ephemeris reports. CRs-Fixed: 2388931 Change-Id: Ibd08496c8eda2ce7571cbdd71ff0c179f7376aa7
2019-01-30GPS SV meas: new structure to support 10HzWei Chen
(1) revise struct of GnssSvMeasurementSet so it can be used to send only valid SV measurement via IPC (2) remove reference to COMPASS system, as COMPASS named is replaced by BEIDOU system (3) correct typo in GNSS_GLOS_MSEC_VALID to GNSS_GLO_MSEC_VALID CRs-fixed: 2337832 Change-Id: I325346fa414e3a94422cb8ab4cc5b77d6efaf485
2019-01-28LocationAPI must also be freed on destroy callBhavna Sharma
LocationAPI object instance itself must also be freed when destroy is called. CRs-Fixed: 2388028 Change-Id: Ie6e1c34e126a10ea58076c0385aecd447233c7aa
2018-11-27GPS location API: support destroy with callback for completionWei Chen
Support Location API destroy function with callback. Location API client that passes callback to Location API need to wait for the destroy complete callback to be invoked before releasing the memory that holds the callback Change-Id: I29b1c6d46feb79c789e6f1ec1500c941b022a3ac CRs-fixed: 2349398
2018-10-08FR48381: Support leap second change eventWei Chen
Support leap second change event (1) Info will be available in location api and location client api (2) Engine hub aggregator will use the info to calculate UTC timestamp Change-Id: Ie79c1a38301fa094134a4a31af424487758343f6 CRs-fixed: 2289457
2018-10-02New additions for Ephemeris and Poly handlingBhavna Sharma
1. Add new data structures to hold the Ephemeris reports. 2. Modifications to SV Poly structure to include delete flags. 3. Add SV_POLY bit to GnssAidingDataSvMask to support delete commands from modem for poly and ephemeris per constellation. 4. Define LocApiBase and LocAdapter functions to report the ephemeris content, request for complete valid ephemeris and Poly content at any time and report delete commands from modem on Ephemeris and Poly content. CRs-Fixed: 2301149 Change-Id: If36e87c410c3204c94a6ed7db30f297edba95508
2018-09-26FR47184: tunc constrained and position assisted time estimatorDante Russo
(1) Configure tunc constrained module on modem via gps.conf (2) Configure position assisted time estimator and inject DRE position with additional info to modem (3) Support get total energy consumption API by GNSS engine since device first bootup Change-Id: I1e73057df090c1d356c55a498f06eed45839ca8f CRs-fixed: 2276355