Commit graph

1409 commits

Author SHA1 Message Date
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
Mike Cailean
4599ab400c Replace unsafe functions
Replace strncpy with strlcpy

Change-Id: Iade6b1201db75fb15da37431183cb372cd1ad41a
CRs-fixed: 2298929
2018-08-17 10:29:48 -07:00
Mike Cailean
75cfd43bfd Add jammer indication
Add AGC and jammer indication

Change-Id: I93641864338beec368e7a56b3a20b158ea892202
CRs-fixed: 2239155
2018-08-17 09:15:20 -07:00
Baili Feng
de454e21f6 Filter DataItems with suitable way.
We should carefully modify unordered_set when traversing it.
Update the iterator with the return value of erase function.

Change-Id: I777f42b077502f617a513128db9a4f3b7c9a322c
CRs-Fixed: 2288358
2018-08-16 19:11:13 +08:00
Kevin Tang
a030bf9baa GNSS_NI_RESPONSE_IGNORE handling
GNSS_NI_RESPONSE_IGNORE inaverdently mapped to NO_RESPONSE,
which is a different reponse code. The two should be handled
differently.

Bug: 111770241
CRs-Fixed: 2296845

Change-Id: If2697f51c07a0272841709bfca247daaa4e963b6
2018-08-14 21:35:21 -07:00
Linux Build Service Account
329de0d44f Merge "SAP:update SENSOR_CONTROL_MODE configuration" 2018-08-14 03:46:00 -07:00
Bhavna Sharma
2124941746 Add support for multiband data
CRs-Fixed: 2289264

Change-Id: I5339870e8be3247b445203dad39e6f8522a64575
2018-08-13 11:18:18 -07:00
Linux Build Service Account
4088ca58bc Merge "Disable GTP CELL and GTP WAA feature." 2018-08-10 02:21:30 -07:00
Katz Yamada
8a752aa1b3 Systemsatus - add support older version of PQWME
Add support of older (shorter) version of PQWME
strings from modem. Systemstatus currently discards
those shorter strings. This change is to fill out
all zeros in those missing fields instead of
discarding the whole sentence.

Change-Id: I31c42b6de53c3002f598cfd815304086bba056f9
CRs-Fixed: 2153513
2018-08-08 20:42:19 -07:00
Ashish Dhiman
f8f7e876e3 Disable GTP CELL and GTP WAA feature.
Disable GTP_CELL and GTP WAA feature as it will not work with
GTP_AP_MODE 4

CRs-Fixed: 2288722
Change-Id: I88cbb05030c1588fb2be30c3de41839208bb14c0
2018-08-08 04:07:02 -07:00
Hoss Zhou
4bab73548d Fix: Xtra connection initialization issue
HAL sends an empty field to Xtra when connections
is not updated.

Change-Id: I42c456581a1a968887880154f1ffffee12421354
CRs-Fixed: 2259165
2018-08-06 14:17:12 -07:00
Hoss Zhou
f2f6ca70c5 SAP:update SENSOR_CONTROL_MODE configuration
set SENSOR_CONTROL_MODE to MODEM_DEFAULT to make INS
use its default setting.

remove SENSOR_PROVIDER and SENSOR_USAGE.

Change-Id: I99d48d4600a6bca8e64ae0d1ff065af762888b2e
CRs-Fixed: 2285242
2018-08-05 14:52:50 -07:00
Linux Build Service Account
6f17924602 Merge "Skip position filtering for telematics" 2018-08-05 05:29:31 -07:00
Linux Build Service Account
230751d957 Merge "Cache the SUPL server and port on each update" 2018-08-03 10:05:06 -07:00
Dante Russo
12b3302094 Skip position filtering for telematics
When engine hub is loaded, e.g.: if any of the
engine services are enabled in izat.conf, position
filtering is skipped and all position (valid or
invalid) will be reported to requesting client

Change-Id: Idc340478c977d8da441211d4c81580987b0f4a29
CRs-fixed: 2290155
2018-08-02 14:34:57 -07:00
Linux Build Service Account
148224c378 Merge "Delete LocApiBase and derived class on msgTask thread" 2018-07-31 04:01:57 -07:00
Kevin Tang
a8f926020f Delete LocApiBase and derived class on msgTask thread
Direct delete of the API obj on caller thread could result
in a race condition that caller still has close() or other
handling running at the same time the API object is being
or already deleted.

CRs-Fixed: 2275383

Change-Id: I5d3de204befec3c22c73cece8516e90800abbd35
2018-07-30 16:17:37 -07:00
Bhavna Sharma
2a005b5816 Cache the SUPL server and port on each update
CRs-Fixed: 2286256

Change-Id: I7adb584ff6f81c6a7f50f5ec4e9a4a094414e297
2018-07-30 12:23:12 -07:00
Linux Build Service Account
19c10059bc Merge "Added FDCL_2 feature support bit" 2018-07-27 07:45:39 -07:00
Dante Russo
26e542da6d Modify ODCPI timer from 30s to 10s
ODCPI timer is modified to match location
request duration that was changed from 30s
to 10s in frameworks.

Change-Id: If1380635b0b87d55bf9a00197b806b3de48b6f4f
CRs-fixed: 2282588
2018-07-25 17:29:31 -07:00
Kevin Tang
6a12f3743f Added FDCL_2 feature support bit
Added FDCL_2 feature support bit

Change-Id: Icae2cf89f06f8d1d8d87c8115fe8efce9ccc566a
CRs-Fixed: 2191059
2018-07-25 16:40:28 -07:00
Linux Build Service Account
04f0a9a45d Merge "Merge remote-tracking branch 'quic/location.lnx.3.0.c5' into location.lnx.4.0" 2018-07-24 21:53:37 -07:00
Dante Russo
06d93da4a1 Deprecate reading of ro.lean property
ro.lean property is no longer used, so remove
reading logic of this property. If ro.lean is
added in the future, it will need vendor prefix.
Change-Id: I6b5e891f6d59c0809f9136541bbfb6696cbf4d5a
CRs-fixed: 2282702
2018-07-23 17:58:04 -07:00