summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2019-05-06Set yearOfHw to 2019 if Location Privacy featureMike Cailean
is supported Change-Id: If5ee31603491c83652082ce295abfcf9c9fec511 CRs-fixed: 2446241
2019-05-05GPS exteneded: add dir name and file prefix for ext ap clientWei Chen
Add directory to be reserved for hal daemon to keep track of location client sitting on external application processor Change-Id: I192fb011c786bab1752f0e604b86041a9f4cdc33 CRs-fixed: 2436612
2019-05-01SV "in-use" flags are not being set correctly forMike Cailean
multiband enabled devices Change-Id: I875b535063c6aa6ecb713c7b6abff123d8402d62 CRs-fixed: 2443087
2019-04-30Send SUPL notification to the framework forMike Cailean
E911 sessions only (older modems) Change-Id: Icd317f6e4b042c31afc63011596689d5fb35135f CRs-fixed: 2441292
2019-04-23Update proxyAppPackageName field in nfw notificationMike Cailean
Change-Id: I993a6d9227b03626bc254675944df28cc578a6c7 CRs-fixed: 2437418
2019-04-22Merge "LocIpc derefs nullptr if stopping blocking listener"qctecmdr
2019-04-17Merge "Streamline measurements processing"qctecmdr
2019-04-15modify NMEA according to version 4.11Hoss Zhou
1.modify BDS/QZSS/NavIC system id and signal id 2.add GNS sentence Change-Id: I81c5c6806e8c4cdf2aee32415b0cfa3a3b1b0cd1 CRs-Fixed: 2432122
2019-04-08LocIpc derefs nullptr if stopping blocking listenerKevin Tang
LocIpcRunnable is created only for nonBlocking listeners. But stopListening would use LocIpcRunnable not knowing if this is a blocking or nonblocking listener. LocIpcRunnable is no longer a shared resource between the two threads. We use a copy of string to keep the needed socket name. Change-Id: Ib5c57a89f630807d6d03f3fbc698a56b9ffddf4d CRs-Fixed: 2431397
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-31add sufficient delimiter for blank GSA sentenceHoss Zhou
Change-Id: I96e7dec543a4bfb326e5c72d9e943a57d183cf87 CRs-Fixed: 2416152
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-22Merge "Improved Location NI Privacy"qctecmdr Service
2019-03-21Merge "GTP: Remove GTP-WAA and GTP AP CELL feature."qctecmdr Service
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-14Merge remote-tracking branch 'quic/location.lnx.4.0' into HEADKevin Tang
CRs-fixed: 2414738 Change-Id: Ic8d1cd5bb37d1ad26c2749e46be279942e28ac05
2019-02-25util to get get symbol from a libraryKevin Tang
Added dlGetSymFromLib() to provide a utility that dlopen()'s a library, and get the pointer to a symbol name. Change-Id: I770eaef18a61aaa458833b3ca778f44b299585f5 CRs-Fixed: 2404939
2019-02-25GTP: Remove GTP-WAA and GTP AP CELL feature.Ashish Dhiman
Remove GTP-WAA and GTP_AP_CELL feature as GTP will support only third party GTP WIFI and legacy GTP WWAN solution. CRs-Fixed: 2384327 Change-Id: Id3613bde1716542027978af30084f5e997f28b00
2019-02-20add remove api for message queueNaresh Munagala
Change-Id: I278eca90ebb50e291a1b9076caf46f41a074b1d7 CRs-Fixed: 2338245
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-11Merge "Fix build errors with libgps.utils.so"qctecmdr Service
2019-02-07Merge "Enable support for External AP build"qctecmdr Service
2019-02-07Enable support for External AP buildMike Cailean
Enable support for build on External AP without libcutils or any Android library support. CRs-fixed: 2368435 Change-Id: I978127348fd6b8d90ed5ef0a714c02437dc59ee0
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-02-01process launch switch based on vendor enhanced check is incorrectKevin Tang
Some vendor enhaced processes are not to be launched only if this is not a vendor enhanced produce. Condition incorrect. Change-Id: Ieb520d77500f78968cb78b69169b068356f880ab CRs-Fixed: 2392220
2019-01-30Fix build errors with libgps.utils.soDivya Sharma
set_sched_policy() was moved from libcutils to libprocessgroup CRs-fixed: 2390701 Change-Id: I1468dee2b30f79bcdaa4ab3144628fddc69c4e80
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-24Adding SBAS in GSV NMEASrivastava, Saurabh
Adding missing constellation handling for SBAS in GSV NMEA Change-Id: I51ce3f60fc3bf340936901b753169df34d6db5c2 CRs-Fixed: 2387458
2019-01-22Merge "make location.lnx.5.0 build for LE"qctecmdr Service
2019-01-17Merge "LocIpc could be using data member from a deleted obj"qctecmdr Service
2019-01-17make location.lnx.5.0 build for LEKevin Tang
Change-Id: Ia8c39902ae7ce532d5efa9f36058a8f3f0e0b674 CRs-Fixed: 2381679
2019-01-17LocIpc could be using data member from a deleted objKevin Tang
startListeningBlocking is meant to be called under a reader thread, which is the case if startListeningNonBlocking calls it. A LocIpc client may delete the LocIpc obj, which would trigger sending an ABORT msg to the reader thread before it is subsequently deleted, in which case, it is possible that when the reader thread comes around to process the ABORT msg, referencing the data members of the possibly stale obj would cause unpredictable behaviors. Change-Id: I441af85c04d92b6fff695c020e3e0b4bd5e90409 CRs-Fixed: 2380093
2019-01-15Merge "Fix KW P1 related issues"qctecmdr Service
2019-01-14LocIpc could be using data member from a deleted objKevin Tang
startListeningBlocking is meant to be called under a reader thread, which is the case if startListeningNonBlocking calls it. A LocIpc client may delete the LocIpc obj, which would trigger sending an ABORT msg to the reader thread before it is subsequently deleted, in which case, it is possible that when the reader thread comes around to process the ABORT msg, referencing the data members of the possibly stale obj would cause unpredictable behaviors. Change-Id: I441af85c04d92b6fff695c020e3e0b4bd5e90409 CRs-Fixed: 2380093
2019-01-09Launch platform specific processesSaurabh Srivastava
Launch processes based on whether the platform is vendor enhanced or not. Change-Id: I04c074023e631c4f5d1e16ac166612f323b7a868 CRs-Fixed: 2341030
2019-01-04Fix issue with setting of thread nameBhavna Sharma
Only first 3 chars of thread name were getting set because of incorrect length check. This change fixes the issue. CRs-Fixed: 2376235 Change-Id: Iba4ad44af2e3bfde8da8ae4efdd4b132299ae9b7
2019-01-04Fix KW P1 related issuesYingjie Wang
Change-Id: Ifc3cb9dcabf2e07439fd596b5ad33b46ea562b3d CRs-fixed: 2375836
2018-11-30PZ90 datum supportHoss Zhou
add a configuration DATUM_TYPE in gps.conf to configure datum type. Default datum type is WGS84. Change-Id: Ia8404aa5cf6d49741b9f487f8b086abd095f21ea CRs-fixed: 2338883
2018-11-27GPS NMEA: generate proper nmea during leap second transitionWei Chen
During leap second transition, the hour, minute and seconds displayed need to be in the format of 23:59:60 to denote the extra leap second Change-Id: Ice7c6f934b1251990ba26e2b7e399554a2862eb4 CRs-fixed: 2335188
2018-11-10Merge "remove LOC_MODEM_EMULATOR from gps.utils"Linux Build Service Account
2018-10-31remove LOC_MODEM_EMULATOR from gps.utilsKevin Tang
Move LOC_MODEM_EMULATOR reading out of libgps.utils, as utils is being use by the whole world, and nobody but one cares about this valude. Change-Id: I95ad52222172c3f31e8013dd4d917713392e1a4d CRs-Fixed: 2343169
2018-10-30Merge "Fix issue with app side NMEA generation for GSV"Linux Build Service Account
2018-10-26Add socket name in error log messageKatz Yamada
Change-Id: I229ce4c5bfa54df26ff00d68377dfc91cf11f5f0 CRs-Fixed: 2338533
2018-10-25Fix issue with app side NMEA generation for GSVHarikrishnan Hariharan
Handling the case when there is no signal type available as part of SV report. Change-Id: I7696f8f19b490506211c83d3d20659a69fffba66 CRs-Fixed: 2338206
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-28Merge "Fix for vertical accuracy field missing on SDK APIs"Linux Build Service Account
2018-09-21Fix for vertical accuracy field missing on SDK APIsKevin Tang
Field flag VERTICAL_ACCURACY_BIT changed definition internally in HAL, and was mapped 1 to 1 to LocHidlLocationFlagsBits. Fixed by adding a proper remapping function. Change-Id: Ida510c2b54568208ffa28e7c017f22a7f0e3f11c CRs-fixed: 2317059