diff options
author | Kevin Tang <zhikait@codeaurora.org> | 2014-10-31 00:08:03 -0700 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2014-11-07 13:45:55 -0800 |
commit | af0c0cc82699ddd8d50bf8a2fa60c4bc923a4ebe (patch) | |
tree | ab03ac3e2054a32bc63df8f32b5f719c1867fc09 /core/LocApiBase.h | |
parent | 2344717512130b1c2778320fa48c95e37abd8832 (diff) | |
download | gps-af0c0cc82699ddd8d50bf8a2fa60c4bc923a4ebe.tar.gz |
GNSS measurement
Implementation of GNSS Measurements support.
In GPS HAL, Only GPS Measurements report
will be collected from modem.
bug: 16630595
Change-Id: Ief4368099df4ff573ad1a764f4156d63685e936d
Diffstat (limited to 'core/LocApiBase.h')
-rw-r--r-- | core/LocApiBase.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/LocApiBase.h b/core/LocApiBase.h index 2d2b887..46950e6 100644 --- a/core/LocApiBase.h +++ b/core/LocApiBase.h @@ -121,6 +121,7 @@ public: void reportDataCallOpened(); void reportDataCallClosed(); void requestNiNotify(GpsNiNotification ¬ify, const void* data); + void reportGpsMeasurementData(GpsData &gpsMeasurementData); // downward calls // All below functions are to be defined by adapter specific modules: @@ -220,6 +221,16 @@ public: -1 on failure */ virtual int getGpsLock(void); + + /* + Update gps reporting events + */ + virtual int updateRegistrationMask(LOC_API_ADAPTER_EVENT_MASK_T event, + loc_registration_mask_status isEnabled); + /* + Check if the modem support the service + */ + virtual bool gnssConstellationConfig(); }; typedef LocApiBase* (getLocApi_t)(const MsgTask* msgTask, |