Commit graph

1687 commits

Author SHA1 Message Date
Mike Cailean
8890e5aeee When sending GPS LOCK status to XTRA mask NFW bit
Change-Id: Icdc26358627abf4097dcb8dc4fb35af039fd921d
CRs-fixed: 2444862
2019-05-01 10:17:26 -07:00
Wei Chen
3e62412eb0 Gnss interface: add position injection for extended info
Add position injection interface with extended info, e.g.:
GnssLocationInfoNotification

Change-Id: I6ba8f1111d1511c7071fe358687a478b26e8f9a4
CRs-fixed: 2417450
2019-05-01 09:45:04 -07:00
Wei Chen
81f47db3f2 GPS: add numSVUsedInFix in location api
Add a count in location API for number of SV used in fix

Change-Id: I3b396170948fa6c93a88d0fdcf17e28eff5ed5dc
CRs-fixed: 2425599
2019-04-30 15:13:26 -07:00
Wei Chen
0330e79d4a Gnss adapter: fill in proper std deviation in position report
The north and east standard deviation fields are not filled in
properly in position report

Change-Id: Ic243a6862f3fa4e723b507d391c9a904d65d3c30
CRs-fixed: 2426344
2019-04-30 14:54:33 -07:00
Mike Cailean
d6d55a4948 Send SUPL notification to the framework for
E911 sessions only (older modems)

Change-Id: Icd317f6e4b042c31afc63011596689d5fb35135f
CRs-fixed: 2441292
2019-04-30 09:27:41 -07:00
qctecmdr
9b1ce88872 Merge "Update proxyAppPackageName field in nfw notification" 2019-04-29 14:26:04 -07:00
Deepthi Gunturi
6f1fd95a20 Initial target definition for atoll
Change-Id: I6d997cb20da93a407b4948c97723d2ae97f70f6a
CRs-Fixed: 2441728
2019-04-29 03:40:33 -07:00
qctecmdr
91ec23aa12 Merge "ApnTypeMask is not returned when USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL" 2019-04-28 18:36:16 -07:00
Dante Russo
9d0d8e3c72 Default value of SUPL_ES to enable
SUPL_ES by default needs to be enabled,
since it is no longer set by AFW at runtime.

CRs-fixed: 2444734
Change-Id: I370a3e0f8ab6905b47629c4076f645b26ff8acc9
2019-04-25 15:27:40 -07:00
Mike Cailean
27198a2102 ApnTypeMask is not returned when
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL

CRs-fixed: 2437315

Change-Id: If042451e94a651dafb542cdad9d419f08c85ba56
2019-04-25 10:49:03 -07:00
Nilesh Gharde
0802cf6644 LTE Positioning Profile is not reflecting properly
Added the GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT flag.
So that the NV value of LPP profile provided in gps.conf can be refelected
to modem.

Change-Id: I6429a4a79cb83d5991c8a1328ab5daa4ef49619a
CRs-fixed: 2439533
2019-04-24 21:43:27 -07:00
Mike Cailean
cd1031a520 Update proxyAppPackageName field in nfw notification
Change-Id: I993a6d9227b03626bc254675944df28cc578a6c7
CRs-fixed: 2437418
2019-04-23 15:01:14 -07:00
Ankur Sharma
e3240df27f Changing the CaPath for SSL certificates
Modifying the CaPath for SSL certs in
gps.conf to be used by xtra-daemon while
estalishing SSL connection for downloading
XTRA file.

Change-Id: Id360b21fdda8b539568cbd505c16e99ee1ad6816
CRs-Fixed: 2432184
2019-04-22 23:14:25 -07:00
qctecmdr
3d5fbdc402 Merge "LocIpc derefs nullptr if stopping blocking listener" 2019-04-22 10:24:24 -07:00
qctecmdr
1fb5c0caf5 Merge "Streamline measurements processing" 2019-04-17 20:45:32 -07:00
Mike Cailean
9f37d8bb51 Clean up several functions as a result of a
better approach in GARDEn app for Privacy

Change-Id: Ia030385d5ee26305ea041258cc3fb664735983be
CRs-fixed: 2424763
2019-04-16 14:54:22 -07:00
Hoss Zhou
a65b865a1b modify NMEA according to version 4.11
1.modify BDS/QZSS/NavIC system id and signal id
2.add GNS sentence

Change-Id: I81c5c6806e8c4cdf2aee32415b0cfa3a3b1b0cd1
CRs-Fixed: 2432122
2019-04-15 19:03:16 -07:00
Hoss Zhou
313284b9dd fix CFI issues
Change-Id: I5b94804c381f1d26196ddf6dee97adbee36dc128
CRs-Fixed: 2353650
2019-04-10 13:52:29 +08:00
Kevin Tang
07db01d9af LocIpc derefs nullptr if stopping blocking listener
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-08 13:36:36 -07:00
Mike Cailean
b95f05cc73 Streamline measurements processing
Consolidate the translation from QMI LOC into one
place in order to minimize traffic

Change-Id: I73c2f25e94544a2b69d4227c63548ef11b6a4d91
CRs-fixed: 2430668
2019-04-08 11:17:31 -07:00
Saurabh Srivastava
a6c61bde6a Temp compilation fix for LKG integration
CRs-Fixed: 2429432
Change-Id: I8141c5583cddbd0118b9e13ddf07534ee890372c
2019-04-04 16:31:53 +05:30
qctecmdr
3e614934d1 Merge "Integer overflow leading to a buffer overflow" 2019-04-01 22:11:09 -07:00
qctecmdr
449fdb73e2 Merge "Add HAL support for network handle" 2019-03-31 20:11:37 -07:00
Hoss Zhou
582337b7fb add sufficient delimiter for blank GSA sentence
Change-Id: I96e7dec543a4bfb326e5c72d9e943a57d183cf87
CRs-Fixed: 2416152
2019-03-31 09:27:09 -07:00
qctecmdr
93c1afca1c Merge "Batching and Geofence moved to GNSS HAL" 2019-03-30 13:17:26 -07:00
qctecmdr
af57363c10 Merge "Move Legacy targets to GNSS HIDL 2.0" 2019-03-28 14:06:12 -07:00
Dante Russo
5c1e23cf02 Batching and Geofence moved to GNSS HAL
Addition of BatchingAdapter and GeofenceAdapter.
Deprecated Background LOC QMI Client and renamed
LocDualContext renamed to LocContext.
Moved some common Adapter functions into LocAdapterBase.
Added Distance Based Tracking logic into GnssAdapter.
Addition of flp.conf
Deprecated GEOFENCE capabilities configuration in
gps.conf

CRs-fixed: 2342200
Change-Id: I6b6257c4cf296e5a8c56bc0b149e4de77cf6cdf9
2019-03-27 14:54:49 -07:00
Nilesh Gharde
b47ee496e5 Integer overflow leading to a buffer overflow
Added a length check in to avoid integer overflow
in dataConnOpenCommand and set APN methods.
As the APN name is like few 100bytes so
using the micro defined int gps_extended_c.h

Change-Id: Idb5ebbf2e3647de5fa07673f248c0c256d6c1b52
CRs-fixed: 2419292
2019-03-27 07:02:19 -07:00
Kevin Tang
546e88fc04 Add HAL support for network handle
Add HAL support for modifications to the
network status information passed in.

Change-Id: I99defc6a419d9f21ce74469a1aa016cc7fade4a5
CRs-Fixed: 2397433
2019-03-26 18:40:03 -07:00
qctecmdr Service
01869b4004 Merge "Improved Location NI Privacy" 2019-03-22 17:36:07 -07:00
qctecmdr Service
52c9486628 Merge "GTP: Remove GTP-WAA and GTP AP CELL feature." 2019-03-21 21:52:24 -07:00
Mike Cailean
b046241ec2 Improved Location NI Privacy
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-21 14:57:28 -07:00
qctecmdr Service
a0488d7d56 Merge "Unified Vendor - Launch only android.hardware.gnss" 2019-03-21 10:19:25 -07:00
qctecmdr Service
3774ea547f Merge "clear magic number for GPS_LOCK" 2019-03-21 08:02:45 -07:00
qctecmdr Service
07f0e8f970 Merge "Add unlink for corresponding link in measurements for GNSS HIDL 2.0" 2019-03-20 14:33:57 -07:00
qctecmdr Service
76af4dfb50 Merge "enable gnss integer-overflow sanitization" 2019-03-20 14:06:30 -07:00
Dante Russo
4b9768f091 Move Legacy targets to GNSS HIDL 2.0
Legacy targets will support a subset of
GNSS HIDL 2.0 features, but will need to
stay on GNSS 1.0 Measurements

CRs-fixed: 2423825
Change-Id: I1fc5134dbf4b8fc6b1e76cced3acfeaf8bf8d581
2019-03-20 13:53:08 -07:00
Saurabh Srivastava
8bd22760a6 Unified Vendor - Launch only android.hardware.gnss
Launch android.hardware.gnss HIDL service for both
vendor enhanced and non-enhanced platforms

Change-Id: Ia9cb9ef52d42c788bcaa73bc1001ed8d90f7c755
CRs-Fixed: 2402833
2019-03-21 01:20:22 +05:30
qctecmdr Service
7d34cea4ca Merge "Remove tracking redundanty and assure min interval" 2019-03-19 11:16:00 -07:00
Hoss Zhou
1839fb1140 clear magic number for GPS_LOCK
Change-Id: I3c1b5a18ab16382a436098f8af541bf7f125783e
CRs-fixed: 2370451
2019-03-18 16:33:52 -07:00
Mike Cailean
3a0ae431d5 Add unlink for corresponding link in measurements
for GNSS HIDL 2.0

Change-Id: I7423ed1c515745f2f4a0ea4f5495e86eea4de0ee
CRs-fixed: 2417264
2019-03-18 09:47:44 -07:00
qctecmdr Service
a7953cd7ea Merge "Merge remote-tracking branch 'quic/location.lnx.4.0' into HEAD" 2019-03-18 06:13:41 -07:00
Hoss Zhou
8d7df7b2c1 enable gnss integer-overflow sanitization
Change-Id: I27359843e5f22353771b8843012f110cbd704094
CRs-Fixed: 2341063
2019-03-18 10:51:24 +08:00
Kevin Tang
5a9cc5ae72 Merge remote-tracking branch 'quic/location.lnx.4.0' into HEAD
CRs-fixed: 2414738

Change-Id: Ic8d1cd5bb37d1ad26c2749e46be279942e28ac05
2019-03-14 17:43:05 -07:00
Saurabh Srivastava
ac8ce3c7d5 Dummy impl for injectBestLocation_2_0
Change-Id: I37a96ee52dea4bce92bb741bf0be79279ec86d67
2019-03-13 16:47:02 +05:30
qctecmdr Service
1b6ad38fb9 Merge "allow a isMaster client in LocAdapterProxyBase ctor" 2019-03-12 18:52:28 -07:00
qctecmdr Service
de7fa11dd6 Merge "util to get get symbol from a library" 2019-03-11 09:50:59 -07:00
Yingjie Wang
6b687ef48e Combine updateConfig in GnssAdapter
Adjust setConfigCommand and gnssUpdateConfigCommand
to use one gnssUpdateConfig method.

CRs-fixed: 2402752
Change-Id: I6a9ec474bd9ffed52edd2422574af0f6d41493c4
2019-03-08 17:38:07 +08:00
Yingjie Wang
d0825b64ef Fix makefile error for Gnss Hidl
Correct the if-else-endif logic error.

Change-Id: I5d3fa711e911642def689308f73c19f0c46ab632
CRs-fixed: 2411979
2019-03-08 10:23:52 +08:00
Kevin Tang
b082fd7f7b allow a isMaster client in LocAdapterProxyBase ctor
This would allow GeofenceAdapter become a master
adapter, in case it gets created before GnssAdapter.

Change-Id: I9eb55b7fac9970fd11d4e34bdf7cf824e5b1c586
CRs-Fixed: 2403691
2019-03-06 11:57:33 -08:00