summaryrefslogtreecommitdiff
path: root/gps/android/GnssMeasurement.h
diff options
context:
space:
mode:
authorGuaiYiHu <guaiyihu@foxmail.com>2019-01-22 21:24:19 +0800
committerIsaac Chen <tingyi364@gmail.com>2019-09-01 16:44:11 +0200
commitd15d528204bd14c319317b7c6f31784897056d0a (patch)
tree8bc23f04089a537b3b52e3f052068449a27eebd5 /gps/android/GnssMeasurement.h
parent5fd4d9f756d4ed53088c959df2c23f7ab1ddc808 (diff)
wayne-common: Update GPS from LA.UM.7.2.r1-05800-sdm660.0
Change-Id: Idaec6889200d67c776222aebecdc9c0255e2b963 Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'gps/android/GnssMeasurement.h')
-rw-r--r--gps/android/GnssMeasurement.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/gps/android/GnssMeasurement.h b/gps/android/GnssMeasurement.h
index 373f0d0..4247dbf 100644
--- a/gps/android/GnssMeasurement.h
+++ b/gps/android/GnssMeasurement.h
@@ -18,21 +18,21 @@
* limitations under the License.
*/
-#ifndef ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
-#define ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
+#ifndef ANDROID_HARDWARE_GNSS_V1_0_GNSSMEASUREMENT_H
+#define ANDROID_HARDWARE_GNSS_V1_0_GNSSMEASUREMENT_H
-#include <android/hardware/gnss/1.1/IGnssMeasurement.h>
+#include <android/hardware/gnss/1.0/IGnssMeasurement.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
namespace android {
namespace hardware {
namespace gnss {
-namespace V1_1 {
+namespace V1_0 {
namespace implementation {
-using ::android::hardware::gnss::V1_1::IGnssMeasurement;
-using ::android::hardware::gnss::V1_1::IGnssMeasurementCallback;
+using ::android::hardware::gnss::V1_0::IGnssMeasurement;
+using ::android::hardware::gnss::V1_0::IGnssMeasurementCallback;
using ::android::hardware::Return;
using ::android::hardware::Void;
using ::android::hardware::hidl_vec;
@@ -52,11 +52,6 @@ struct GnssMeasurement : public IGnssMeasurement {
const sp<V1_0::IGnssMeasurementCallback>& callback) override;
Return<void> close() override;
- // Methods from ::android::hardware::gnss::V1_1::IGnssMeasurement follow.
- Return<GnssMeasurement::GnssMeasurementStatus> setCallback_1_1(
- const sp<IGnssMeasurementCallback>& callback,
- bool enableFullTracking) override;
-
private:
struct GnssMeasurementDeathRecipient : hidl_death_recipient {
GnssMeasurementDeathRecipient(sp<GnssMeasurement> gnssMeasurement) :
@@ -70,14 +65,13 @@ struct GnssMeasurement : public IGnssMeasurement {
private:
sp<GnssMeasurementDeathRecipient> mGnssMeasurementDeathRecipient = nullptr;
sp<V1_0::IGnssMeasurementCallback> mGnssMeasurementCbIface = nullptr;
- sp<IGnssMeasurementCallback> mGnssMeasurementCbIface_1_1 = nullptr;
MeasurementAPIClient* mApi;
};
} // namespace implementation
-} // namespace V1_1
+} // namespace V1_0
} // namespace gnss
} // namespace hardware
} // namespace android
-#endif // ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
+#endif // ANDROID_HARDWARE_GNSS_V1_0_GNSSMEASUREMENT_H