Commit graph

1581 commits

Author SHA1 Message Date
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
Mike Cailean
b81c6d4955 Fixed KW issues such as uninitialized variables
Change-Id: I24093a79fe0befc4484a9538110d44f667d1cbd6
CRs-fixed: 2312583
2018-09-10 18:06:40 -07:00
Linux Build Service Account
f6ed7637c3 Merge "New GTP_MODE in izat.conf to simplify the setup of GTP" 2018-09-07 23:28:26 -07:00
Linux Build Service Account
ee99c426c5 Merge "Add null check to avoid sigsegv on shutdown" 2018-09-06 22:10:34 -07:00
Hoss Zhou
48b4e04af7 support signal ID in NMEA
support GPS L5, GALILEO E5 and BDS B2 in NMEA.

Change-Id: I7302ec8dfabaf28832fc93206f70cd1942f48183
CRs-Fixed: 2307787
2018-09-07 11:10:26 +08:00
Mike Cailean
c30e7c5e63 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

Change-Id: I4300854ead3f85758bfb37d4c47ace10f63541a0
CRs-fixed: 2307493
2018-09-06 16:09:05 -07:00
Linux Build Service Account
397570348d Merge "Accept enabled list for constellation control" 2018-09-03 02:03:11 -07:00
Linux Build Service Account
4c35d8ab49 Merge "GPS: unify buffer size passed to retrieve string with loc cfg" 2018-08-31 19:02:14 -07:00
Kevin Tang
6932fdd6cd New GTP_MODE in izat.conf to simplify the setup of GTP
Added GTP_MODE in izat.conf, replacing GTP_CELL, GTP_CELL_PROC
and GTP_WIFI

CRs-Fixed: 2301406
Change-Id: Ied2f14f6d1d01b6692cfedb69cd2a9ea18958e5c
2018-08-31 14:35:04 -07:00
Linux Build Service Account
1599e2b9f4 Merge "Fix issue with use of incorrect index in group list" 2018-08-30 18:11:28 -07:00
Saurabh Srivastava
12ab7e152f Accept enabled list for constellation control
Accept both enabled and disabled constellation
lists for IZAT Constellation Control API

CRs-Fixed: 2302898
Change-Id: Ia271efef619fc91a1457d1af7aeebcb8a8a0686d
2018-08-29 01:49:07 -07:00
Bhavna Sharma
9831975c76 Fix issue with use of incorrect index in group list
If a group is not found there is a mismatch with group count
and actual number of groups in the list leading to some
groups not getting set correctly.

CRs-Fixed: 2303952

Change-Id: Iafb3aa4e90a79b511f3d36e42583e013fd05391b
2018-08-28 13:47:03 -07:00
Kevin Tang
0a19651316 GPS: unify buffer size passed to retrieve string with loc cfg
Loc cfg parsing routines assuming that string buffer size is
LOC_MAX_PARAM_STRING. Changes are to make sure that
caller to loc cfg routine does use that buffer of size
LOC_MAX_PARAM_STRING.

Change-Id: Icecf6bf017e6dda1da0766adc746f60d471653d0
CRs-fixed: 2301437
2018-08-24 16:57:57 -07:00
Kevin Tang
033a0fa1c6 modem generated NMEA won't get reported
when NMEA_PROVIDER_MP (i.e. NMEA_PROVIDER=1 in gps.conf),
nmea is dropped at GnssAdpater::reportNmeaEvent

Change-Id: Ib200780a887589e8e495b2e012e0649aba275c5c
CRs-Fixed: 2297257
2018-08-23 10:08:10 -07:00
Dante Russo
5eff5e8ba2 Add null check to avoid sigsegv on shutdown
During shutdown, it's possible that msg task
is freed as part of shutdown before the objects
that can send messages to msg task are freed,
which can result in a sigsegv when messages are
sent during this time.

Change-Id: I8f9963de75b395ca6c9a3d484416c34682cd0821
CRs-fixed: 2300596
2018-08-22 17:37:54 -07:00
Bhavna Sharma
d2980eb906 GpsLocationExtended: Add heading rate support
Add heading rate for DRE engines to report heading rate

Change-Id: I3ea5921a0cac1b0f7efdaabc2e26d58295deda68
CRs-fixed: 2297348
2018-08-22 09:52:44 -07:00
Linux Build Service Account
3ee9378ffd Merge "Replace unsafe functions" 2018-08-22 01:12:40 -07:00
Linux Build Service Account
3379b6645d Merge "Add jammer indication" 2018-08-21 14:29:45 -07:00
Linux Build Service Account
a190b2c116 Merge "GNSS_NI_RESPONSE_IGNORE handling" 2018-08-20 18:45:20 -07:00
Linux Build Service Account
1bc192e57f Merge "Filter DataItems with suitable way." 2018-08-20 00:38:28 -07:00
Linux Build Service Account
3b52c3ac19 Merge "Add support for multiband data" 2018-08-17 19:20:37 -07:00