Commit graph

1660 commits

Author SHA1 Message Date
Bhavna Sharma
2ba3f04c57 LocIpc redesign
LocIpc now doesn't have any impelementation of sockets,
but a framework that provides threading for any sockets
that can be wrapped into LocIpcSender and LocIpcRever
APIs.

Also updated XtraSystemStatusObserver to using the new
LocIpc and LocIpcLocalSender and LocIpcLocalRecver.

Change-Id: I506c77198f9ce1e7d4dfd5e596dc0ac21d928e34
CRs-Fixed: 2443124
2019-05-09 07:34:22 -07:00
qctecmdr
b527967057 Merge "Age Second field in GNSS debug data is incorrect" 2019-05-09 05:51:19 -07:00
qctecmdr
7e44d36979 Merge "Process CP_MTLR in emergency in different conditions" 2019-05-09 05:22:10 -07:00
qctecmdr
2cdb08453e Merge "VINTF Manifest fragment for android.hardware.gnss" 2019-05-09 03:53:24 -07:00
qctecmdr
f5634ec21a Merge "Gnss adapter: retrieve pdop, hdop and vdop from extended struct" 2019-05-09 02:42:42 -07:00
qctecmdr
9391fe52a4 Merge "GPS: add numSVUsedInFix in location api" 2019-05-09 01:39:27 -07:00
Dante Russo
8f9d530d90 VINTF Manifest fragment for android.hardware.gnss
To replace entry in device specific vendor manifest

Change-Id: I330f4ef2658074218b5d2c105decaf6cfd959d3f
CRs-fixed: 2444785
2019-05-06 17:22:39 -07:00
Wei Chen
2dab397e35 Gnss adapter: retrieve pdop, hdop and vdop from extended struct
For none-SPE engine, pdop, hdop and vdop are set in the extDop
struct. Update code to retrieve it from there.

Change-Id: I698e960cd90f3d72210cfd0a885080f1546c0c7d
Crs-fixed: 2439750
2019-05-06 10:25:44 -07:00
Mike Cailean
b884edb7c8 Set yearOfHw to 2019 if Location Privacy feature
is supported

Change-Id: If5ee31603491c83652082ce295abfcf9c9fec511
CRs-fixed: 2446241
2019-05-06 10:12:52 -07:00
Vamana Thuniki
ce55313724 Enablement of location modules for lito
Change-Id: I24277533400f40d3a57b5176d53958dcd6b31a96
CRs-Fixed: 2443595
2019-05-06 12:39:02 +05:30
Wei Chen
e8c1730e91 GPS exteneded: add dir name and file prefix for ext ap client
Add directory to be reserved for hal daemon to keep track of
location client sitting on external application processor

Change-Id: I192fb011c786bab1752f0e604b86041a9f4cdc33
CRs-fixed: 2436612
2019-05-05 21:12:31 -07:00
qctecmdr
82c8af81ee Merge "SV "in-use" flags are not being set correctly for multiband enabled devices" 2019-05-04 19:20:02 -07:00
qctecmdr
9ddd6b1349 Merge "When sending GPS LOCK status to XTRA mask NFW bit" 2019-05-03 10:17:24 -07:00
Mike Cailean
aa95ca27f8 Process CP_MTLR in emergency in different conditions
Prcess CP_MTLR based on a new configuration item

Change-Id: I9351f574f0b1a4bad2b88f2627ab188ac1522e92
CRs-fixed: 2444954
2019-05-03 09:09:03 -07:00
qctecmdr
f4553e1de0 Merge "Initial target definition for atoll" 2019-05-03 04:10:16 -07:00
qctecmdr
99db93452d Merge "Default value of SUPL_ES to enable" 2019-05-02 16:30:29 -07:00
qctecmdr
9b6103421b Merge "feat: Add timeuncNs in PQWM1 message" 2019-05-02 14:14:59 -07:00
qctecmdr
697ee570fe Merge "GNSS HIDL 2.0 updates" 2019-05-02 13:45:05 -07:00
Mike Cailean
76e761da5a SV "in-use" flags are not being set correctly for
multiband enabled devices

Change-Id: I875b535063c6aa6ecb713c7b6abff123d8402d62
CRs-fixed: 2443087
2019-05-01 17:03:17 -07:00
Mike Cailean
bb5cbeed24 Age Second field in GNSS debug data is incorrect
Change-Id: Iec28f9dbbc3b9cfe9a5d06e1f198a02cf09047be
CRs-fixed: 2434780
2019-05-01 13:46:49 -07:00
Katz Yamada
2c71ec9e02 feat: Add timeuncNs in PQWM1 message
Add timeuncNs field in PQWM1 of debug NMEA
message generated by modem. SystemStaus to
parse it. GnssDebug adds this value in
timeunc when it generates GNSS debug report.

Change-Id: I649915f95730dc8db22e8b4cb88008edc6d8b9d0
CRs-Fixed: 2236950
2019-05-01 13:42:21 -07:00
Dante Russo
e7c30fa882 GNSS HIDL 2.0 updates
Implement new GNSS HIDL 2.0 functions and callbacks
gnssRequestLocationCb_2_0, getExtensionGnssBatching_2_0,
getExtensionGnssDebug_2_0, getDebugData_2_0,
injectBestLocation_2_0, gnssSetCapabilitiesCb_2_0,
gnssLocationCb_2_0, gnssSvStatusCb_2_0, and
gnssMeasurementCb_2_0.
Fix VTS test failures from deprecated functions
setGpsLock, setSuplEs, V1:0::getExtensionAGnss, and
V1.0::getExtensionGnssNi

CRs-fixed: 2433957
Change-Id: Id10cb41c32d6c50144b0501eb2d2eaf9c9a9aaec
2019-05-01 12:40:40 -07:00
qctecmdr
4d6bb2da93 Merge "Send SUPL notification to the framework for E911 sessions only (older modems)" 2019-05-01 11:37:59 -07:00
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