Commit graph

1451 commits

Author SHA1 Message Date
qctecmdr Service
955f05e8e7 Merge "make location.lnx.5.0 build for LE" 2019-01-22 11:12:28 -08:00
qctecmdr Service
8e9a6eacc6 Merge "Build dummy QMAA HAL to unblock framework" 2019-01-21 09:59:20 -08:00
Kevin Tang
afcf4af54e make location.lnx.5.0 build for LE
Change-Id: Ia8c39902ae7ce532d5efa9f36058a8f3f0e0b674
CRs-Fixed: 2381679
2019-01-17 14:19:04 -08:00
Kevin Tang
99e5e01b13 LocIpc could be using data member from a deleted obj
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-17 14:08:01 -08:00
Yingjie Wang
877b2e40c3 Build dummy QMAA HAL to unblock framework
Build dummy QMAA HAL to unblock framework
when BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
flag is not defined.

Change-Id: I62f71d7964e916619f0157e69a57cd83a62bba54
CRs-Fixed: 2378795
2019-01-16 13:27:33 +08:00
Saurabh Srivastava
400c1e8b57 Launch platform specific processes
Launch processes based on whether the
platform is vendor enhanced or not.

Change-Id: I04c074023e631c4f5d1e16ac166612f323b7a868
CRs-Fixed: 2341030
2019-01-09 20:32:30 -08:00
haohuang
18c99090be Qualcomm Unified Vendor - GPS
Remove remaining build flag checks in all
location vendor modules :
BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET
LW_FEATURE_SET

Change-Id: Ideacd3ae7f6a49ff3da3ca8cd14668c01400484a
CRs-Fixed: 2341041
2019-01-09 20:31:40 -08:00
Dante Russo
2f34b1ab42 Merge location.lnx.4.0 into location.lnx.5.0
Fastforward from location.lnx.4.0

Change-Id: I08144304a318a075ba27f6b3dc5947606ffcbcef
2018-12-18 14:14:30 -08:00
Hoss Zhou
3203504a28 PZ90 datum support
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-30 16:07:06 +08:00
Linux Build Service Account
372ec44be0 Merge "GPS location API: support destroy with callback for completion" 2018-11-28 20:43:25 -08:00
Wei Chen
e232986d84 GPS location API: support destroy with callback for completion
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-11-27 17:07:19 -08:00
Wei Chen
730abcc3d4 GPS NMEA: generate proper nmea during leap second transition
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-27 14:46:25 -08:00
Linux Build Service Account
9b0abcc59d Merge "Remove XTRA URLs from gps.conf" 2018-11-27 02:05:22 -08:00
Ankur Sharma
dca1724d17 Remove XTRA URLs from gps.conf
Remove default URL's for XTRA from gps.conf

CRs-Fixed:2355372

Change-Id: Iea1caa42e8cd4f84a0d37bb6bcd69655609d368d
2018-11-23 18:18:11 +05:30
Linux Build Service Account
148b0dd3b2 Merge "Request for a data item value is not handle by SSO" 2018-11-21 03:28:15 -08:00
Linux Build Service Account
80b5ce40d7 Merge "Invoking dlclose in error case" 2018-11-20 11:57:01 -08:00
Harikrishnan Hariharan
06d7e5bbba Request for a data item value is not handle by SSO
Subscribe for a data item first time adds the DI to internal
SSO client list. When the request comes for after this, since
item is already added, dataItemsToSubscribe will be empty. So
the code for request value for DI is not invoked. Handle this
scenario in SSO.

Change-Id: Ife04fe4eedc9b3132e7967f781b0e29ac41c01e7
CRs-Fixed: 2347338
2018-11-20 14:17:58 +05:30
Linux Build Service Account
272be96747 Merge "Lowered the severity of debug message" 2018-11-17 08:16:37 -08:00
Saurabh Srivastava
b00c1c26c9 Invoking dlclose in error case
Invoking dlclose for loc_net_iface
library dlopen call in error case.

Change-Id: Ib8d4b05904214ebaa83608309679bc055bd7abe5
CRs-Fixed: 2347372
2018-11-15 22:33:51 -08:00
Mike Cailean
d6b0854a70 Lowered the severity of debug message
Lowered the severity of debug message when
setting callback function for geofencing

Change-Id: I2bbd0648d1dba5d7d655545bb0487223dbccb9cb
CRs-fixed: 2347777
2018-11-13 16:36:26 -08:00
Linux Build Service Account
0056afe9bd Merge "remove LOC_MODEM_EMULATOR from gps.utils" 2018-11-10 00:22:49 -08:00
Madhanraj Chelladurai
512388f806 gps: add include files for LA compilation
add include files for LA compilation

Change-Id: I2781337a7b5d50eaaada20bcf2a6bfb97095749d
CRs-Fixed: 2344727
2018-11-05 14:53:17 +05:30
Kevin Tang
84a25954a7 remove LOC_MODEM_EMULATOR from gps.utils
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-31 22:31:03 -07:00
Linux Build Service Account
b8ebd13693 Merge "Initial Android target definition for trinket" 2018-10-31 02:04:37 -07:00
Linux Build Service Account
6020990bda Merge "Fix issue with app side NMEA generation for GSV" 2018-10-30 19:02:52 -07:00
Mohit Sharma
831ea96a23 Initial Android target definition for trinket
CRs-fixed: 2339147

Change-Id: I295f393ca721c92003f2dfd726861b63e4e1e977
2018-10-29 15:53:41 -07:00
Katz Yamada
f3b1394b15 Add socket name in error log message
Change-Id: I229ce4c5bfa54df26ff00d68377dfc91cf11f5f0
CRs-Fixed: 2338533
2018-10-26 15:01:44 -07:00
Harikrishnan Hariharan
7ba7e62c05 Fix issue with app side NMEA generation for GSV
Handling the case when there is no signal type available as
part of SV report.

Change-Id: I7696f8f19b490506211c83d3d20659a69fffba66
CRs-Fixed: 2338206
2018-10-25 13:48:47 +05:30
Wei Chen
21b9c4e47e FR48381: Support leap second change event
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-08 12:26:06 -07:00
Katz Yamada
5b53be1d9e perf: Reduce NMEA traffic over client IPC
Improve hal daemon performance by reducing
number of NMEA callbacks on IPC. Position and
sv NMEA sentences, generated during one TBF
will be concatenated by hal and sent over
one IPC, then client lib disassemble it into
multiple sentences.

Change-Id: I522e293d7e26fb8a25edb6ed931c4d69186223e8
CRs-Fixed: 2299008
2018-10-05 16:26:02 -07:00
Linux Build Service Account
837f245997 Merge "New additions for Ephemeris and Poly handling" 2018-10-05 12:51:44 -07:00
Harikrishnan Hariharan
2f80dcc30c Handling network types not available in IAgnssRil enums
Handling network types not available in IAgnssRil enums like
Bluetooth, Ethernet, Proxy etc. Pass these network type info
to framework, rather than sending the default TYPE_UNKNOWN.

Change-Id: I7e997b82b07ca68d928bef322182031a2d47e532
CRs-Fixed: 2325210
2018-10-03 04:15:35 -07:00
Linux Build Service Account
bafbd51852 Merge "Set SV in use mask based on final fixes" 2018-10-03 01:49:41 -07:00
Linux Build Service Account
1bfed36166 Merge "Add gnss hal 1.1 support for new target" 2018-10-02 21:36:43 -07:00
Bhavna Sharma
5a8d171181 New additions for Ephemeris and Poly handling
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-10-02 09:26:43 -07:00
Dante Russo
b95f55fbed Add gnss hal 1.1 support for new target
Support for gnss hal 1.1 on new target
msmsteppe

Change-Id: I0e078ba434d6bc1bc0040386c153c8420c028968
CRs-fixed: 2326090
2018-10-01 11:53:01 -07:00
Mike Cailean
6700088d79 Set SV in use mask based on final fixes
Do not set SV in use mask based on intermediate
position update from modem since it might contain
stale information. Reset the flag indicating SV
are used in fix for intermediate fixes.

Change-Id: I10a324a160b20a6ced94c689acf9fc9d77f6e826
CRs-fixed: 2318041
2018-10-01 09:56:09 -07:00
Linux Build Service Account
9ae180b913 Merge "Fix for vertical accuracy field missing on SDK APIs" 2018-09-28 15:12:46 -07:00
Linux Build Service Account
b18e6f9b8c Merge "FR47184: tunc constrained and position assisted time estimator" 2018-09-28 10:36:11 -07:00
Dante Russo
2bef34e8b2 FR47184: tunc constrained and position assisted time estimator
(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-26 14:17:30 -07:00
Harikrishnan Hariharan
352ffcb3c5 Pass Framework Action request object to HandleTurnOn msg task
Currently Sys Status OS Observer object was being passed, due
to which actual turn on functionality in Framework action
request object was not being invoked.
Implement equals for SystemStatus class for BT scan device data
so that it is handled correctly in setIteminReport.

Change-Id: Ie7f24a1eaf886a2402698489bfd1d0ddc34585cf
CRs-Fixed: 2321041
2018-09-24 00:21:04 -07:00
Kevin Tang
935c00192e Fix for vertical accuracy field missing on SDK APIs
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
2018-09-21 14:52:32 -07:00
Linux Build Service Account
e183c75151 Merge "support signal ID in NMEA" 2018-09-18 14:50:35 -07:00
Madhanraj Chelladurai
2ed4407e7c gps: use common compilation flag for the same functionality
modify the compilation flag to be in alignment with the location
services library

Change-Id: Ie65e6e803c50524c0913b1475edbf556a5b7f207
CRs-Fixed: 2299356
2018-09-17 11:27:39 -07:00
Linux Build Service Account
4140f7235e Merge "Decouple Gnss Hidl impl into 1.0 and 1.1 version" 2018-09-16 05:42:08 -07:00
Linux Build Service Account
ee2ccdb172 Merge "Fixed KW issues such as uninitialized variables" 2018-09-16 02:35:30 -07:00
Linux Build Service Account
5fc1941ef6 Merge "Added support for USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL" 2018-09-14 23:53:02 -07:00
Yingjie Wang
a9049e3aeb Decouple Gnss Hidl impl into 1.0 and 1.1 version
Decouple Gnss Hidl implementation into 1.0 and 1.1 version.
msmnile and later targets would use gnss hidl 1.1, and older
targets would use gnss hidl 1.0

Change-Id: I31fdf932ce55a0547ff69fc3d28dae1d001e8d56
CRs-fixed: 2311903
2018-09-14 15:24:14 +08:00
Mike Cailean
b5fac5c635 Added support for USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL
CRs-fixed: 2314577

Change-Id: I64969dfa47860d963ca0682948fb784ca47000c5
2018-09-12 17:40:56 -07:00
Linux Build Service Account
b64feb2b73 Merge "Set SV in use mask based on final fixes" 2018-09-11 23:21:14 -07:00