Commit graph

3566 commits

Author SHA1 Message Date
Dante Russo
52b413eb44 hidl gnss hal 1.0 implementation
Overwrites the default hidl gnss hal implementation
to interface directly to LocationAPI

CRs-fixed: 1112712

Change-Id: I3385911956c0c6c457202a8584b108046c587b36
2017-02-28 16:47:59 -08:00
Dante Russo
c85c8ff673 LocationAPI implementation
Implementation of LocationAPI into gps hal
to be a common API that is called into by platform
specific APIs.

Change-Id: Ie5a7bd217d4ae2175ad49e6aca2fb6ecd4702f3b
CRs-fixed: 1112712
2017-02-28 16:47:50 -08:00
Baili Feng
4bb940c067 Decouple libhardware usage on LE for gnss models
Remove all usage of gps.h and fused_location.h
from all gnss models except gps/fpl hal librarys

Change-Id: I90ba233c6bbe5c31a4cacceeb981833719c871f2
CRs-Fixed: 1067953
2017-02-14 16:51:32 -08:00
Ruifeng Xu
3fe22406e1 update gps.conf
added XTRA CA path to gps.conf to support
https in XC2.0. assigned the default value.

Change-Id: Ie9216a98621762484ab98f9e8459b63223707448
2017-02-09 00:22:55 -08:00
David Ng
f871943dc5 Add explicit liblog dependency
Explicitly add liblog as dependency for modules that use Android
logging.  Also remove obsolete build flag.

Change-Id: I91a458b44ff34c91a8f6875f5c3e931f620c613a
2016-12-08 23:53:21 -08:00
Linux Build Service Account
539c17f2bb Promotion of location.lnx.2.0-00040.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1073101   Ie784dad73ae8d6d91cf4cb87efe938af9015a7a2   Reinitialize dataservice client post SSR
1080013   I98f3f4e7836de86f9025bae446cdeac6d1eb5862   Mark SV used_in_fix based on the most recent position re

Change-Id: Ia31751b3b8909737b8c8d50eb96b1331da8f3c05
CRs-Fixed: 1080013, 1073101
2016-11-08 19:12:59 -07:00
Linux Build Service Account
12a382a391 Promotion of qcom-devices.lnx.1.0-00023.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1083516   Ie47d04e7b3d2cb271580efcffcb968c034323629   Enable logdumpd only for userdebug non-perf builds

Change-Id: I43cf263926eebe5bd5928ceec0d2e683c7b3da79
CRs-Fixed: 1083516
2016-11-07 22:12:24 -08:00
Linux Build Service Account
da6012a581 Merge "Reinitialize dataservice client post SSR" 2016-11-04 18:35:33 -07:00
Harikrishnan Hariharan
1de8a18031 Reinitialize dataservice client post SSR
On SSR invoke dsi_release() and dsi_init(Mode_SSR) to recover
data call functionality post SSR.

Change-Id: Ie784dad73ae8d6d91cf4cb87efe938af9015a7a2
CRs-Fixed: 1073101
2016-11-03 01:45:29 -07:00
Linux Build Service Account
5086ce0b46 Promotion of location.lnx.2.0-00036.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
994048   I5654f9ab417ffea86ed8653731df1ca47cf7e733   Combo Provider 2.0

Change-Id: I1c8510b9fc885ba899ee8c7e00376e4813a2ef59
CRs-Fixed: 994048
2016-10-28 07:32:38 -06:00
Harikrishnan Hariharan
90a730d179 Mark SV used_in_fix based on the most recent position report
When SV report comes, mark used_in_fix based on the most recent
position report.

Change-Id: I98f3f4e7836de86f9025bae446cdeac6d1eb5862
CRs-Fixed: 1080013
2016-10-28 02:54:43 -07:00
padarshr
d7585b2a92 Enable logdumpd only for userdebug non-perf builds
This change will enable logdump daemon only for
userdebug non-perf builds. On other builds, it will
be disabled by default.

Change-Id: Ie47d04e7b3d2cb271580efcffcb968c034323629
2016-10-27 23:04:33 -07:00
Linux Build Service Account
d3e4d3963d Promotion of qcom-devices.lnx.1.0-00019.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1070527   I7dc506d897c111533b51b2fb6543ee70c8049867   Removing net_raw and adding inet permissions for imscmse

Change-Id: I9eef24156f141b52e374796b390005595786861a
CRs-Fixed: 1070527
2016-10-26 07:06:13 -06:00
Linux Build Service Account
22bc3b7851 Promotion of location.lnx.2.0-00035.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1036937   I71d5cb847fc6a66227137b2b424f7e631e09cae8   Platform specific changes for QDR

Change-Id: I8400106acae6e4161b476c1c963321396a7cca05
CRs-Fixed: 1036937
2016-10-26 07:03:19 -06:00
Linux Build Service Account
c75f2c6908 Merge "Combo Provider 2.0" 2016-10-25 15:05:55 -07:00
Linux Build Service Account
13cd52056a Promotion of location.lnx.2.0-00031.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1075611   Id2f560d88294ab98441005bf54be799af9ed3f8b   Remove USE_EMERGENCY_FOR_EMERGENCY_SUPL and SUPL_ES in g

Change-Id: If06378be6221054018daa142f785b5a50d998477
CRs-Fixed: 1075611
2016-10-14 11:56:20 -06:00
Zhao Fan
b28cd12773 Removing net_raw and adding inet permissions for imscmservice
Change-Id: I7dc506d897c111533b51b2fb6543ee70c8049867
CRs-Fixed: 1070527
2016-10-13 05:14:17 -07:00
Naresh Munagala
dad844f3e0 Platform specific changes for QDR
Added platform specific abstraction apis
for timer modules

Change-Id: I71d5cb847fc6a66227137b2b424f7e631e09cae8
2016-10-12 22:37:13 -07:00
Dante Russo
2110e55809 Remove USE_EMERGENCY_FOR_EMERGENCY_SUPL and SUPL_ES in gps.conf
These values can be configured per SIM so they should
not be overriden by gps.conf by default. They're left
commented out so that it can still be uncommented to
allowing overriding SIM configuration for testing
purposes

Change-Id: Id2f560d88294ab98441005bf54be799af9ed3f8b
CRs-fixed: 1075611
2016-10-09 03:11:52 -07:00
Linux Build Service Account
8d2aa30c47 Promotion of location.lnx.2.0-00028.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1055201   Ia27fe0d805f53bf17c86f7c27eaaedd960101370   NMEA report indication to ULP

Change-Id: I50fee4ba0c0c4e49f0df611acde244e80ad85f56
CRs-Fixed: 1055201
2016-09-28 14:13:33 -06:00
Linux Build Service Account
b5e12aed8a Promotion of qcom-devices.lnx.1.0-00010.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1066074   I90f609c38c570842d54abe1d6b411a4ce71bd0d1   msmfalcon_64: init.target.rc: create /persist/bms with p

Change-Id: I401839c19f2dff5f99c85f0efbf13942ab2c2507
CRs-Fixed: 1066074
2016-09-27 07:35:45 -06:00
Linux Build Service Account
558cdc748e Promotion of location.lnx.2.0-00027.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1067691   I6736e5f4320d4c35bc5bbb8272b45e14f66988c3   GTP WWAN should work even if MSA/MSB is not enabled

Change-Id: Iad7fb41532d49d205831a79a8fc926cc02673702
CRs-Fixed: 1067691
2016-09-23 20:31:03 -06:00
Ashay Jaiswal
6a4a51b364 msmfalcon_64: init.target.rc: create /persist/bms with proper permissions
libhealthd.msm will store some battery parameters to a file under
/persist/bms. Create a directory with necessary permissions.

CRs-Fixed: 1066074
Change-Id: I90f609c38c570842d54abe1d6b411a4ce71bd0d1
2016-09-20 23:31:49 -07:00
Naresh Munagala
dcd5af2915 NMEA report indication to ULP
Enabled NMEA report indication to to ulp

Change-Id: Ia27fe0d805f53bf17c86f7c27eaaedd960101370
CRs-Fixed: 1055201
2016-09-21 10:28:28 +05:30
Linux Build Service Account
12c5b2ceae Promotion of qcom-devices.lnx.1.0-00008.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1065922   Ib879d6bf20224fe10362de6da492adb33bd5bccf   msmfalcon_64: Add oem-services to PRODUCT_BOOT_JARS

Change-Id: Id8c0e8488dfaf4eaff4b093d4527d3725d7cdade
CRs-Fixed: 1065922
2016-09-18 06:50:57 -06:00
Harikrishnan Hariharan
0ac11fcd84 GTP WWAN should work even if MSA/MSB is not enabled
GTP WWAN should work even if MSA/MSB is not enabled in
capabilities. Removing wifi_nif we don't need it any
more.

Change-Id: I6736e5f4320d4c35bc5bbb8272b45e14f66988c3
CRs-Fixed: 1067691
2016-09-16 21:23:41 -07:00
Linux Build Service Account
c220d2d1e7 Promotion of location.lnx.2.0-00025.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1058559   I4e5c3f09c097b835d8a685a8b465eb86dd06cd7a   Fix race condition when GPS app is closed around an SSR

Change-Id: I33e8ccbabe078be7cf522a79c84278219acbda93
CRs-Fixed: 1058559
2016-09-14 10:50:27 -07:00
Arusha Goyal
dd8626a6c6 msmfalcon_64: Add oem-services to PRODUCT_BOOT_JARS
oem-services is required in order for the APSS to wait for modem
shutdown during device shutdown. The path to this jar file will
now be added to BOOTCLASSPATH which will allow the frameworks to
call into it

Change-Id: Ib879d6bf20224fe10362de6da492adb33bd5bccf
2016-09-14 11:16:53 +05:30
Linux Build Service Account
e87c4e2344 Promotion of location.lnx.2.0-00024.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1051996   I2cd436d61bab09386aaa813e85591e02f560b41e   Generate GAL NMEA sentences at AP side
1060111   I621e99f5be5524a58f416ff2e1325d921c8d0546   Adding TARGET_NO_GNSS check while creating LocApi
1055694   Ieb2c765a9f1999e9fbc9f69c3b59cef3c03913a8   Update SV ID field as 16 bits in GnssSvPolynomial

Change-Id: I366b3befb342e22d46f01c6eac135a927232dad6
CRs-Fixed: 1051996, 1055694, 1060111
2016-09-09 19:02:20 -06:00
Dante Russo
5b4dbc2e55 Combo Provider 2.0
Part of overall Combo Provider 2.0 changes.
This fix changes getBestWwanPosition API from
sync to async, as the QMI API used can now take
longer to produce a position

CRs-fixed: 994048
Change-Id: I5654f9ab417ffea86ed8653731df1ca47cf7e733
2016-08-30 14:28:36 -07:00
Harikrishnan Hariharan
3493ce50e4 Fix race condition when GPS app is closed around an SSR event
Fix race condition to get avoid stuck in modem if GPS application
is closed right around a SSR event.This fix will prevent resume the
session once HAL loc_stop has been called.

Change-Id: I4e5c3f09c097b835d8a685a8b465eb86dd06cd7a
CRs-Fixed: 1058559
2016-08-30 05:32:50 -07:00
Saurabh Srivastava
7424ac78ed Adding TARGET_NO_GNSS check while creating LocApi
In case target is APQ no WGR, create a dummy LocApiBase
instance.

Change-Id: I621e99f5be5524a58f416ff2e1325d921c8d0546
CRs-Fixed: 1060111
2016-08-29 07:53:38 -07:00
Linux Build Service Account
81d0cbb94d Merge "Generate GAL NMEA sentences at AP side" 2016-08-26 13:55:06 -07:00
Baili Feng
b707704985 Generate GAL NMEA sentences at AP side
Generate GAGSV sentence at AP side when
NMEA Provider is set to AP in gps.conf

Change-Id: I2cd436d61bab09386aaa813e85591e02f560b41e
CRs-fixed: 1051996
2016-08-25 14:22:28 +08:00
padarshr
7b1fafe185 Use msmfalcon_defconfig for kernel compilation.
This change is to use the newly created msmfalcon_defconfig
for msmfalcon_64 target kernel compilation.

Change-Id: I946bb39941ed284f20ae4da5f00c662bfbd6e2b3
2016-08-22 16:17:33 +05:30
Santoshkumar Zalake
43bb1d24be Update SV ID field as 16 bits in GnssSvPolynomial
Change SV ID field in GnssSvPolynomial structure
to support new constellations

Change-Id: Ieb2c765a9f1999e9fbc9f69c3b59cef3c03913a8
CRs-Fixed: 1055694
2016-08-19 04:02:29 -07:00
Linux Build Service Account
5b1ad2d8ee Promotion of location.lnx.2.0-00019.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1048907   I5a847c82170fba3847c0132d196cd27a3757b662   Upgrade LE.UM.0.0 to use location.lnx.2.0-rel
1034009   Ib7efe6b3c68677d60cdcc4efebfc04c4db39de32   deprecate legacy NTP time download

Change-Id: Ib741c17c36b2b311bf8df3c1dee5d82a7cad146c
CRs-Fixed: 1034009, 1048907
2016-08-18 03:32:49 -06:00
Linux Build Service Account
ee55d0b1ef Merge "Upgrade LE.UM.0.0 to use location.lnx.2.0-rel" 2016-08-15 21:56:39 -07:00
Linux Build Service Account
0e26e313b6 Promotion of location.lnx.2.0-00018.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1033674   I1561518c4f4b0c52ab934feb2fa43e9078c91d86   Adding new target APQ-NoWGR handling
1047042   I4a053e13a571f4a373899559d82e144f9bc82582   Remove deprecated api LocEngExtPowerConfig
1038783   I44ade2e48124f992a04956ed8c34218e73face81   Add field for location clients to chose position sharing

Change-Id: Ie37d7e6c2b453e415ef92f8aea732a6a2b39c540
CRs-Fixed: 1047042, 1038783, 1033674
2016-08-12 05:48:28 -06:00
Linux Build Service Account
07440a9459 Merge "deprecate legacy NTP time download" 2016-08-12 01:41:48 -07:00
Linux Build Service Account
6b75bdb230 Merge "Add field for location clients to chose position sharing option" 2016-08-09 09:00:52 -07:00
Ruifeng Xu
a8fcfc76fd deprecate legacy NTP time download
deprecate boot up NTP time download
in legacy XTRA downloader

Change-Id: Ib7efe6b3c68677d60cdcc4efebfc04c4db39de32
CRs-fixed: 1034009
2016-08-08 16:37:38 -07:00
Linux Build Service Account
2e3d64352b Merge "Remove deprecated api LocEngExtPowerConfig" 2016-08-05 05:32:49 -07:00
Linux Build Service Account
2c2293e181 Promotion of location.lnx.2.0-00017.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1013650   Ie02b1284cc5c24f526c82c52ff1ecda066655aac   Added debug messages for SV Info
1036070   Ie9ecc851fe53814f4a3e386b503b61bbca9d156d   Fixed SSR issue for GNSS Measurements

Change-Id: I6a5aed80747df4e67d95264b69e349993d6aaea2
CRs-Fixed: 1036070, 1013650
2016-08-05 01:08:25 -06:00
Baili Feng
f58ae31d1b Remove deprecated api LocEngExtPowerConfig
LocEngExtPowerConfig is no longer necessary.
Remove it from libloc_eng.

CRs-fixed: 1047042
Change-Id: I4a053e13a571f4a373899559d82e144f9bc82582
2016-08-04 10:40:00 +08:00
Bhavna Sharma
cd13c6577d Upgrade LE.UM.0.0 to use location.lnx.2.0-rel
Fix LE compilation issues on location.lnx.2.0-rel
branch.
CRs-Fixed: 1048907

Change-Id: I5a847c82170fba3847c0132d196cd27a3757b662
2016-08-01 16:11:33 -07:00
Saurabh Srivastava
c01fcd784c Adding new target APQ-NoWGR handling
Adding handling for new ro.baseband value provided by target team
If the target does not have WGR (GPS Receiver), we return NULL
GPS and FLP interfaces.

CRs-Fixed: 1033674
Change-Id: I1561518c4f4b0c52ab934feb2fa43e9078c91d86
2016-07-29 11:45:28 +05:30
Linux Build Service Account
7124f9f705 Merge "Fixed SSR issue for GNSS Measurements" 2016-07-25 20:44:08 -07:00
Mike Cailean
4dd7e1c561 Fixed SSR issue for GNSS Measurements
Fixed SSR (sub-system reset) issue when
GNSS Measurements where not available
after an SSR.

Change-Id: Ie9ecc851fe53814f4a3e386b503b61bbca9d156d
CRs-fixed: 1036070
2016-07-25 10:13:02 -07:00
Mike Cailean
fae54f18a2 Added debug messages for SV Info
Added constellation field in the debug messages for SV Info

Change-Id: Ie02b1284cc5c24f526c82c52ff1ecda066655aac
CRs-fixed: 1013650
2016-07-25 09:38:13 -07:00