Commit graph

1447 commits

Author SHA1 Message Date
Linux Build Service Account
90072944fe Merge "Add vertical uncertainity field" 2017-05-03 03:46:58 -07:00
Linux Build Service Account
7a7838b718 Merge "Enable LOGV for gps directory" 2017-05-02 14:54:09 -07:00
Ruifeng Xu
477ff7eae5 remove inet group
inet group shouldn't be with gps hal daemon.
this change removed it.

Change-Id: Ibc8faa20d7778c30ae0c640fdcceee28bae123e2
CRs-fixed: 2040891
2017-05-01 10:32:13 -07:00
Linux Build Service Account
f4f9b5c5a6 Merge "Prevent print of uninitialized string" 2017-04-29 14:48:03 -07:00
Linux Build Service Account
4b35976787 Merge "Registering event mask on AGPS Init" 2017-04-29 14:48:02 -07:00
Linux Build Service Account
9ffa1ace5d Merge "Add handling of GNSS NI TYPE EMERGENCY" 2017-04-29 14:48:02 -07:00
Linux Build Service Account
e5f59f0fb2 Merge "SystemStatus - Add ephemeris detail info in Gnss Debug interface" 2017-04-28 21:34:55 -07:00
Linux Build Service Account
9f59a9e76a Merge "Add group radio to gnss hal process" 2017-04-28 21:34:38 -07:00
Kevin Tang
222094ce77 Prevent print of uninitialized string
If uninitialized string gets printed, this can
cause a crash.

Bug: 37218688
CRs-fixed: 2032144
Change-Id: I7c34b6f84f414410c52fc59f73053892060b0874
2017-04-28 16:31:46 -07:00
Kevin Tang
514f373338 Registering event mask on AGPS Init
Registering Server Connection event mask with
Modem when AGPS Init is recevied from framework.

Change-Id: I70ee1bef79d23ada44f13d71378a4fb64d69ce84
CRs-Fixed: 2033863
2017-04-28 16:26:43 -07:00
Kevin Tang
08efa3c6c2 Add handling of GNSS NI TYPE EMERGENCY
Network Initiated type emergency was not being
handled because it was missing from gnss hal api.
Hardcoded value until it is added in gnss hal api.

Change-Id: If0e538c3083e351bf642765eae88404ce6e0ae1b
CRs-fixed: 2037093
2017-04-28 16:21:53 -07:00
Yingjie Wang
86ad4f8f44 Enable LOGV for gps directory
Define LOG_NDEBUG 0 to enable VERBOSE log messages in
hardware/qcom/gps

Change-Id: I954cad757f13d6bac99b7a06625daa0ace84a17e
CRs-fixed: 2025673
2017-04-28 18:24:07 +08:00
Yingjie Wang
c553418ce7 Re-enable delete_aiding_data for user build
Allow delete aiding data request from HAL API for
user build.

Change-Id: Icfafe07b4217e482e4ca402b9a1da5ca70e1ff01
CRs-fixed: 2034718
2017-04-28 17:25:06 +08:00
Bhavna Sharma
9c212abde1 Add vertical uncertainity field
Add vertical uncertainity field to
LocGpsLocation and report whenever
possible.

CRs-Fixed: 2028902

Change-Id: I2610b0eaf527b516e7a1cac958b82795f535cc06
2017-04-27 22:25:31 -07:00
Katz Yamada
3eef3d7a6c SystemStatus - Add ephemeris detail info in Gnss Debug interface
Add ephemeris detail info in Gnss Debug interface. This new info
also comes up in NMEA stings. Requires a new QMI_LOC interface
that supports extended NMEA string TLV.

Change-Id: I5dc566fb210c06a443ed6c27e064377851ce83a5
CRs-Fixed: 2024594
2017-04-27 13:46:09 -07:00
Linux Build Service Account
6cf01fac92 Merge "connectity events for XC2.0 daemonize" 2017-04-27 07:13:38 -07:00
Linux Build Service Account
9d80214901 Merge "Send ENGINE_OFF when stop tracking" 2017-04-26 23:16:01 -07:00
Dante Russo
19f6501f03 Add group radio to gnss hal process
Needed for dsi connection for supl es
Bug: 37409476
CRs-fixed: 2037256
Change-Id: Ieb84ab29349021e2ea07d6baf07a6c8a37c183cf
2017-04-26 11:27:55 -07:00
Ruifeng Xu
488aa4f196 connectity events for XC2.0 daemonize
send connectity events to XTRA client
via local socket.

Change-Id: Icb9f04eca61a0f41d9628d95e458bc7f7be56c50
CRs-fixed: 2023484
2017-04-26 11:04:56 -07:00
Linux Build Service Account
e3ea5ee4e0 Merge "Move gnss hal to default instance" 2017-04-22 20:28:52 -07:00
Linux Build Service Account
88b6d20d11 Merge "Move gnss hal to vendor partition" 2017-04-22 20:28:51 -07:00
Linux Build Service Account
3d10d87437 Merge "Remove owner of gps hal modules" 2017-04-22 20:28:50 -07:00
Dante Russo
9a957ef66e Move gnss hal to default instance
gnss hal must use the default instance
instead of gnss instance for binderization

CRs-fixed: 2020778
Change-Id: I96c203751891728542f06bede3d1ee8282c7878b
2017-04-17 15:17:24 -07:00
Dante Russo
891005e20c Move gnss hal to vendor partition
gnss hal is moved to vendor partition
for binerization enablement

CRs-fixed: 2020778

Change-Id: I8de91d0418ef4b9a1c778c45fe02d27d42c46c97
2017-04-17 15:14:57 -07:00
Dante Russo
9e232dda61 Remove owner of gps hal modules
Owner does not need to be specified for
this project.

Change-Id: I918a767ed3b83e134c5e63ded5b25070b3399ac8
2017-04-17 15:12:16 -07:00
Linux Build Service Account
711a98a6bd Merge "ulp proxy set capabilities race condition" 2017-04-17 10:46:51 -07:00
Linux Build Service Account
ee94e7d555 Merge "SystemStatus - Add reported UTC timestamp in report" 2017-04-13 10:55:47 -07:00
Katz Yamada
3b9f65652b Fix crash at gnss bugreport caused by empty report
Adding an empty check for gnss time information before
generating a gnss bugreport to avoid null object access.

Bug: 37259715

Change-Id: Ic507acbcc8b5949c4304ad76a3032add5893d099
CRs-Fixed: 2032932
2017-04-12 17:15:41 -07:00
Katz Yamada
f7a8f2cded SystemStatus - Add reported UTC timestamp in report
Add reported UTC timestamp field in systemstatus' report
data structure. It indicates the system UTC time when the
information was last received from provider such as modem.

Change-Id: I31beb64958c980242ea65fb9a602e18985ad17e1
CRs-Fixed: 2012926
2017-04-11 16:12:59 -07:00
Kevin Tang
bbc6601d7f ulp proxy set capabilities race condition
It is possible that when GnssAdapter first sets capabilities
on ulp proxy, it is just a dummy. So it is necessary to do
this when there is a new ulp proxy project received.

Change-Id: Iee033bd780c132f7bcc2d98b5b2091ce9c9a2410
CRs-Fixed: 2032088
2017-04-11 13:40:47 -07:00
Linux Build Service Account
f3a58cea24 Merge "Do not send debug NMEA to ulp" 2017-04-10 17:13:52 -07:00
Naresh Munagala
2b7f0b434d fix crash issue while deleting adapters
crash was observed while deleting gnss, flp and geofence adapters.
solution is not to delete the Adapter in the deinitialize function

Change-Id: Ia260dd6f2c532111b82b621a3640d6ef834bb671
CRs-Fixed: 2030458
2017-04-07 10:52:41 +05:30
Dante Russo
d48c19e8f0 Fix GnssDebug with new AOSP changes
New AOSP changes have modified GnssDebug
HIDL API, so changes are needed to fix
compilation

Change-Id: Ia1543a8475ac9366131e58b138577f37e91f0592
2017-04-06 08:21:31 -07:00
Baili Feng
909d752d60 Send ENGINE_OFF when stop tracking
fix typo in function onStopTrackingCb,
send ENGINE_OFF instead of ENGINE_ON

Change-Id: I0e4a73f25283cf172caeaa74e3bc385020b660ff
CRs-fixed: 2025876
2017-04-06 15:56:54 +08:00
Linux Build Service Account
6d08089e6d Merge "Fix NI Request Event" 2017-04-05 14:49:05 -07:00
Linux Build Service Account
c65609bf1c Merge "Fix svCount in --GSV nmea sentence" 2017-04-05 14:48:41 -07:00
Dante Russo
36f8446032 Fix NI Request Event
GnssAdatper::requestNiNotifyEvent function is not
overriding LocAdatperBase::requestNiNotigyEvent
because of slightly different parameters

Change-Id: Ib3e6b562c437e47fba2a086d47c887f2efce7637
CRs-fixed: 2027710
2017-04-04 16:10:38 -07:00
Kevin Tang
8b98a565a5 Do not send debug NMEA to ulp
Checking in GnssAdapter::reportNmeaEvent to see if the
incoming nmea is debug, in which case we do not route
that to ULP. Debug NMEA is only for SystemStatus
consumption.

Change-Id: Ifb60b9a643ad6aeb732fcaf5a68f868cb55cd88a
CRs-Fixed: 2027134
2017-03-31 19:39:01 -07:00
Linux Build Service Account
905d69ef10 Merge "added new ulp type for raw gnss data" 2017-03-31 11:21:26 -07:00
Naresh Munagala
edac52fa39 added new ulp type for raw gnss data
raw gnss daa type is added to address the
gnss raw fixes to remote clients

Change-Id: I5ebc4a8f10bd52de4e59e29dcf28d6375df02d73
CRs-Fixed: 2007050
2017-03-31 14:24:46 +08:00
Linux Build Service Account
64cc3ec9e7 Merge "Convert GnssConfig parameters to enum" 2017-03-30 22:12:20 -07:00
Baili Feng
72e7c5da26 Fix svCount in --GSV nmea sentence
Calculate sv count for each kind of constellation.

Change-Id: If0ffa7f07245ea8b1a5bcc9933f6244f0598c575
CRs-Fixed: 2015049
2017-03-31 12:52:39 +08:00
Linux Build Service Account
2b8d001437 Merge "HLOS implementation for E911 LPPe BT/UBP feature" 2017-03-30 17:35:24 -07:00
Harikrishnan Hariharan
e581b62977 HLOS implementation for E911 LPPe BT/UBP feature
HLOS implementation for feature - E911 LPPe BT/UBP for
SUPL and LPP CP.

Change-Id: I6ec7a3ff8aaf91383832753af2d0e406938c3884
CRs-Fixed: 1088449
2017-03-30 14:46:54 +08:00
Baili Feng
ce66a81a3d Fix nmea sentence generation method of --GSV
Generate --GSV sentences from SVs in view
instead of generate them from SVs used in fix

Change-Id: I1de113e86b987b6ea01b50d800e5e13e7277baff
CRs-Fixed: 2015049
2017-03-30 13:30:16 +08:00
Baili Feng
59fce4feb5 Convert GnssConfig parameters to enum
Convert parameters to enum values instead of static_cast

CRs-Fixed: 2025873
Change-Id: Ief9cf31bee9b9772350d5191cdd45853f0f42131
2017-03-30 09:57:35 +08:00
Naresh Munagala
06e6d68aee move nmea generation logic inside utils
NMEA generation logic needs to be reused across the
interface boundaries. Moved this logic inside utils.

Change-Id: Icb5c6fbc38b178c5edea468d26286e21749bfbfb
CRs-Fixed: 1098734
2017-03-29 18:22:08 +08:00
Linux Build Service Account
a760fcb28c Merge "correct the conversion of ConstellationType" 2017-03-28 21:31:04 -07:00
Linux Build Service Account
f248b1253c Merge "LOC logging macro changes" 2017-03-28 11:25:49 -07:00
Baili Feng
4fc5a782cf correct the conversion of ConstellationType
map GNSS_SV_TYPE_GPS to GnssConstellationType::GPS

Bug: 36644020
CRs-fixed: 2025520
Change-Id: I28fe4b5aff17495f50b0ae7fb0465bbd82a66627
2017-03-28 13:59:28 +08:00