summaryrefslogtreecommitdiff
path: root/location
AgeCommit message (Collapse)Author
2021-03-01[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sm8150p/gpsBob Badour
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: utils/Android.mk Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution to: android/1.0/Android.mk android/1.1/Android.mk android/2.0/Android.mk Added SPDX-license-identifier-BSD to: android/utils/Android.mk batching/Android.mk core/Android.mk geofence/Android.mk gnss/Android.mk location/Android.mk pla/Android.mk Added legacy_notice to: etc/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ia4a874e2820c4f700e707a2a34caad0ecb845270
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
2018-09-07support signal ID in NMEAHoss Zhou
support GPS L5, GALILEO E5 and BDS B2 in NMEA. Change-Id: I7302ec8dfabaf28832fc93206f70cd1942f48183 CRs-Fixed: 2307787
2018-08-21Merge "Add jammer indication"Linux Build Service Account
2018-08-17Add jammer indicationMike Cailean
Add AGC and jammer indication Change-Id: I93641864338beec368e7a56b3a20b158ea892202 CRs-fixed: 2239155
2018-08-13Add support for multiband dataBhavna Sharma
CRs-Fixed: 2289264 Change-Id: I5339870e8be3247b445203dad39e6f8522a64575
2018-07-23Merge remote-tracking branch 'quic/location.lnx.3.0.c5' intoBhavna Sharma
location.lnx.4.0 CRs-Fixed: 2282734 Change-Id: I5911f47d796591474eb19be527499daf758bff03
2018-07-03Merge "GPS: block CPI injection for those fixes orginate from modem"Linux Build Service Account
2018-07-03GPS: block CPI injection for those fixes orginate from modemKevin Tang
GNSS adapter to block CPI injection for CPI originates from modem. One source of the fix is QNP fix from modem. Only fixes that comes within time threshold and with latitude and longitude falls within the same proximity will be blocked. Change-Id: If67a164d1e1c75735979f048a9f8dc93f0b0a41f CRs-fixed: 2260721
2018-06-30Add a getLocationOptions() function in TrackingOptionsHarikrishnan Hariharan
Add a getLocationOptions() function in TrackingOptions to return the LocationOptions object data associated with this class. This is for use in client_api and location-hal-daemon. Change-Id: Id725e1961dc390b8dac908575bb1686b16756057 CRs-Fixed: 2270936
2018-06-27Populate some more fields for end client.Bhavna Sharma
These are the fields populated: North, East, Up velocity and their uncertainties North and East standard deviation Gps Time, Leap Sec and time uncertainty Gps Measurement usage info CRs-Fixed: 2249350 Change-Id: I8936b1c47be25fdc792322592f8ea5466a3fa6fd
2018-06-21GNSS hal: propagate position dynamics uncertaintyNaresh Munagala
Support for uncertainty of positition dynamics, including uncertainty of forward, sideward, upward accelation, and uncertainty of heading and pitch Change-Id: I33fbfd0344d4beb7eabaa629b0c0993fe368293b CRs-fixed: 2263818