Commit graph

1687 commits

Author SHA1 Message Date
Saurabh Srivastava
3b4814e386 Use getVendorEnhancedInfo API
Change of API for vendor enhanced
framework detection

CRs-Fixed: 2496231
Change-Id: Iaf173615f8fe847a8b5d5ed71602d933febb31d1
2019-07-24 09:37:03 -07:00
qctecmdr
eb3b1419e3 Merge "Add support for MB SV Poly fields" 2019-07-22 21:47:06 -07:00
qctecmdr
a803a67ad7 Merge "modify QZSS SVID according to NMEA spec 4.11" 2019-07-22 15:36:14 -07:00
qctecmdr
3e3390bbd5 Merge "Drop SUPL URL dup check in set and update command" 2019-07-18 09:49:38 -07:00
Hoss Zhou
f48758a922 modify QZSS SVID according to NMEA spec 4.11
Change-Id: I7c82c210174076f9620b52cfb749a4c73824ffdf
CRs-Fixed: 2473699
2019-07-17 12:30:24 +08:00
Bhavna Sharma
903040f8c2 Add support for MB SV Poly fields
CRs-Fixed: 2478704

Change-Id: I95bcfa28989d65e3c75a761b51d778606fca61c4
2019-07-16 11:08:22 -07:00
qctecmdr
dadd76fd33 Merge "Enable GTP_WAA feature" 2019-07-16 02:31:30 -07:00
qctecmdr
e001a71efd Merge "Enable TARGET_USES_QMAA flag and remove dummy hal" 2019-07-15 21:51:11 -07:00
Yingjie Wang
a66440949c Drop SUPL URL dup check in set and update command
Get rid of Supl url duplication check both in setConfig
and updateConfig commands. Also clean gnssUpdateConfig()
params

Change-Id: I432995a44c08192955bd50630649120933006ff9
CRs-fixed: 2487784
2019-07-16 08:18:17 +08:00
Mike Cailean
1608ffb38b SUPL-2.0-con-034-1/2 test case fails
SUPL-2.0-con-034-1/2 Fail because Emergency-NI
did not check inprogress session

Change-Id: I377955c455830bf3bb7cb7fe05d45c4536dabfbc
CRs-fixed: 2483780
2019-07-15 10:41:58 -07:00
Yingjie Wang
2b5e2c4ab5 Enable TARGET_USES_QMAA flag and remove dummy hal
Add check for TARGET_USES_QMAA_OVERRIDE_GPS and
TARGET_USES_QMAA flag to enable minimal QMAA
Gnss HAL;
Remove Dummy Hal as TARGET_USES_QMAA flag could
turn off gps hal

Change-Id: I7ee23f869bd452f7b40ae8b3c339c0ef60fcdc84
CRs-fixed: 2379305
2019-07-12 10:24:49 +08:00
qctecmdr
8cb4f9cf02 Merge "Revert "Remove support GNSS HIDL 1.1 for legacy devices"" 2019-07-11 09:45:12 -07:00
Dante Russo
a88f092086 Revert "Remove support GNSS HIDL 1.1 for legacy devices"
This reverts commit 974fedbe
Legacy devices must support GNSS HIDL 1.1 afterall
to avoid failure of VtsTrebleFrameworkVintfTest
and VTS test for GNSS HIDL 1.1 are being changed
to support legacy devices that do not support
features Blacklisting and Power Modes.

Change-Id: I2ad0776295979d5cddcfa0f76692253d7c084fd2
CRs-fixed: 2487572
2019-07-10 13:05:41 -07:00
qctecmdr
a4c0207725 Merge "Add XSSO support for multiple network handles" 2019-07-09 10:25:05 -07:00
qctecmdr
aa472f84f7 Merge "Remove support GNSS HIDL 1.1 for legacy devices" 2019-07-08 20:11:09 -07:00
Kevin Tang
95ee8899c9 Add XSSO support for multiple network handles
Add support in HAL for multiple network handles
with same type.

Change-Id: Idc9e6fc1c7876dc868264500d60a5d086ab003b0
CRs-Fixed: 2477395
2019-07-08 11:17:06 -07:00
Ashish Dhiman
14cba9c544 Enable GTP_WAA feature
CRs-Fixed: 2469727
Change-Id: Ib9d47e1a2778fd9ee574ff03290c59d7b2514087
2019-07-08 11:19:35 +05:30
qctecmdr
86cf3280bd Merge "Remove redundant LocPosTechMask definition" 2019-07-07 04:51:00 -07:00
Yingjie Wang
18eb6db486 Remove params duplicate check for DSDS issue
Filtering duplicated updates causes issues to parameters
that have multiple copies in the modem. Remove the check.

Change-Id: I3e62bdee0f5d2a4dd005e3ab5a31f14109213d95
CRs-fixed: 2481714
2019-07-04 05:57:01 -07:00
Yingjie Wang
23e09131f9 Remove redundant LocPosTechMask definition
Change-Id: I0de0413b31ff12def49f459f2d2993c354e99aa9
CRs-fixed: 2484085
2019-07-04 10:49:38 +08:00
Dante Russo
974fedbeaf Remove support GNSS HIDL 1.1 for legacy devices
Legacy devices are failing VTS Test for GNSS HIDL
1.1 because they do not support some of the
features, like Black Listing and Power Modes,
that are enforced through VTS testing.
Removed declaration of 1.1 support in vendor
manifest fragment to avoid the VTS test for
GNSS HIDL 1.1 from running.

Change-Id: Ife66490351ca54a5feaa7a369b519c9794254a5c
CRs-fixed: 2484196
2019-07-03 16:17:06 -07:00
qctecmdr
526cdba778 Merge "Send abort msg explictly to loopback address" 2019-07-03 10:26:16 -07:00
Yingjie Wang
18d9283e40 Fix updateConnectionStatus call in gnss hidl 1.0/1
Change-Id: I4c3b66ec440c982714ccd7a3f6111319ad1601fb
CRs-fixed: 2480731
2019-06-28 12:49:52 +08:00
qctecmdr
60403cd1da Merge "Fix SV in use mask isn't correct for multiband SVs" 2019-06-26 21:11:11 -07:00
Bhavna Sharma
5f21e4fdef Send abort msg explictly to loopback address
To abort inet receiver thread, an abort
message must be sent explictly to loopback address.
For reciever to receive abort message it must be
open to receive messages on INADDR_ANY and not
just specific IP address.

CRs-Fixed: 2462833

Change-Id: I9ab3266d582bc774655fcabfc086dab33010f7d8
2019-06-26 15:23:13 -07:00
qctecmdr
8d4a16cef0 Merge "Add validity bit and field for Glonass system RTC" 2019-06-26 10:46:13 -07:00
qctecmdr
415a99dd28 Merge "Do not clear callbacks during gnss hidl cleanup()" 2019-06-25 09:20:16 -07:00
qctecmdr
530ab0a959 Merge "B2A-Q "in use" bit is not correctly set" 2019-06-24 21:46:33 -07:00
Bhavna Sharma
9fbe4b70ca Add validity bit and field for Glonass system RTC
CRs-Fixed: 2447850

Change-Id: I45daa7c5415a897c12c107b9eb3e2451e43155b7
2019-06-24 12:01:32 -07:00
qctecmdr
59496905e8 Merge "fix nmea GSV/GNS/GSA issues" 2019-06-23 04:06:56 -07:00
qctecmdr
f6d6e1bf49 Merge "NV is not set to blank when SUPL_HOST is set to NONE" 2019-06-22 20:10:25 -07:00
qctecmdr
c6c14839e4 Merge "Add B2A-Q support in NMEA messages" 2019-06-21 20:06:40 -07:00
Mike Cailean
90cbefa017 B2A-Q "in use" bit is not correctly set
Change-Id: I101deb7dd449c64cc9924152d252f70fe332c2de
CRs-fixed: 2472108
2019-06-20 11:01:31 -07:00
Wei Chen
333e69585b Loc Ipc: add routine to notify sender that receiver has restarted
When qrtr socket receiver has restarted, need a way to inform
sender so sender can restart the service discovery process

Change-Id: Id665da649e0962691277124b42f1ee9cc6160fa8
CRs-fixed: 2445555
2019-06-20 10:10:08 -07:00
qctecmdr
98896798de Merge "GnssAdapter: add support for ppe fix type and calibration info" 2019-06-19 22:31:20 -07:00
qctecmdr
a261aa0493 Merge "Gnss adapter: do not send out empty sv measurement to Android" 2019-06-19 13:00:04 -07:00
qctecmdr
a029b65f78 Merge "Redesign Inet sender and receiver" 2019-06-19 11:55:14 -07:00
Mike Cailean
acf2aeaec8 NV is not set to blank when SUPL_HOST is set to NONE
Change-Id: Ib53e30dde614a9bee348a41083e177a5999dcfc1
CRs-fixed: 2473365
2019-06-19 10:43:16 -07:00
Wei Chen
49f7e15a81 GnssAdapter: add support for ppe fix type and calibration info
(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-19 15:03:39 +05:30
Dante Russo
32801f1c0c Do not clear callbacks during gnss hidl cleanup()
This allows HAL to request locations into AFW
even when Location is disabled in Settings.

Change-Id: I0c1d4fef55937f3094980dad29ff09d212f541fe
CRs-fixed: 2475037
2019-06-18 17:11:03 -07:00
Mike Cailean
90a01875da Add B2A-Q support in NMEA messages
Change-Id: Ia58935df454e7bfffa91416159e5c9ba4fe1ac75
CRs-fixed: 2474222
2019-06-18 16:42:58 -07:00
haohuang
aadad65840 Fix SV in use mask isn't correct for multiband SVs
Fix the issue that SV in use mask isn't set correct
in reportSv function in GnssAdapter.cpp.

Change-Id: Ie90fc4b938875817b105745cf531ee8dc31e74bc
CRs-Fixed: 2473868
2019-06-18 18:22:50 +08:00
qctecmdr
16c0367c5b Merge "GnssLocationInfoNotification: move basic location info to top" 2019-06-17 20:10:13 -07:00
Hoss Zhou
c3d1f8fb94 fix nmea GSV/GNS/GSA issues
1. remove blank GSV sentences
2. modify GNS mode indicator field
3. modify GSA mode field, remove blank sentence

Change-Id: Ibe196328938e2674f0100224209cef0b229328e1
CRs-Fixed: 2460129
2019-06-18 10:54:28 +08:00
Nilesh Gharde
ff98fecec4 AP Default Setting CRM Builds SM8250 and Beyond
loc_service_mask should not be populated with any
SAP(Basic or Premium) value if the SAP value is 
MODEM_DEFAULT.

Change-Id: I665bb90e4a814dc31bed566cc0b2ecffcfae52ac
CRs-Fixed: 2457874
2019-06-13 22:38:59 -07:00
Bhavna Sharma
61fd929fb6 Redesign Inet sender and receiver
Redesign the inet sender and receiver to
be able to accomodate udp and tcp types into
one base class.

CRs-Fixed: 2429102

Change-Id: Ie138839a5c8842813c99053816e06e4ed7f6b314
2019-06-12 14:06:08 -07:00
Wei Chen
061857b079 GnssLocationInfoNotification: move basic location info to top
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-12 13:51:52 -07:00
Wei Chen
de13fc3868 Gnss adapter: do not send out empty sv measurement to Android
Do not send out empty sv measurement to Android

Change-Id: I4ab807d647be8b44f3f48a3ad5e5ca7f33ac2485
CRs-fixed: 2439716
2019-06-12 12:11:05 -07:00
qctecmdr
aadcd5f7dc Merge "SV used in fix satellites are not updated for B2A-Q" 2019-06-12 11:44:32 -07:00
qctecmdr
3bbb89aee1 Merge "Fix to use explicit sized structures" 2019-06-11 10:55:39 -07:00