From d15d528204bd14c319317b7c6f31784897056d0a Mon Sep 17 00:00:00 2001 From: GuaiYiHu Date: Tue, 22 Jan 2019 21:24:19 +0800 Subject: wayne-common: Update GPS from LA.UM.7.2.r1-05800-sdm660.0 Change-Id: Idaec6889200d67c776222aebecdc9c0255e2b963 Signed-off-by: Isaac Chen --- gps/android/Gnss.h | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'gps/android/Gnss.h') diff --git a/gps/android/Gnss.h b/gps/android/Gnss.h index 4c0c8b0..03ef170 100644 --- a/gps/android/Gnss.h +++ b/gps/android/Gnss.h @@ -18,8 +18,8 @@ * limitations under the License. */ -#ifndef ANDROID_HARDWARE_GNSS_V1_1_GNSS_H -#define ANDROID_HARDWARE_GNSS_V1_1_GNSS_H +#ifndef ANDROID_HARDWARE_GNSS_V1_0_GNSS_H +#define ANDROID_HARDWARE_GNSS_V1_0_GNSS_H #include #include @@ -30,7 +30,7 @@ #include #include -#include +#include #include #include @@ -40,7 +40,7 @@ namespace android { namespace hardware { namespace gnss { -namespace V1_1 { +namespace V1_0 { namespace implementation { using ::android::hardware::hidl_array; @@ -95,16 +95,6 @@ struct Gnss : public IGnss { Return> getExtensionGnssDebug() override; - // Methods from ::android::hardware::gnss::V1_1::IGnss follow. - Return setCallback_1_1(const sp& callback) override; - Return setPositionMode_1_1(V1_0::IGnss::GnssPositionMode mode, - V1_0::IGnss::GnssPositionRecurrence recurrence, - uint32_t minIntervalMs, uint32_t preferredAccuracyMeters, - uint32_t preferredTimeMs, bool lowPowerMode) override; - Return> getExtensionGnssMeasurement_1_1() override; - Return> getExtensionGnssConfiguration_1_1() override; - Return injectBestLocation(const GnssLocation& location) override; - // These methods are not part of the IGnss base class. GnssAPIClient* getApi(); Return setGnssNiCb(const sp& niCb); @@ -137,7 +127,6 @@ struct Gnss : public IGnss { GnssAPIClient* mApi = nullptr; sp mGnssCbIface = nullptr; - sp mGnssCbIface_1_1 = nullptr; sp mGnssNiCbIface = nullptr; GnssConfig mPendingConfig; GnssInterface* mGnssInterface = nullptr; @@ -146,9 +135,9 @@ struct Gnss : public IGnss { extern "C" IGnss* HIDL_FETCH_IGnss(const char* name); } // namespace implementation -} // namespace V1_1 +} // namespace V1_0 } // namespace gnss } // namespace hardware } // namespace android -#endif // ANDROID_HARDWARE_GNSS_V1_1_GNSS_H +#endif // ANDROID_HARDWARE_GNSS_V1_0_GNSS_H -- cgit v1.2.3