diff options
author | Haamed Gheibi <haamed@google.com> | 2022-02-04 13:47:26 -0800 |
---|---|---|
committer | Haamed Gheibi <haamed@google.com> | 2022-02-04 13:55:47 -0800 |
commit | f99b35c293439db0b7436b47b939eb8c7bf21b51 (patch) | |
tree | 6cd9b0719554809447c845616317cca5409b93ae /gnss/aidl/default/Gnss.h | |
parent | a028272dee9220e6810cbdcfb2328c34f8afe4c2 (diff) | |
parent | 332dead340bb196c6ba3f6978e8fb53966c74bf7 (diff) |
Merge TP1A.220120.003
Change-Id: Ie5eba313ee102e452f5f96942ed2f3a7bb4e8f01
Diffstat (limited to 'gnss/aidl/default/Gnss.h')
-rw-r--r-- | gnss/aidl/default/Gnss.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnss/aidl/default/Gnss.h b/gnss/aidl/default/Gnss.h index 384c8629a2..478dc94e4d 100644 --- a/gnss/aidl/default/Gnss.h +++ b/gnss/aidl/default/Gnss.h @@ -18,12 +18,14 @@ #include <aidl/android/hardware/gnss/BnAGnss.h> #include <aidl/android/hardware/gnss/BnGnss.h> +#include <aidl/android/hardware/gnss/BnGnssAntennaInfo.h> #include <aidl/android/hardware/gnss/BnGnssBatching.h> #include <aidl/android/hardware/gnss/BnGnssConfiguration.h> #include <aidl/android/hardware/gnss/BnGnssDebug.h> #include <aidl/android/hardware/gnss/BnGnssMeasurementInterface.h> #include <aidl/android/hardware/gnss/BnGnssPowerIndication.h> #include <aidl/android/hardware/gnss/BnGnssPsds.h> +#include <aidl/android/hardware/gnss/measurement_corrections/BnMeasurementCorrectionsInterface.h> #include <aidl/android/hardware/gnss/visibility_control/BnGnssVisibilityControl.h> #include <atomic> #include <mutex> @@ -69,6 +71,12 @@ class Gnss : public BnGnss { ndk::ScopedAStatus getExtensionGnssVisibilityControl( std::shared_ptr<android::hardware::gnss::visibility_control::IGnssVisibilityControl>* iGnssVisibilityControl) override; + ndk::ScopedAStatus getExtensionGnssAntennaInfo( + std::shared_ptr<IGnssAntennaInfo>* iGnssAntennaInfo) override; + ndk::ScopedAStatus getExtensionMeasurementCorrections( + std::shared_ptr<android::hardware::gnss::measurement_corrections:: + IMeasurementCorrectionsInterface>* iMeasurementCorrections) + override; std::shared_ptr<GnssConfiguration> mGnssConfiguration; std::shared_ptr<GnssPowerIndication> mGnssPowerIndication; @@ -79,6 +87,7 @@ class Gnss : public BnGnss { std::vector<IGnssCallback::GnssSvInfo> filterBlocklistedSatellites( std::vector<IGnssCallback::GnssSvInfo> gnssSvInfoList); void reportGnssStatusValue(const IGnssCallback::GnssStatusValue gnssStatusValue) const; + std::unique_ptr<GnssLocation> getLocationFromHW(); static std::shared_ptr<IGnssCallback> sGnssCallback; |