diff options
author | Wei Chen <weic@codeaurora.org> | 2019-07-18 15:50:55 -0700 |
---|---|---|
committer | Yingjie Wang <yingjiewang@codeaurora.org> | 2019-08-23 12:56:14 +0800 |
commit | 1a1232c5949192d555f3e69aa7427dfcdbca7134 (patch) | |
tree | 544fa0835c775b97f02b93ebb7f0ba42128a3f77 /core/EngineHubProxyBase.h | |
parent | 5ee0b62e8c53ba6a57300541dbbae6b2e9cf9a8a (diff) | |
download | gps-1a1232c5949192d555f3e69aa7427dfcdbca7134.tar.gz |
GPS hw: report ppe/spe report with combined report
When DRE/PPE are also running in the system, in addition to
reporitng the combined final output, add the support to
report the unmodified SPE/PPE report received from the engine
Change-Id: Icb636824da32b175030dfcd2b270ac8b500ff75b
CRs-fixed: 2487580
Diffstat (limited to 'core/EngineHubProxyBase.h')
-rw-r--r-- | core/EngineHubProxyBase.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/core/EngineHubProxyBase.h b/core/EngineHubProxyBase.h index 4239a50..ec881f6 100644 --- a/core/EngineHubProxyBase.h +++ b/core/EngineHubProxyBase.h @@ -103,12 +103,8 @@ public: } }; -typedef std::function<void(const UlpLocation& ulpLocation, - const GpsLocationExtended& locationExtended, - enum loc_sess_status status, - LocPosTechMask techMask, - bool fromEngineHub)> - GnssAdapterReportPositionEventCb; +typedef std::function<void(int count, EngineLocationInfo* locationArr)> + GnssAdapterReportEnginePositionsEventCb; typedef std::function<void(const GnssSvNotification& svNotify, bool fromEngineHub)> @@ -119,11 +115,12 @@ typedef std::function<void(const GnssAidingDataSvMask& svDataMask)> // potential parameters: message queue: MsgTask * msgTask; // callback function to report back dr and ppe position and sv report -typedef EngineHubProxyBase* (getEngHubProxyFn)(const MsgTask * msgTask, - IOsObserver* osObserver, - GnssAdapterReportPositionEventCb positionEventCb, - GnssAdapterReportSvEventCb svEventCb, - GnssAdapterReqAidingDataCb reqAidingDataCb); +typedef EngineHubProxyBase* (getEngHubProxyFn)( + const MsgTask * msgTask, + IOsObserver* osObserver, + GnssAdapterReportEnginePositionsEventCb positionEventCb, + GnssAdapterReportSvEventCb svEventCb, + GnssAdapterReqAidingDataCb reqAidingDataCb); } // namespace loc_core |