Commit graph

1526 commits

Author SHA1 Message Date
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
Dante Russo
e22619060b Remove tracking redundanty and assure min interval
A tracking interval should not be less than 100ms
If tracking interval or power mode is updated to
the same value, then start tracking should not be
sent to the modem again.
Fix some issues with multiplex with powerMode

Change-Id: I91e5d0577569b96179a5337af0fc91641dc126db
CRs-fixed: 2190953
2019-02-26 12:33:25 -08:00
Kevin Tang
a928d60188 util to get get symbol from a library
Added dlGetSymFromLib() to provide a utility that dlopen()'s
a library, and get the pointer to a symbol name.

Change-Id: I770eaef18a61aaa458833b3ca778f44b299585f5
CRs-Fixed: 2404939
2019-02-25 16:36:26 -08:00
Dante Russo
90310754f8 Add module android.hardware.gnss@2.0 for build
CRs-fixed: 2404857
Change-Id: I873ce21e1fb4924a1f3bb2e7162791f6d69be51d
2019-02-25 11:15:42 -08:00
Ashish Dhiman
ce952c486a GTP: Remove GTP-WAA and GTP AP CELL feature.
Remove GTP-WAA and GTP_AP_CELL feature as GTP will
support only third party GTP WIFI and legacy GTP
WWAN solution.

CRs-Fixed: 2384327
Change-Id: Id3613bde1716542027978af30084f5e997f28b00
2019-02-25 15:35:47 +05:30
qctecmdr Service
d31be64700 Merge "Enablement of location modules for kona" 2019-02-24 18:29:01 -08:00
Mike Cailean
4149abcc2d Measurement changes in GNSS HIDL2.0
CRs-fixed: 2385560

Change-Id: I5f4548e6df0cb8ac3f2762020dfdbb49a9022854
2019-02-21 21:34:40 -08:00
Dante Russo
1d1d0e5722 Enablement of location modules for kona
CRs-fixed: 2403289
Change-Id: Iab273dcb9c0783557df15b1361c08862201bd8ce
2019-02-21 17:05:51 -08:00
Mike Cailean
e78728024d SUPL over WiFi changes in GNSS HIDL2.0
Change-Id: I20a2071fd748dea16cd55aa120bc307ebc0645a9
CRs-fixed: 2342192
2019-02-21 13:38:28 -08:00
qctecmdr Service
c051c7d112 Merge "GNSS HAL 2.0 implementation" 2019-02-21 09:20:53 -08:00
Naresh Munagala
ae8db6cf15 add remove api for message queue
Change-Id: I278eca90ebb50e291a1b9076caf46f41a074b1d7
CRs-Fixed: 2338245
2019-02-20 08:37:19 -08:00
qctecmdr Service
c0142799d0 Merge "Adding gps_vendor_board.mk" 2019-02-20 08:09:57 -08:00